[PATCH] drm/amd/amdgpu: temporary workaround to skip ras error for gc_v11_0_3
Kenneth Feng
kenneth.feng at amd.com
Thu Nov 3 03:39:15 UTC 2022
temporary workaround to skip ras error for gc_v11_0_3 until IFWI release later
Signed-off-by: Kenneth Feng <kenneth.feng at amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 84a76c36d9a7..dac236a6b3b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -4688,10 +4688,10 @@ static int gfx_v11_0_ras_late_init(void *handle)
ret = amdgpu_ras_feature_enable(adev, gfx_common_if, true);
if (ret)
- dev_err(adev->dev, "Failed to enable gfx11 ras feature\n");
+ dev_warn(adev->dev, "Failed to enable gfx11 ras feature\n");
kfree(gfx_common_if);
- return ret;
+ return 0;
}
static int gfx_v11_0_late_init(void *handle)
--
2.25.1
More information about the amd-gfx
mailing list