diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-03-18 10:42:59 +0200 |
|---|---|---|
| committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2016-03-18 15:19:18 +0200 |
| commit | c890e2d5313e8e8f4fb54258dc2bbb2c7dd901ce (patch) | |
| tree | c876339d4a26b084e58e6f36f947e1df245568e6 /tools/perf/scripts | |
| parent | drm/i915/gtt: Clean up GGTT probing code (diff) | |
| download | linux-c890e2d5313e8e8f4fb54258dc2bbb2c7dd901ce.tar.gz linux-c890e2d5313e8e8f4fb54258dc2bbb2c7dd901ce.zip | |
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 <chris@chris-wilson.co.uk>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
[Rebased and changed 1ull -> 1ULL, cut 80 char line]
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458290579-27783-1-git-send-email-joonas.lahtinen@linux.intel.com
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
