Commit 6dcfde1d authored by Robin Murphy's avatar Robin Murphy Committed by sanglipeng
Browse files

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: default avatarJon Hunter <jonathanh@nvidia.com>
Suggested-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Tested-by: default avatarJon Hunter <jonathanh@nvidia.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 03ce0bca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment