Skip to content
Commit bd43c9f0 authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent 0281c414
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment