diff options
author | Thierry Reding <treding@nvidia.com> | 2015-01-23 08:05:06 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-03-04 23:01:37 (GMT) |
commit | 440fd5283a87345cdd4237bdf45fb01130ea0056 (patch) | |
tree | f41245531ea59406e0499067541a291ef75c1c51 /scripts/setlocalversion | |
parent | ed9ed50ccc2c16690b921171c809f6f15255ac65 (diff) | |
download | linux-440fd5283a87345cdd4237bdf45fb01130ea0056.tar.xz |
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 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions