aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/Makefile
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2020-02-04 14:59:25 +0100
committerThierry Reding <treding@nvidia.com>2020-02-06 18:21:55 +0100
commit273da5a046965ccf0ec79eb63f2d5173467e20fa (patch)
tree00894e2c40171bee6c9ad2bb0cd02bae0071bf29 /drivers/gpu/host1x/Makefile
parentdrm/tegra: Relax IOMMU usage criteria on old Tegra (diff)
downloadlinux-dev-273da5a046965ccf0ec79eb63f2d5173467e20fa.tar.xz
linux-dev-273da5a046965ccf0ec79eb63f2d5173467e20fa.zip
drm/tegra: Reuse IOVA mapping where possible
This partially reverts the DMA API support that was recently merged because it was causing performance regressions on older Tegra devices. Unfortunately, the cache maintenance performed by dma_map_sg() and dma_unmap_sg() causes performance to drop by a factor of 10. The right solution for this would be to cache mappings for buffers per consumer device, but that's a bit involved. Instead, we simply revert to the old behaviour of sharing IOVA mappings when we know that devices can do so (i.e. they share the same IOMMU domain). Cc: <stable@vger.kernel.org> # v5.5 Reported-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Diffstat (limited to 'drivers/gpu/host1x/Makefile')
0 files changed, 0 insertions, 0 deletions