gem_write_read_ring_switch: Missed gen8 BLT updates

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Ben Widawsky 2013-12-05 14:36:20 -08:00
parent 846a0f01b0
commit ba0d651a01

View File

@ -93,16 +93,14 @@ static void run_test(int ring)
ADVANCE_BATCH(); ADVANCE_BATCH();
} }
BEGIN_BATCH(6); COLOR_BLIT_COPY_BATCH_START(batch->devid, 0);
OUT_BATCH(XY_COLOR_BLT_CMD |
XY_COLOR_BLT_WRITE_ALPHA |
XY_COLOR_BLT_WRITE_RGB);
OUT_BATCH((3 << 24) | /* 32 bits */ OUT_BATCH((3 << 24) | /* 32 bits */
(0xff << 16) | (0xff << 16) |
128); 128);
OUT_BATCH(0); /* dst x1,y1 */ OUT_BATCH(0); /* dst x1,y1 */
OUT_BATCH((1 << 16) | 1); OUT_BATCH((1 << 16) | 1);
OUT_RELOC(target_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0); OUT_RELOC(target_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
BLIT_RELOC_UDW(batch->devid);
OUT_BATCH(COLOR); OUT_BATCH(COLOR);
ADVANCE_BATCH(); ADVANCE_BATCH();