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

Dmitry Osipenko digetx at gmail.com
Sat Dec 4 14:58:47 UTC 2021


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(+)

-- 
2.33.1



More information about the dri-devel mailing list