summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c4
1 files 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 d799359565b8..96b9054c790c 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@ -4689,10 +4689,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)