mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 00:08:16 +02:00
intel: Repeat execbuffer after EINTR
EAGAIN cannot be raised by the current code, but the system call maybe interrupted and so return EINTR. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
acb4aa6715
commit
b73612e4fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1293,7 +1293,7 @@ drm_intel_gem_bo_exec(drm_intel_bo *bo, int used,
|
|||
ret = ioctl(bufmgr_gem->fd,
|
||||
DRM_IOCTL_I915_GEM_EXECBUFFER,
|
||||
&execbuf);
|
||||
} while (ret != 0 && errno == EAGAIN);
|
||||
} while (ret != 0 && errno == EINTR);
|
||||
|
||||
if (ret != 0) {
|
||||
ret = -errno;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue