aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/ttm/ttm_bo_driver.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-01-23 09:05:06 +0100
committerDave Airlie <airlied@redhat.com>2015-03-05 09:01:37 +1000
commit440fd5283a87345cdd4237bdf45fb01130ea0056 (patch)
treef41245531ea59406e0499067541a291ef75c1c51 /include/drm/ttm/ttm_bo_driver.h
parentRevert "drm/rockchip: Flip select/depends in Kconfig" (diff)
downloadlinux-dev-440fd5283a87345cdd4237bdf45fb01130ea0056.tar.xz
linux-dev-440fd5283a87345cdd4237bdf45fb01130ea0056.zip
drm/mm: Support 4 GiB and larger ranges
The current implementation is limited by the number of addresses that fit into an unsigned long. This causes problems on 32-bit Tegra where unsigned long is 32-bit but drm_mm is used to manage an IOVA space of 4 GiB. Given the 32-bit limitation, the range is limited to 4 GiB - 1 (or 4 GiB - 4 KiB for page granularity). This commit changes the start and size of the range to be an unsigned 64-bit integer, thus allowing much larger ranges to be supported. [airlied: fix i915 warnings and coloring callback] Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Dave Airlie <airlied@redhat.com> fixupo
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions