summaryrefslogtreecommitdiff
path: root/src/intel_batchbuffer.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-05-06 12:40:12 -0700
committerEric Anholt <eric@anholt.net>2011-05-09 22:56:42 -0700
commit79e59fb2a047b1e733a7b0dee608db3311391725 (patch)
tree31e0a69db52f599911c14439e64227765d0b76e3 /src/intel_batchbuffer.c
parent792738adfc5164d30358f045875dfc9b199a46da (diff)
Add support for Ivybridge chipset.
This gets display and 2D blit acceleration up and running. No Render acceleration is provided yet.
Diffstat (limited to 'src/intel_batchbuffer.c')
-rw-r--r--src/intel_batchbuffer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel_batchbuffer.c b/src/intel_batchbuffer.c
index 95eca434..d0a41aa3 100644
--- a/src/intel_batchbuffer.c
+++ b/src/intel_batchbuffer.c
@@ -211,7 +211,9 @@ void intel_batch_submit(ScrnInfoPtr scrn)
ret = drm_intel_bo_mrb_exec(intel->batch_bo,
intel->batch_used*4,
NULL, 0, 0xffffffff,
- IS_GEN6(intel) ? intel->current_batch: I915_EXEC_DEFAULT);
+ (HAS_BLT(intel) ?
+ intel->current_batch:
+ I915_EXEC_DEFAULT));
}
if (ret != 0) {