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)
commite0253d083c5c77fa100cdc89680e5bc667d6ef4d
treebb0d236bcb83dc675197f0106987b6048dc58b4d
parentd0ba51b1cacd27bdc1acfe70cb55699f3329b2b1
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