[Bug 77436] KDE Konsole very slow scrolling with TearFree and QT graphics system native
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 25 00:14:24 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=77436
--- Comment #120 from Chris Wilson <chris at chris-wilson.co.uk> ---
Maybe something like:
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 9c24ea6..6835bda 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -6495,6 +6495,7 @@ fixup_flip:
mode = KGEM_BLT;
DBG(("%s: marking flip bo as
busy [%x -> mode=%d]\n", __FUNCTION__, busy.busy, mode));
kgem_bo_mark_busy(&sna->kgem,
flip_bo, mode);
+ sna->kgem.need_throttle = true;
} else
__kgem_bo_clear_busy(flip_bo);
}
@@ -6511,6 +6512,11 @@ fixup_flip:
assert(old->refcnt >= 1);
set_shadow(sna, region);
}
+
+ if (sna->kgem.need_throttle) {
+ drmCommandNone(sna->kgem.fd,
DRM_IOCTL_I915_GEM_THROTTLE);
+ sna->kgem.need_throttle = false;
+ }
} else
kgem_submit(&sna->kgem);
--
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/20140625/f976f72f/attachment.html>
More information about the intel-gfx-bugs
mailing list