summaryrefslogtreecommitdiff
path: root/src/uxa/intel_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-30 16:28:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-02 13:50:15 +0000
commitd507b6b9825cc18f41911727ef2ba9b9593cfe21 (patch)
treee35776aa07dc8d885ae10368d555ee1985ca53a7 /src/uxa/intel_driver.c
parent9681b1422e4531a19e0117e1b1a97668f6b6a571 (diff)
Prepare for changes in the BLT unit on future generations
Adapt the legacy BLT commands in preparation for future changes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa/intel_driver.c')
-rw-r--r--src/uxa/intel_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uxa/intel_driver.c b/src/uxa/intel_driver.c
index 690ac778..431c34ba 100644
--- a/src/uxa/intel_driver.c
+++ b/src/uxa/intel_driver.c
@@ -410,6 +410,9 @@ static Bool can_accelerate_blt(struct intel_screen_private *intel)
if (INTEL_INFO(intel)->gen == -1)
return FALSE;
+ if (INTEL_INFO(intel)->gen >= 0100)
+ return FALSE;
+
if (xf86ReturnOptValBool(intel->Options, OPTION_ACCEL_DISABLE, FALSE) ||
!intel_option_cast_string_to_bool(intel, OPTION_ACCEL_METHOD, TRUE)) {
xf86DrvMsg(intel->scrn->scrnIndex, X_CONFIG,