drm/amdgpu: add mmhub support for MMHUB 3.0.1
authorHuang Rui <ray.huang@amd.com>
Mon, 2 Aug 2021 02:21:08 +0000 (10:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 May 2022 14:36:14 +0000 (10:36 -0400)
Add the mmhub support for MMHUB 3.0.1.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mmhub_v3_0.c

index 682d784..bc11b2d 100644 (file)
@@ -109,6 +109,7 @@ mmhub_v3_0_print_l2_protection_fault_status(struct amdgpu_device *adev,
                status);
        switch (adev->ip_versions[MMHUB_HWIP][0]) {
        case IP_VERSION(3, 0, 0):
+       case IP_VERSION(3, 0, 1):
                mmhub_cid = mmhub_client_ids_v3_0_0[cid][rw];
                break;
        default: