[igt-dev] [PATCH i-g-t v4 11/11] igt: Use lib gem_execbuf where possible

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 21 23:42:08 UTC 2018


Quoting Antonio Argenziano (2018-02-21 23:19:47)
> -static int __execbuf(int fd, struct drm_i915_gem_execbuffer2 *execbuf)
> -{
> -       int err;
> -
> -       err = 0;
> -       if (ioctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2_WR, execbuf))
> -               err = -errno;

Another gotcha, EXECBUFFER2_WR != gem_execbuf()
-Chris


More information about the igt-dev mailing list