diff options
author | 2012-04-17 16:38:12 +0100 | |
---|---|---|
committer | 2012-04-18 11:11:14 +0200 | |
commit | 65f5687603ea6ede1cb01b3d6c16a8c1fac88541 (patch) | |
tree | 0c474dd28afcf1350f3e781aadf9476026f1bc0b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drm/i915: Always flush tiling changes before accessing through the GTT (diff) | |
download | wireguard-linux-65f5687603ea6ede1cb01b3d6c16a8c1fac88541.tar.xz wireguard-linux-65f5687603ea6ede1cb01b3d6c16a8c1fac88541.zip |
drm/i915: Replace open coded MI_BATCH_GTT
The (2<<6) virtual memory space selector harks back to gen3 and is
mandatory given our use of GTT space for batchbuffers. On gen4+, use of
the GTT became mandatory and bit6 marked reserved. However the code must
now explicitly set (1<<7), which conveniently is also (2<<6).
To clarify the meaning for future readers, replace the open coded (2<<6)
with MI_BATCH_GTT.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions