From: Chris Wilson Date: Tue, 17 Apr 2012 15:38:12 +0000 (+0100) Subject: drm/i915: Replace open coded MI_BATCH_GTT X-Git-Tag: v3.5-rc1~83^2~81^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65f5687603ea6ede1cb01b3d6c16a8c1fac88541;p=pandora-kernel.git 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 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed