<ping>

Will reword the description as "KIQ access is not guaranteed to work reliably under all reset situations."

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;
  }

Reply via email to