]> 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)
commit78c536402a1544576c687f8775794d65ba7c7817
treee19df6b62d32cc739e1439675503dc214ade89f3
parent6ee6d21e41a3e60a1a22784eed4c90220ee87836
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