summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Widawsky <benjamin.widawsky@intel.com>2013-12-05 14:36:20 -0800
committerBen Widawsky <benjamin.widawsky@intel.com>2013-12-05 14:36:20 -0800
commitba0d651a017d9c633e7530b7d13ec6abaeaedceb (patch)
tree70515b2ee5d0278908cb634dd27f6c64f204fab1
parent846a0f01b04eae501ced0f59e2bd18c5f4c774bb (diff)
gem_write_read_ring_switch: Missed gen8 BLT updates
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--tests/gem_write_read_ring_switch.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/gem_write_read_ring_switch.c b/tests/gem_write_read_ring_switch.c
index 0cc58c7e..524d6fb0 100644
--- a/tests/gem_write_read_ring_switch.c
+++ b/tests/gem_write_read_ring_switch.c
@@ -93,16 +93,14 @@ static void run_test(int ring)
ADVANCE_BATCH();
}
- BEGIN_BATCH(6);
- OUT_BATCH(XY_COLOR_BLT_CMD |
- XY_COLOR_BLT_WRITE_ALPHA |
- XY_COLOR_BLT_WRITE_RGB);
+ COLOR_BLIT_COPY_BATCH_START(batch->devid, 0);
OUT_BATCH((3 << 24) | /* 32 bits */
(0xff << 16) |
128);
OUT_BATCH(0); /* dst x1,y1 */
OUT_BATCH((1 << 16) | 1);
OUT_RELOC(target_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
+ BLIT_RELOC_UDW(batch->devid);
OUT_BATCH(COLOR);
ADVANCE_BATCH();