mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: Avoid excessive dmesg log
KIQ access is not guaranteed to work reliably under all reset situations. Avoid flooding dmesg with HDP flush failure messages. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -1298,7 +1298,8 @@ failed_undo:
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user