Skip to content

Commit

Permalink
drm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function
Browse files Browse the repository at this point in the history
GFX1201 was missed in the commit below. Adding it in.

Fixes: 628e1ac ("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>
  • Loading branch information
Sreekant Somasekharan authored and Alex Deucher committed May 17, 2024
1 parent 736f911 commit 5d32b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdkfd/kfd_svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5d32b7e

Please sign in to comment.