commit | bd43c9f0fa1f664b58eefdc8aab7ac3c8b2026ec | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Wed Dec 13 12:22:48 2017 +0100 |
committer | Thierry Reding <treding@nvidia.com> | Sat Mar 17 00:03:54 2018 +0100 |
tree | 02c82972bf7405fb3349cca37cbca9bfd9548112 | |
parent | 0281c4149021376123b4ccdb1548692a3f6e70bd [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>