diff options
Diffstat (limited to 'tests/gem_pipe_control_store_loop.c')
-rw-r--r-- | tests/gem_pipe_control_store_loop.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/gem_pipe_control_store_loop.c b/tests/gem_pipe_control_store_loop.c index 9759d87cb..5eae6ca5f 100644 --- a/tests/gem_pipe_control_store_loop.c +++ b/tests/gem_pipe_control_store_loop.c @@ -73,10 +73,7 @@ store_pipe_control_loop(bool preuse_buffer) /* we want to check tlb consistency of the pipe_control target, * so get a new buffer every time around */ target_bo = drm_intel_bo_alloc(bufmgr, "target bo", 4096, 4096); - if (!target_bo) { - fprintf(stderr, "failed to alloc target buffer\n"); - igt_fail(-1); - } + igt_assert(target_bo); if (preuse_buffer) { BEGIN_BATCH(6); |