mbox series

[v1,0/2] Fix broken DRM and Host1x drivers when CONFIG_ARM_DMA_USE_IOMMU=y

Message ID 20211204145849.4034-1-digetx@gmail.com
Headers show
Series Fix broken DRM and Host1x drivers when CONFIG_ARM_DMA_USE_IOMMU=y | expand

Message

Dmitry Osipenko Dec. 4, 2021, 2:58 p.m. UTC
Tegra DRM and Host1x don't work properly when CONFIG_ARM_DMA_USE_IOMMU=y,
i.e. in case of multiplatform ARM32 kernel. The simple workaround is to
detach devices from the offending IOMMU domain. This is a resend of
9 months old patches which we lost and forgotten. The problem still
persists. I rebased patches on top of recent linux-next and improved
commit messages.

Dmitry Osipenko (2):
  gpu: host1x: Add back arm_iommu_detach_device()
  drm/tegra: Add back arm_iommu_detach_device()

 drivers/gpu/drm/tegra/drm.c | 15 +++++++++++++++
 drivers/gpu/host1x/dev.c    | 15 +++++++++++++++
 2 files changed, 30 insertions(+)