linux/drivers/gpu/drm/tegra
Thierry Reding 49f821919b drm/tegra: gem: Remove premature import restrictions
All the display related blocks on Tegra require contiguous memory. Using
the DMA API, there is no knowing at import time which device will end up
using the buffer, so it's not known whether or not an IOMMU will be used
to map the buffer.

Move the check for non-contiguous buffers/mappings to the tegra_dc_pin()
function which is now the earliest point where it is known if a DMA BUF
can be used by the given device or not.

v2: add check for contiguous buffer/mapping in tegra_dc_pin()

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2019-12-04 13:36:23 +01:00
..
dc.c drm/tegra: Support DMA API for display controllers 2019-10-29 15:04:36 +01:00
dc.h drm/tegra: Move IOMMU group into host1x client 2019-10-28 11:18:37 +01:00
dp.c drm/tegra: sor: Add DisplayPort support 2019-10-28 11:18:54 +01:00
dp.h drm/tegra: dp: Add DisplayPort link training helper 2019-10-28 11:18:53 +01:00
dpaux.c drm/tegra: sor: Use DP link training helpers 2019-10-28 11:18:53 +01:00
dpaux.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
drm.c drm/tegra: Optionally attach clients to the IOMMU 2019-10-29 15:04:37 +01:00
drm.h drm/tegra: Optionally attach clients to the IOMMU 2019-10-29 15:04:37 +01:00
dsi.c drm/tegra: drop use of drmP.h 2019-08-14 18:31:04 +02:00
dsi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
falcon.c drm/tegra: falcon: Clarify address usage 2019-10-29 15:04:36 +01:00
falcon.h drm/tegra: falcon: Clarify address usage 2019-10-29 15:04:36 +01:00
fb.c drm/tegra: gem: Rename paddr -> iova 2019-10-28 11:18:38 +01:00
gem.c drm/tegra: gem: Remove premature import restrictions 2019-12-04 13:36:23 +01:00
gem.h drm/tegra: gem: Rename paddr -> iova 2019-10-28 11:18:38 +01:00
gr2d.c drm/tegra: Simplify IOMMU group selection 2019-10-29 15:04:34 +01:00
gr2d.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
gr3d.c drm/tegra: Simplify IOMMU group selection 2019-10-29 15:04:34 +01:00
gr3d.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
hda.c
hda.h
hdmi.c drm/tegra: drop use of drmP.h 2019-08-14 18:31:04 +02:00
hdmi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
hub.c drm/tegra: hub: Remove bogus connection mutex check 2019-12-04 13:34:48 +01:00
hub.h drm/tegra: drop use of drmP.h 2019-08-14 18:31:04 +02:00
Kconfig drm/tegra: Unconditionally select IOMMU_IOVA 2019-11-01 10:49:29 +01:00
Makefile drm/tegra: Move drm_dp_link helpers to Tegra DRM 2019-10-23 18:22:10 +02:00
mipi-phy.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mipi-phy.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
output.c drm/tegra: Use cec_notifier_conn_(un)register() 2019-10-24 18:47:13 +02:00
plane.c drm/tegra: gem: Remove premature import restrictions 2019-12-04 13:36:23 +01:00
plane.h drm/tegra: Support DMA API for display controllers 2019-10-29 15:04:36 +01:00
rgb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sor.c drm/tegra: sor: Introduce audio enable/disable callbacks 2019-10-28 11:18:57 +01:00
sor.h drm/tegra: sor: Add DisplayPort support 2019-10-28 11:18:54 +01:00
trace.c
trace.h
vic.c drm/tegra: falcon: Clarify address usage 2019-10-29 15:04:36 +01:00
vic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00