drm/amdgpu: Fix huge page updates with CPU
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 17 Aug 2017 20:37:49 +0000 (16:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:37 +0000 (15:27 -0400)
commit38a8791aa7bfaa497e12e56b904a6b45986162d8
tree0c538791215a773cd18c840fc9484b1ad1bc80f8
parent7846b12fe0b5feab5446d892f41b5140c1419109
drm/amdgpu: Fix huge page updates with CPU

Correctly detect system memory mappings when using CPU and don't use
huge pages for them.

Avoid incorrectly translating a physical page table GPU address when
splitting a huge page while mapping system memory.

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