drm/amdkfd: mark GFX12 system and peer GPU memory mappings as MTYPE_NC
authorSreekant Somasekharan <sreekant.somasekharan@amd.com>
Tue, 26 Mar 2024 20:19:28 +0000 (16:19 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:13 +0000 (16:18 -0400)
commit628e1ace23796d74a34d85833a60dd0d20ecbdb7
treeac3268323de95a0aa7461c8c081fff5399648743
parenta8a4615ba0fa3ee1248ae2184e7e848d7b644e70
drm/amdkfd: mark GFX12 system and peer GPU memory mappings as MTYPE_NC

Due to a HW bug, the system memory mappings and peer GPU mappings
on GFX12 need to be marked as MTYPE_NC.

Cc: Joe Greathouse <joseph.greathouse@amd.com>
Cc: David Belanger <david.belanger@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c