diff options
author | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-12-05 14:34:35 -0800 |
---|---|---|
committer | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-12-05 14:34:35 -0800 |
commit | 846a0f01b04eae501ced0f59e2bd18c5f4c774bb (patch) | |
tree | 3ed116d3458bc9c60786e1884cc55450b9e1b5d2 | |
parent | 672911d7149735ee51cbcff5540b8dcb8a2de321 (diff) |
drm_vma_limiter_cached: Missed gen8 BLT updates
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r-- | tests/drm_vma_limiter_cached.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/drm_vma_limiter_cached.c b/tests/drm_vma_limiter_cached.c index 822a5f45..10cd7b6a 100644 --- a/tests/drm_vma_limiter_cached.c +++ b/tests/drm_vma_limiter_cached.c @@ -111,15 +111,13 @@ int main(int argc, char **argv) drm_intel_gem_bo_unmap_gtt(bo[j]); /* put it onto the active list ... */ - BEGIN_BATCH(6); - OUT_BATCH(XY_COLOR_BLT_CMD | - XY_COLOR_BLT_WRITE_ALPHA | - XY_COLOR_BLT_WRITE_RGB); + COLOR_BLIT_COPY_BATCH_START(intel_get_drm_devid(fd), 0); OUT_BATCH((3 << 24) | /* 32 bits */ 128); OUT_BATCH(0); /* dst x1,y1 */ OUT_BATCH((1 << 16) | 1); OUT_RELOC(bo[j], I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0); + BLIT_RELOC_UDW(intel_get_drm_devid(fd)); OUT_BATCH(0xffffffff); /* color */ ADVANCE_BATCH(); } |