]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Support DMA API for display controllers
authorThierry Reding <treding@nvidia.com>
Mon, 28 Oct 2019 12:37:17 +0000 (13:37 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 29 Oct 2019 14:04:36 +0000 (15:04 +0100)
commit01173d93a7fc6087e357f39f056ba279e6afb8d6
tree0aea36f156eaf878dbfad48ee9caf8f84b953537
parent9c14b362558e649cc6eabed8c7608b1b43cf79fb
drm/tegra: Support DMA API for display controllers

If a display controller is not attached to an explicit IOMMU domain,
which usually means that it's connected to an IOMMU domain controlled by
the DMA API, make sure to map the framebuffer to the display controller
address space. This allows us to transparently handle setups where the
display controller is attached to an IOMMU or setups where it isn't. It
also allows the driver to work with a DMA API that is backed by an
IOMMU.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/hub.c
drivers/gpu/drm/tegra/plane.c
drivers/gpu/drm/tegra/plane.h