]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Support IOMMU on Raven
authorYong Zhao <Yong.Zhao@amd.com>
Thu, 27 Jul 2017 16:48:22 +0000 (12:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:45:58 +0000 (14:45 -0400)
commitb5c7a019ed8b32fc925a35e48450cbeca11bb268
treedb1de1243647e0e728a331f0e38b12da9a6223f8
parent602f0688d510b3c9992ea5f76be9b4fbf8864bd4
drm/amdgpu: Support IOMMU on Raven

We achieved that by setting S(SYSTEM) and P(PDE as PTE) bit to 1 for
PDEs and setting S bit to 1 for PTEs when the corresponding addresses
are not occupied by gpu driver allocated buffers.

Signed-off-by: Yong Zhao <Yong.Zhao@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
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h