drm/amdgpu: add GFXHUB 11.5.1 support
authorYifan Zhang <yifan1.zhang@amd.com>
Thu, 4 Jan 2024 02:50:19 +0000 (10:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Feb 2024 15:14:17 +0000 (10:14 -0500)
This patch to add GFXHUB 11.5.1  support.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

index 998daa7..a3812f0 100644 (file)
@@ -587,6 +587,7 @@ static void gmc_v11_0_set_gfxhub_funcs(struct amdgpu_device *adev)
                adev->gfxhub.funcs = &gfxhub_v3_0_3_funcs;
                break;
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                adev->gfxhub.funcs = &gfxhub_v11_5_0_funcs;
                break;
        default:
@@ -748,6 +749,7 @@ static int gmc_v11_0_sw_init(void *handle)
        case IP_VERSION(11, 0, 3):
        case IP_VERSION(11, 0, 4):
        case IP_VERSION(11, 5, 0):
+       case IP_VERSION(11, 5, 1):
                set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask);
                set_bit(AMDGPU_MMHUB0(0), adev->vmhubs_mask);
                /*