[Bug 94987] fullscreen flickering with google-chrome (youtube and not only)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 19 07:39:37 UTC 2016


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

--- Comment #11 from Chris Wilson <chris at chris-wilson.co.uk> ---
Sorry, try 

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 80b658a..291b8f0 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -6454,7 +6454,7 @@ sna_page_flip(struct sna *sna,
        if ((sna->flags & (data ? SNA_HAS_FLIP : SNA_HAS_ASYNC_FLIP)) == 0)
                return 0;

-       kgem_bo_submit(&sna->kgem, bo);
+       kgem_scanout_flush(&sna->kgem, bo);

        sigio = sigio_block();
        for (i = 0; i < sna->mode.num_real_crtc; i++) {
@@ -8789,7 +8789,7 @@ void sna_mode_redisplay(struct sna *sna)
                                        continue;

                                sna_crtc_redisplay(crtc, &damage, bo);
-                               kgem_bo_submit(&sna->kgem, bo);
+                               kgem_scanout_flush(&sna->kgem, bo);

                                arg.crtc_id = __sna_crtc_id(sna_crtc);
                                arg.fb_id = get_fb(sna, bo,
@@ -8889,7 +8889,7 @@ disable1:
                arg.flags = DRM_MODE_PAGE_FLIP_EVENT;
                arg.reserved = 0;

-               kgem_bo_submit(&sna->kgem, new);
+               kgem_scanout_flush(&sna->kgem, new);

                sigio = sigio_block();
                for (i = 0; i < sna->mode.num_real_crtc; i++) {

instead

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160419/55eda1ca/attachment.html>


More information about the intel-gfx-bugs mailing list