From 79e59fb2a047b1e733a7b0dee608db3311391725 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 6 May 2011 12:40:12 -0700 Subject: Add support for Ivybridge chipset. This gets display and 2D blit acceleration up and running. No Render acceleration is provided yet. --- src/intel_batchbuffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/intel_batchbuffer.c') 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) { -- cgit v1.2.3