diff options
| author | Chris Wilson <[email protected]> | 2016-03-18 10:42:59 +0200 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2016-03-18 15:19:18 +0200 |
| commit | c890e2d5313e8e8f4fb54258dc2bbb2c7dd901ce (patch) | |
| tree | c876339d4a26b084e58e6f36f947e1df245568e6 /tools/perf/scripts/python | |
| parent | d507d73578ef7aa1ffcd122e51caa59e4492cb46 (diff) | |
drm/i915: Codify our assumption that the Global GTT is <= 4GiB
Throughout the code base, we use u32 for offsets into the global GTT. If
we ever see any hardware with a larger GGTT, then we run the real risk
of silent corruption. So test for our assumption up front so that we
have a nice reminder should the time come when it fails.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Joonas Lahtinen <[email protected]>
[Rebased and changed 1ull -> 1ULL, cut 80 char line]
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/1458290579-27783-1-git-send-email-joonas.lahtinen@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions