#include "drmtest.h"
#include "intel_bufmgr.h"
#include "intel_batchbuffer.h"
-#include "intel_gpu_tools.h"
+#include "intel_io.h"
#include "intel_chipset.h"
static drm_intel_bufmgr *bufmgr;
int i, val = 0;
uint32_t *buf;
- printf("running storedw loop on render with stall every %i batch\n", divider);
+ igt_info("running storedw loop on render with stall every %i batch\n", divider);
- for (i = 0; i < SLOW_QUICK(0x100000, 0x10); i++) {
+ for (i = 0; i < SLOW_QUICK(0x2000, 0x10); i++) {
emit_store_dword_imm(devid, target_buffer, val);
intel_batchbuffer_flush_on_ring(batch, I915_EXEC_BSD);
drm_intel_bo_map(target_buffer, 0);
buf = target_buffer->virtual;
- printf("completed %d writes successfully, current value: 0x%08x\n", i,
+ igt_info("completed %d writes successfully, current value: 0x%08x\n", i,
buf[0]);
drm_intel_bo_unmap(target_buffer);
}