[Bug 77436] KDE Konsole very slow scrolling with TearFree and QT graphics system native
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Apr 17 01:05:32 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77436
--- Comment #26 from Chris Wilson <chris at chris-wilson.co.uk> ---
I still haven't explained how we end up with the backlog, but perhaps this will
help again with alleviating the symptoms:
diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index a840ed6..7ba3ac9 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4194,6 +4194,12 @@ static void __kgem_bo_make_scanout(struct kgem *kgem,
do_ioctl(kgem->fd, DRM_IOCTL_MODE_ADDFB, &arg) == 0) {
bo->scanout = true;
bo->delta = arg.fb_id;
+
+ /* Pre-emptively move the object into the mappable
+ * portion to avoid rebinding later. */
+ bo->map__gtt = __kgem_bo_map__gtt(kgem, bo);
+ if (bo->map__gtt)
+ *bo->map__gtt = 0;
}
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140417/afbdebbb/attachment.html>
More information about the intel-gfx-bugs
mailing list