drm/amdgpu: add gmc v11 support for GC 11.0.4
authorYifan Zhang <yifan1.zhang@amd.com>
Wed, 12 Oct 2022 04:56:01 +0000 (12:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:36 +0000 (11:03 -0500)
Add gmc v11 support for GC 11.0.4.

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

index 96e52ec0fb69e83f8114f70a643ed7b25f0dddb6..4326078689cd698ef52137d44f1118da3938b6c0 100644 (file)
@@ -759,6 +759,7 @@ static int gmc_v11_0_sw_init(void *handle)
        case IP_VERSION(11, 0, 1):
        case IP_VERSION(11, 0, 2):
        case IP_VERSION(11, 0, 3):
+       case IP_VERSION(11, 0, 4):
                adev->num_vmhubs = 2;
                /*
                 * To fulfill 4-level page support,