]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amdgpu: add support for MMHUB IP version 3.4.2
authorPratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Fri, 19 Dec 2025 11:38:57 +0000 (17:08 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:50:28 +0000 (13:50 -0400)
This initializes MMHUB IP version 3.4.2.

Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c

index 9664b7b8f0dbbb771f30959a26d644a3e3f30bc4..41ec28bbff0524e69992ff91304b45dafc4bfbea 100644 (file)
@@ -585,6 +585,7 @@ static void gmc_v11_0_set_mmhub_funcs(struct amdgpu_device *adev)
        case IP_VERSION(3, 3, 1):
        case IP_VERSION(3, 3, 2):
        case IP_VERSION(3, 4, 0):
+       case IP_VERSION(3, 4, 2):
                adev->mmhub.funcs = &mmhub_v3_3_funcs;
                break;
        default:
index 98568c72c2bebc0b0f1ff6d2c8e57757029bbc7e..c3729ab9faa146358ffb69335e65cb99810360ef 100644 (file)
@@ -636,6 +636,7 @@ static void mmhub_v3_3_init_client_info(struct amdgpu_device *adev)
                                             ARRAY_SIZE(mmhub_client_ids_v3_3_1));
                break;
        case IP_VERSION(3, 4, 0):
+       case IP_VERSION(3, 4, 2):
                amdgpu_mmhub_init_client_info(&adev->mmhub,
                                             mmhub_client_ids_v3_4,
                                             ARRAY_SIZE(mmhub_client_ids_v3_4));