diff options
-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(); } |