summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
diff options
context:
space:
mode:
authorFlora Cui <flora.cui@amd.com>2022-04-15 10:18:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 16:51:56 -0400
commitf2754bf7e02bec8a6c147dfe7070dff07f40d4a9 (patch)
tree92aef1822d83d206015aa8bfcc67b7c30370c917 /drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
parent89ae779b496cf8a9ab009a8003a7ef8a12ca9f2d (diff)
downloadlinux-f2754bf7e02bec8a6c147dfe7070dff07f40d4a9.tar.bz2
drm/amdgpu: add GMC11 support for GC 11.0.2
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
index f3adcdd591b2..57a59eb95d29 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
@@ -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,