]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: add GFXHUB IP v11.5.2 support
authorTim Huang <Tim.Huang@amd.com>
Tue, 14 May 2024 06:11:22 +0000 (14:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2024 22:05:03 +0000 (18:05 -0400)
This patch is to add GFXHUB 11.5.2 support.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@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

index cad8837838346fdd08cdedef3d10d45a9034d0c6..b88a6fa173b3628904ea1f8778bb9b0b18589b76 100644 (file)
@@ -592,6 +592,7 @@ static void gmc_v11_0_set_gfxhub_funcs(struct amdgpu_device *adev)
                break;
        case IP_VERSION(11, 5, 0):
        case IP_VERSION(11, 5, 1):
+       case IP_VERSION(11, 5, 2):
                adev->gfxhub.funcs = &gfxhub_v11_5_0_funcs;
                break;
        default:
@@ -754,6 +755,7 @@ static int gmc_v11_0_sw_init(void *handle)
        case IP_VERSION(11, 0, 4):
        case IP_VERSION(11, 5, 0):
        case IP_VERSION(11, 5, 1):
+       case IP_VERSION(11, 5, 2):
                set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask);
                set_bit(AMDGPU_MMHUB0(0), adev->vmhubs_mask);
                /*