]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Avoid trying to use GART on Tegra20
authorRobin Murphy <robin.murphy@arm.com>
Thu, 20 Oct 2022 14:23:40 +0000 (15:23 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 18 Nov 2022 08:33:20 +0000 (09:33 +0100)
commitb9cf3847778282879a4d4b99ab0b95fd74a773fd
tree02493700f63f8d039f114556e3e3d662c1c74723
parent6358759813eb1920a7e9bc57799a80a94f6c66b8
gpu: host1x: Avoid trying to use GART on Tegra20

Since commit adbd879b7574 ("iommu/tegra: gart: Do not register with
bus") quite some time ago, the GART driver has effectively disabled
itself to avoid issues with the GPU driver expecting it to work in ways
that it doesn't. As of commit d096aaba5f54 ("iommu: Move bus setup to
IOMMU device registration") that bodge no longer works, but really the
GPU driver should be responsible for its own behaviour anyway. Make the
workaround explicit.

Reported-by: Jon Hunter <jonathanh@nvidia.com>
Suggested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
drivers/gpu/host1x/dev.c