projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb4aa6
)
intel: Repeat execbuffer after EINTR
author
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 2 Dec 2009 12:58:00 +0000
(12:58 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Wed, 2 Dec 2009 14:17:15 +0000
(14:17 +0000)
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>
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
bb20f43
..
239f36d
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-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 == E
AGAIN
);
+ } while (ret != 0 && errno == E
INTR
);
if (ret != 0) {
ret = -errno;