mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 00:46:17 +00:00
igt/gem_exec_nop: Enlighten the failure error message
References: https://bugs.freedesktop.org/show_bug.cgi?id=89633 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
484c1a6f1c
commit
1d0aa69f55
@ -78,9 +78,8 @@ static int exec(int fd, uint32_t handle, int loops, unsigned ring_id)
|
||||
execbuf.rsvd2 = 0;
|
||||
|
||||
while (loops-- && ret == 0) {
|
||||
ret = drmIoctl(fd,
|
||||
DRM_IOCTL_I915_GEM_EXECBUFFER2,
|
||||
&execbuf);
|
||||
if (drmIoctl(fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, &execbuf))
|
||||
ret = -errno;
|
||||
}
|
||||
gem_sync(fd, handle);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user