drm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function
authorSreekant Somasekharan <sreekant.somasekharan@amd.com>
Fri, 10 May 2024 14:07:58 +0000 (10:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 May 2024 21:40:37 +0000 (17:40 -0400)
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>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c

index b1ec7ef844abce27a6e795f3c107d011c2845c39..28c2c1b6622624600d5787f69f29491c481b08c8 100644 (file)
@@ -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;