aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSreekant Somasekharan <[email protected]>2024-05-10 10:07:58 -0400
committerAlex Deucher <[email protected]>2024-05-17 17:40:37 -0400
commit5d32b7e77b892c1eada532f37841f504175e4b64 (patch)
treea1ee312f9a2813d97a6b3dab889bc509723a39ca
parent736f911204ec30707c24817781de5f990a5f545d (diff)
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-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;