<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - screen corruption using SNA and TearFree on Intel GeminiLake"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105720#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - screen corruption using SNA and TearFree on Intel GeminiLake"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105720">bug 105720</a>
              from <span class="vcard"><a class="email" href="mailto:clinton.a.taylor@intel.com" title="Clinton Taylor <clinton.a.taylor@intel.com>"> <span class="fn">Clinton Taylor</span></a>
</span></b>
        <pre>(In reply to Chris Wilson from <a href="show_bug.cgi?id=105720#c9">comment #9</a>)
<span class="quote">> 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.</span >

Still reproducible with this patch.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>