Prepare for 64bit relocation addresses
[platform/upstream/intel-gpu-tools.git] / benchmarks / intel_upload_blit_large.c
index 40bdbcf..d9287ab 100644 (file)
@@ -60,7 +60,7 @@
 #include "drmtest.h"
 #include "intel_bufmgr.h"
 #include "intel_batchbuffer.h"
-#include "intel_gpu_tools.h"
+#include "intel_io.h"
 #include "intel_chipset.h"
 
 #define OBJECT_WIDTH   1280
@@ -104,11 +104,9 @@ do_render(drm_intel_bufmgr *bufmgr, struct intel_batchbuffer *batch,
        OUT_BATCH(0); /* dst x1,y1 */
        OUT_BATCH((height << 16) | width); /* dst x2,y2 */
        OUT_RELOC(dst_bo, I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER, 0);
-       BLIT_RELOC_UDW(batch->devid);
        OUT_BATCH(0); /* src x1,y1 */
        OUT_BATCH(width * 4); /* src pitch */
        OUT_RELOC(src_bo, I915_GEM_DOMAIN_RENDER, 0, 0);
-       BLIT_RELOC_UDW(batch->devid);
        ADVANCE_BATCH();
 
        intel_batchbuffer_flush(batch);