]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use optimal mtypes and PTE bits for Arcturus
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 26 Aug 2019 22:46:28 +0000 (18:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:36:01 +0000 (17:36 -0500)
commitdef594a8fff4d16f50b1cf153a74c8016f367b09
treebb0d236bcb83dc675197f0106987b6048dc58b4d
parent7624fbdf247c001d69480641d025c07af679a7ca
drm/amdgpu: Use optimal mtypes and PTE bits for Arcturus

For compute VRAM allocations on Arturus use the new RW mtype
for non-coherent local memory, CC mtype for coherent local
memory and PTE_SNOOPED bit for invalidating non-dirty cache
lines on remote XGMI mappings.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Tested-by: Amber Lin <Amber.Lin@amd.com>
Reviewed-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c