Commit 9d03d404 authored by Lijo Lazar's avatar Lijo Lazar Committed by Alex Deucher
Browse files

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: default avatarLijo Lazar <lijo.lazar@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e3a6eff9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1298,6 +1298,7 @@ int amdgpu_kiq_hdp_flush(struct amdgpu_device *adev)
failed_unlock:
	spin_unlock_irqrestore(&kiq->ring_lock, flags);
failed_kiq_hdp_flush:
	if (!amdgpu_in_reset(adev))
		dev_err(adev->dev, "failed to flush HDP via KIQ\n");
	return r < 0 ? r : -EIO;
}