mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
errno is reset after each syscall
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78055 Bugilla: https://bugs.freedesktop.org/show_bug.cgi?id=78053 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -141,11 +141,10 @@ static void multi_write_domain(int fd)
|
||||
ret = drmIoctl(fd,
|
||||
DRM_IOCTL_I915_GEM_EXECBUFFER2,
|
||||
&execbuf);
|
||||
igt_assert(ret != 0 && errno == EINVAL);
|
||||
|
||||
gem_close(fd, handle);
|
||||
gem_close(fd, handle_target);
|
||||
|
||||
igt_assert(ret != 0 && errno == EINVAL);
|
||||
}
|
||||
|
||||
int fd;
|
||||
|
||||
Reference in New Issue
Block a user