linux/drivers/gpu/drm/tegra
Dmitry Osipenko d210919dbd drm/tegra: Add back arm_iommu_detach_device()
DMA buffers of 2D/3D engines aren't mapped properly when
CONFIG_ARM_DMA_USE_IOMMU=y. The memory management code of Tegra DRM driver
has a longstanding overhaul overdue and it's not obvious where the problem
is in this case. Hence let's add back the old workaround which we already
had sometime before. It explicitly detaches DRM devices from the offending
implicit IOMMU domain. This fixes a completely broken 2d/3d drivers in
case of ARM32 multiplatform kernel config.

Cc: stable@vger.kernel.org
Fixes: fa6661b7aa ("drm/tegra: Optionally attach clients to the IOMMU")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2021-12-16 14:30:45 +01:00
..
dc.c drm/tegra: dc: Support OPP and SoC core voltage scaling 2021-12-16 14:07:07 +01:00
dc.h drm/tegra: dc: Support OPP and SoC core voltage scaling 2021-12-16 14:07:07 +01:00
dp.c
dp.h
dpaux.c drm/tegra: Changes for v5.14-rc1 2021-06-23 14:24:37 +10:00
dpaux.h
drm.c drm/tegra: Add back arm_iommu_detach_device() 2021-12-16 14:30:45 +01:00
drm.h drm/tegra: Add NVDEC driver 2021-12-16 14:07:06 +01:00
dsi.c drm/tegra: Fix reference leak when pm_runtime_get_sync() fails 2021-01-15 17:24:51 +01:00
dsi.h
falcon.c drm/tegra: falcon: Support newer VIC firmware 2021-01-15 17:15:50 +01:00
falcon.h
fb.c drm/tegra: Use fourcc_mod_is_vendor() helper 2021-08-16 12:19:21 +02:00
firewall.c drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
gem.c drm/tegra: Implement buffer object cache 2021-12-16 14:07:06 +01:00
gem.h drm/tegra: Extract tegra_gem_lookup() 2021-08-10 14:44:31 +02:00
gr2d.c drm/tegra: Consolidate runtime PM management of older UAPI codepath 2021-12-16 14:07:08 +01:00
gr2d.h
gr3d.c drm/tegra: Consolidate runtime PM management of older UAPI codepath 2021-12-16 14:07:08 +01:00
gr3d.h
hda.c
hda.h
hdmi.c drm/tegra: hdmi: Add OPP support 2021-12-16 14:07:07 +01:00
hdmi.h
hub.c drm/tegra: hub: Implement basic scaling support 2021-05-31 14:30:11 +02:00
hub.h drm/tegra: Remove duplicate struct declaration 2021-12-16 14:07:07 +01:00
Kconfig drm/tegra: hdmi: Register audio CODEC on Tegra20 2021-12-16 14:07:07 +01:00
Makefile drm/tegra: Add NVDEC driver 2021-12-16 14:07:06 +01:00
mipi-phy.c
mipi-phy.h
nvdec.c drm/tegra: Consolidate runtime PM management of older UAPI codepath 2021-12-16 14:07:08 +01:00
output.c drm/tegra: sor: Fix AUX device reference leak 2021-05-27 20:11:13 +02:00
plane.c drm/tegra: Propagate errors from drm_gem_plane_helper_prepare_fb() 2021-12-16 14:07:06 +01:00
plane.h drm/tegra: Implement correct DMA-BUF semantics 2021-12-16 14:07:06 +01:00
rgb.c drm/tegra: dc: rgb: Allow changing PLLD rate on Tegra30+ 2021-12-16 14:07:07 +01:00
sor.c drm/tegra: sor: Fix AUX device reference leak 2021-05-27 20:11:13 +02:00
sor.h
submit.c drm/tegra: submit: Remove pm_runtime_enabled() checks 2021-12-16 14:07:08 +01:00
submit.h drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
trace.c
trace.h
uapi.c drm/tegra: Implement buffer object cache 2021-12-16 14:07:06 +01:00
uapi.h drm/tegra: Implement correct DMA-BUF semantics 2021-12-16 14:07:06 +01:00
vic.c drm/tegra: Consolidate runtime PM management of older UAPI codepath 2021-12-16 14:07:08 +01:00
vic.h drm/tegra: Don't call SET_APPLICATION_ID in VIC boot 2021-06-11 18:48:36 +02:00