]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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>
Wed, 23 Aug 2017 21:18:43 +0000 (17:18 -0400)
commitb252903afcb1139dd87605b79f41e0dc325f9ece
tree17adab226c0944c823133f796c4d9652c8af4131
parent7c0059dd832cc686bf0febefdcf8295cdd93007f
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