xf86-video-intel: src/sna/kgem.c
Chris Wilson
ickle at kemper.freedesktop.org
Sat Jan 31 02:59:47 PST 2015
src/sna/kgem.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit dac01d0839123e87ebc04fb2dc046d321805c6db
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sat Jan 31 10:55:44 2015 +0000
sna: Mark the bo as clean after the kernel reports it idle
After querying for an idle bo and retiring the associated requests, we
must be careful not to confuse ourselves with exported bo becoming busy
again.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70461#c83
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 4f1f5e0..f787a38 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -2848,6 +2848,7 @@ void __kgem_retire_requests_upto(struct kgem *kgem, struct kgem_bo *bo)
DBG(("%s(handle=%d)\n", __FUNCTION__, bo->handle));
assert(!__kgem_busy(kgem, bo->handle));
+ bo->needs_flush = false;
rq = RQ(rq);
assert(rq != &kgem->static_request);
More information about the xorg-commit
mailing list