From: Hawking Zhang <hawking.zh...@amd.com>

reuse mmhub v1_8 ras functuion

Signed-off-by: Hawking Zhang <hawking.zh...@amd.com>
Reviewed-by: Asad Kamal <asad.ka...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c 
b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 39e008e3f0af1..48f1b9cf1f882 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -1542,6 +1542,7 @@ static void gmc_v9_0_set_mmhub_ras_funcs(struct 
amdgpu_device *adev)
                adev->mmhub.ras = &mmhub_v1_7_ras;
                break;
        case IP_VERSION(1, 8, 0):
+       case IP_VERSION(1, 8, 1):
                adev->mmhub.ras = &mmhub_v1_8_ras;
                break;
        default:
-- 
2.47.0

Reply via email to