summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-24 16:25:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-24 16:25:05 +0100
commit8c5229cf8fc642f8b7e091c38bfd27032ee5e48c (patch)
treeefbd06face62829c895f1633d4efb427c0a901a1
parentd209b03915e4d12ce445d72ac09bb4fe664ba664 (diff)
sna: Make one last gasp at submitting the execbuffer before bailing
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 16f72a0f..6d4e074d 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -3209,7 +3209,8 @@ retry:
if (kgem_cleanup_cache(kgem))
goto retry;
- return ret;
+ /* last gasp */
+ return do_ioctl(kgem->fd, DRM_IOCTL_I915_GEM_EXECBUFFER2, execbuf);
}
void _kgem_submit(struct kgem *kgem)