]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Fix acquiring VM on large-BAR systems
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 23 Mar 2018 19:30:35 +0000 (15:30 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 23 Mar 2018 19:30:35 +0000 (15:30 -0400)
commit994b4b25eeaac33c9f17023d157499be4ca0a83a
treee19df6b62d32cc739e1439675503dc214ade89f3
parentd26a7b0fb529435bd64faf641833d8f11d58bc86
drm/amdgpu: Fix acquiring VM on large-BAR systems

On large-BAR systems the VM page tables for compute are accessed by
the CPU. Always allow CPU access to the page directory so that it can
be used later by the CPU when a VM is converted to a compute VM.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c