summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2021-10-26 17:17:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-02-16 17:30:03 -0500
commit97437f475c5be7804592bc258e3936aa318895a8 (patch)
tree3b1f520f02bca6dbc5aac4b6d3c386a98a45372b /drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
parent35c27d9578356762e7421f16d61b91ab46dfabee (diff)
downloadlinux-97437f475c5be7804592bc258e3936aa318895a8.tar.bz2
drm/amdgpu/gmc10: add support for GC 10.3.7
Set gfxhub function and configure VM for GC block. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
index 2fc8761ede1a..436374fc1f98 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
@@ -714,6 +714,7 @@ static void gmc_v10_0_set_gfxhub_funcs(struct amdgpu_device *adev)
case IP_VERSION(10, 3, 4):
case IP_VERSION(10, 3, 5):
case IP_VERSION(10, 3, 3):
+ case IP_VERSION(10, 3, 7):
adev->gfxhub.funcs = &gfxhub_v2_1_funcs;
break;
default:
@@ -894,6 +895,7 @@ static int gmc_v10_0_sw_init(void *handle)
case IP_VERSION(10, 3, 4):
case IP_VERSION(10, 3, 5):
case IP_VERSION(10, 3, 3):
+ case IP_VERSION(10, 3, 7):
adev->num_vmhubs = 2;
/*
* To fulfill 4-level page support,