lib/igt.cocci: Add s/assert/igt_assert/
[platform/upstream/intel-gpu-tools.git] / tests / gem_pipe_control_store_loop.c
index cef7160..c95c2bd 100644 (file)
 #include <sys/stat.h>
 #include <sys/time.h>
 #include "drm.h"
-#include "i915_drm.h"
+#include "ioctl_wrappers.h"
 #include "drmtest.h"
 #include "intel_bufmgr.h"
 #include "intel_batchbuffer.h"
-#include "intel_gpu_tools.h"
+#include "intel_chipset.h"
+#include "intel_io.h"
 
 static drm_intel_bufmgr *bufmgr;
 struct intel_batchbuffer *batch;
@@ -94,9 +95,7 @@ store_pipe_control_loop(bool preuse_buffer)
                        ADVANCE_BATCH();
 
                        intel_batchbuffer_flush(batch);
-                       igt_assert(target_bo->offset != 0);
-               } else
-                       igt_assert(target_bo->offset == 0);
+               }
 
                /* gem_storedw_batches_loop.c is a bit overenthusiastic with
                 * creating new batchbuffers - with buffer reuse disabled, the