]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: gem: Take into account IOMMU aperture
authorThierry Reding <treding@nvidia.com>
Mon, 19 Jan 2015 15:15:04 +0000 (16:15 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 12 Jun 2015 14:23:50 +0000 (16:23 +0200)
commitd8c6a259e10ebf14b452b2e1857c9acb4c4642ed
treed6d170f2bdc1d0fa3f6f8f539effadb837423241
parent6fcb8e8d678766d6b59c2e04b2c26d9281809a2f
drm/tegra: gem: Take into account IOMMU aperture

The IOMMU may not always be able to address 2 GiB of memory. On Tegra20,
the GART supports 32 MiB starting at 0x58000000. Also the aperture on
Tegra30 and later is in fact the full 4 GiB, rather than just 2 GiB as
currently assumed.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c