diff options
author | Eric Anholt <eric@anholt.net> | 2011-05-06 12:15:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2011-05-17 17:54:26 -0700 |
commit | d73cdde45afc41fb7b36829eda1af763af682ada (patch) | |
tree | 7bcc71a88496c423d22b23cbd72db22c0fc4b293 /lib/intel_batchbuffer.c | |
parent | a825173a5f2154b0491f7b5554c10ab7146b4592 (diff) |
Add Ivybridge support to intel_gpu_dump and the BLT tests.
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r-- | lib/intel_batchbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index a2f9ae71..111f65d4 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -108,7 +108,7 @@ intel_batchbuffer_flush(struct intel_batchbuffer *batch) batch->ptr = NULL; ring = 0; - if (IS_GEN6(batch->devid)) + if (HAS_BLT_RING(batch->devid)) ring = I915_EXEC_BLT; ret = drm_intel_bo_mrb_exec(batch->bo, used, NULL, 0, 0, ring); assert(ret == 0); |