[Bug 105720] screen corruption using SNA and TearFree on Intel GeminiLake

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 26 17:14:44 UTC 2018


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

--- Comment #11 from Clinton Taylor <clinton.a.taylor at intel.com> ---
(In reply to Chris Wilson from comment #9)
> Variant of earlier test, force TearFree to use a new(ish) scanout on every
> frame:
> 
> diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
> index e7bf6cab..409bb9bf 100644
> --- a/src/sna/sna_display.c
> +++ b/src/sna/sna_display.c
> @@ -1785,7 +1785,7 @@ static bool wait_for_shadow(struct sna *sna,
>         }
>  
>         bo = sna->mode.shadow;
> -       if (flip_active) {
> +       if (flip_active || 1) {
>                 bo = kgem_create_2d(&sna->kgem,
>                                     pixmap->drawable.width,
>                                     pixmap->drawable.height,
> 
> It is still pulling the scanout from a cache (or else we need to clflush
> everytime) but we now have a full frame delay before reuse, and we are
> forced to do a fullscreen copy everytime.

Still reproducible with this patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180326/59fa8f88/attachment.html>


More information about the intel-gfx-bugs mailing list