This initializes MMHUB IP version 3.3.2.

Signed-off-by: Tim Huang <tim.hu...@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zh...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c  | 1 +
 drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c 
b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index 5047b80ab60c..e48b0439f6df 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
@@ -579,6 +579,7 @@ static void gmc_v11_0_set_mmhub_funcs(struct amdgpu_device 
*adev)
                break;
        case IP_VERSION(3, 3, 0):
        case IP_VERSION(3, 3, 1):
+       case IP_VERSION(3, 3, 2):
                adev->mmhub.funcs = &mmhub_v3_3_funcs;
                break;
        default:
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c 
b/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c
index b4ce3375d3fd..bc3d6c2fc87a 100644
--- a/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c
@@ -103,6 +103,7 @@ mmhub_v3_3_print_l2_protection_fault_status(struct 
amdgpu_device *adev,
        switch (amdgpu_ip_version(adev, MMHUB_HWIP, 0)) {
        case IP_VERSION(3, 3, 0):
        case IP_VERSION(3, 3, 1):
+       case IP_VERSION(3, 3, 2):
                mmhub_cid = cid < ARRAY_SIZE(mmhub_client_ids_v3_3) ?
                            mmhub_client_ids_v3_3[cid][rw] :
                            cid == 0x140 ? "UMSCH" : NULL;
-- 
2.43.0

Reply via email to