aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-12-13 12:22:48 +0100
committerThierry Reding <treding@nvidia.com>2018-03-17 00:03:54 +0100
commitbd43c9f0fa1f664b58eefdc8aab7ac3c8b2026ec (patch)
tree02c82972bf7405fb3349cca37cbca9bfd9548112 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parent0281c4149021376123b4ccdb1548692a3f6e70bd (diff)
drm/tegra: gem: Map pages via the DMA API
When allocating pages, map them with the DMA API in order to invalidate caches. This is the correct usage of the API and works just as well as faking up the SG table and using the dma_sync_sg_for_device() function. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions