diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-09 14:18:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-09 14:18:57 +0000 |
commit | bca58ff6f02b20ccf88937df8e2688f18cabac80 (patch) | |
tree | cc910efbdf3e225b91886bc7bce2d5ffb4b52c2f | |
parent | 8fdbd01c94c0f6f56247feed8f225901ba39e18e (diff) |
sna: Clear kgem->busy when all requests have been processed
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index a55086a8..8d2295af 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -737,6 +737,7 @@ bool kgem_retire(struct kgem *kgem) kgem->need_retire = !list_is_empty(&kgem->requests); if (!kgem->need_retire && kgem->ring) kgem->ring = kgem->mode; + kgem->busy &= kgem->need_retire; return retired; } |