mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 23:30:10 +01:00
intel: Repeat execbuffer if interrupted by signal
Repeat while EINTR, not EAGAIN! One more source of corruption erradicated, hurray! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
581cafbc24
commit
a4041e096c
1 changed files with 1 additions and 1 deletions
|
|
@ -1559,7 +1559,7 @@ drm_intel_gem_bo_exec2(drm_intel_bo *bo, int used,
|
|||
do {
|
||||
ret = ioctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2,
|
||||
&execbuf);
|
||||
} while (ret != 0 && errno == EAGAIN);
|
||||
} while (ret != 0 && errno == EINTR);
|
||||
|
||||
if (ret != 0) {
|
||||
ret = -errno;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue