[Bug 77436] KDE Konsole very slow scrolling with TearFree and QT graphics system native

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 15 06:47:08 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=77436

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
Right, I don't have an explanation as to how it becomes backlogged, but that
seems to be the culprit behind the bad behaviour here.

This may help improve things in the meantime:

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 0b8af54..30adeb1 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -4295,6 +4295,11 @@ struct kgem_bo *kgem_create_2d(struct kgem *kgem,
                bo = __kgem_bo_create_as_display(kgem, size, tiling, pitch);
                if (bo)
                        return bo;
+
+               if (bucket >= NUM_CACHE_BUCKETS)
+                       goto large_inactive;
+               else
+                       goto search_inactive;
        }

        if (bucket >= NUM_CACHE_BUCKETS) {

-- 
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/20140415/38005718/attachment-0001.html>


More information about the intel-gfx-bugs mailing list