[PATCH 3/3] drm/amdgpu: Use warn to replace error report

Emily Deng Emily.Deng at amd.com
Wed Aug 22 04:39:22 UTC 2018


When kiq flush fail, it could fallback to mmio flush, so don't report an
error, just a warning.

Signed-off-by: Emily Deng <Emily.Deng at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index f49f5f3..6214ad3 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -342,7 +342,7 @@ signed long  amdgpu_kiq_reg_write_reg_wait(struct amdgpu_device *adev,
 	return 0;
 
 failed_kiq:
-	pr_err("failed to invalidate tlb with kiq\n");
+	pr_warn("failed to invalidate tlb with kiq\n");
 	return r;
 }
 
-- 
2.7.4



More information about the amd-gfx mailing list