On Tue, Jan 20, 2026 at 11:02 AM Lazar, Lijo <[email protected]> wrote: > > <ping> > > Will reword the description as "KIQ access is not guaranteed to work > reliably under all reset situations."
Acked-by: Alex Deucher <[email protected]> > > Thanks, > Lijo > > On 16-Jan-26 10:23 AM, Lijo Lazar wrote: > > KIQ access won't work under reset. Avoid flooding dmesg with HDP flush > > failure messages. > > > > Signed-off-by: Lijo Lazar <[email protected]> > > --- > > drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > > b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > > index 6abe5103a78d..2bc305b9aa26 100644 > > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c > > @@ -1298,7 +1298,8 @@ int amdgpu_kiq_hdp_flush(struct amdgpu_device *adev) > > failed_unlock: > > spin_unlock_irqrestore(&kiq->ring_lock, flags); > > failed_kiq_hdp_flush: > > - dev_err(adev->dev, "failed to flush HDP via KIQ\n"); > > + if (!amdgpu_in_reset(adev)) > > + dev_err(adev->dev, "failed to flush HDP via KIQ\n"); > > return r < 0 ? r : -EIO; > > } > > >
