diff options
author | Thierry Reding | 2020-02-04 14:59:25 +0100 |
---|---|---|
committer | Thierry Reding | 2020-02-06 18:21:55 +0100 |
commit | 273da5a046965ccf0ec79eb63f2d5173467e20fa (patch) | |
tree | 00894e2c40171bee6c9ad2bb0cd02bae0071bf29 /drivers/clk/clk-si5351.h | |
parent | 2d9384ff91770a71bd1ff24c25952ef1187a0e9c (diff) |
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/clk/clk-si5351.h')
0 files changed, 0 insertions, 0 deletions