aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorSreekant Somasekharan <sreekant.somasekharan@amd.com>2024-05-10 10:07:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-05-17 17:40:37 -0400
commit5d32b7e77b892c1eada532f37841f504175e4b64 (patch)
treea1ee312f9a2813d97a6b3dab889bc509723a39ca /drivers/gpu/drm/amd
parentdrm/amdgpu: fix documentation errors in gmc v12.0 (diff)
downloadlinux-5d32b7e77b892c1eada532f37841f504175e4b64.tar.gz
linux-5d32b7e77b892c1eada532f37841f504175e4b64.zip
drm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function
GFX1201 was missed in the commit below. Adding it in. Fixes: 628e1ace2379 ("drm/amdkfd: mark GFX12 system and peer GPU memory mappings as MTYPE_NC") Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@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')
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_svm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
index b1ec7ef844ab..28c2c1b66226 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
@@ -1250,6 +1250,7 @@ svm_range_get_pte_flags(struct kfd_node *node,
}
break;
case IP_VERSION(12, 0, 0):
+ case IP_VERSION(12, 0, 1):
if (domain == SVM_RANGE_VRAM_DOMAIN) {
if (bo_node != node)
mapping_flags |= AMDGPU_VM_MTYPE_NC;