drm/amdgpu: add GMC11 support for GC 11.0.2
authorFlora Cui <flora.cui@amd.com>
Fri, 15 Apr 2022 14:18:35 +0000 (10:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:51:56 +0000 (16:51 -0400)
Add initial support for GC 11.0.2.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Flora Cui <flora.cui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

index f3adcdd..57a59eb 100644 (file)
@@ -698,6 +698,7 @@ static int gmc_v11_0_sw_init(void *handle)
 
        switch (adev->ip_versions[GC_HWIP][0]) {
        case IP_VERSION(11, 0, 0):
+       case IP_VERSION(11, 0, 2):
                adev->num_vmhubs = 2;
                /*
                 * To fulfill 4-level page support,