xf86-video-intel: src/sna/kgem.c
Chris Wilson
ickle at kemper.freedesktop.org
Sun May 3 04:01:45 PDT 2015
src/sna/kgem.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b400dd22c28a08d7644b4ede076be9d8c2b8ca9d
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Sun May 3 11:58:25 2015 +0100
sna: Clear has-pinned-batches if we can no longer actually pin
Insert rant about useful kernel interfaces being removed without
justification.
References: https://bugs.freedesktop.org/show_bug.cgi?id=88411
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index ca567fd..d392530 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -1459,6 +1459,8 @@ err:
if (ret != -ENODEV && kgem->gen == 020)
return false;
+ kgem->has_pinned_batches = false;
+
/* For simplicity populate the lists with a single unpinned bo */
for (n = 0; n < ARRAY_SIZE(count); n++) {
struct kgem_bo *bo;
More information about the xorg-commit
mailing list