drm/amdgpu/gmc11: initialize GMC for GC 11.5.0 memory support
authorPrike Liang <Prike.Liang@amd.com>
Fri, 14 Jul 2023 20:13:27 +0000 (16:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 Aug 2023 19:00:39 +0000 (15:00 -0400)
Initialize vram attribute and VMHUB for GC 11.5.0.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

index e3b76fd28d158ca3633078050458576b12fffe75..596571c94529613bbf89d2d372a58d88fdc8ff54 100644 (file)
@@ -781,6 +781,7 @@ static int gmc_v11_0_sw_init(void *handle)
        case IP_VERSION(11, 0, 2):
        case IP_VERSION(11, 0, 3):
        case IP_VERSION(11, 0, 4):
+       case IP_VERSION(11, 5, 0):
                set_bit(AMDGPU_GFXHUB(0), adev->vmhubs_mask);
                set_bit(AMDGPU_MMHUB0(0), adev->vmhubs_mask);
                /*