gpu: host1x: Avoid trying to use GART on Tegra20
stable inclusion from stable-v5.10.157 commit 79d9a11679785d7c5b10ce5ee85f43165d3f891f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MU59 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=79d9a11679785d7c5b10ce5ee85f43165d3f891f -------------------------------- [ Upstream commit c2418f91 ] Since commit c7e3ca51 ("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 57365a04 ("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> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment