mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
tests: use igt_assert/igt_require more
With the new _f variants we can replace almost all of them. Also remove a ton of checks for argc != 1, they're a bit useless ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user