From: Alex Sierra <alex.sie...@amd.com>

GC 9.5.0 local memory MTYPE default should be set as RW.

Signed-off-by: Alex Sierra <alex.sie...@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehl...@amd.com>
Signed-off-by: Alex Deucher <alexander.deuc...@amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c 
b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
index c096caf314c0e..315916bec6709 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
@@ -1242,6 +1242,7 @@ svm_range_get_pte_flags(struct kfd_node *node,
                break;
        case IP_VERSION(9, 4, 3):
        case IP_VERSION(9, 4, 4):
+       case IP_VERSION(9, 5, 0):
                if (ext_coherent)
                        mtype_local = node->adev->rev_id ? AMDGPU_VM_MTYPE_CC : 
AMDGPU_VM_MTYPE_UC;
                else
-- 
2.47.0

Reply via email to