diff options
| author | Thierry Reding <[email protected]> | 2015-01-23 09:05:06 +0100 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2015-03-05 09:01:37 +1000 |
| commit | 440fd5283a87345cdd4237bdf45fb01130ea0056 (patch) | |
| tree | f41245531ea59406e0499067541a291ef75c1c51 /tools/perf/util/c++/clang.cpp | |
| parent | ed9ed50ccc2c16690b921171c809f6f15255ac65 (diff) | |
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
fixupo
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions