amd/amdgpu: Set MTYPE_UC for access over PCIe
authorAmber Lin <Amber.Lin@amd.com>
Mon, 28 Nov 2022 16:26:02 +0000 (11:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:50:54 +0000 (09:50 -0400)
commit85b45b60722f506322393320bb6cc195378f2e4f
treeb0cb3a5c54b2b6ea4a8ca8fe0a1f7730f293db51
parentd524180b88009d9158bff7fd20f3916455e0c32c
amd/amdgpu: Set MTYPE_UC for access over PCIe

For GFX v9_4_3, set MTYPE_UC for memory access over PCIe.

v4 - add missing indentation pointed out by Felix and add his
reviewed-by tag.
v3 - add missing logic for the svm path.
v2 - add amdgpu_xgmi_same_hive to separate access over xgmi from pcie

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c