[igt-dev] [PATCH i-g-t 2/4] tests/gen7_exec_parse: Test lrm/lri

Chris Wilson chris at chris-wilson.co.uk
Mon Aug 17 12:18:03 UTC 2020


Quoting Mika Kuoppala (2020-08-17 13:01:47)
> @@ -117,8 +119,10 @@ static uint64_t __exec_batch_patched(int fd,
>         execbuf.batch_len = size;
>         execbuf.flags = I915_EXEC_RENDER;
>  
> -       gem_execbuf(fd, &execbuf);
> +       ret = __checked_execbuf(fd, &execbuf);
>         gem_sync(fd, cmd_bo);

__check_execbuf() makes the sync redundant.

> +       if (ret)
> +               return ret;


More information about the igt-dev mailing list