<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#c27">Comment # 27</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:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>The lack of green onto the rotated output gives an idea:

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 7fccb508..0ddb2080 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -1837,6 +1837,7 @@ static bool wait_for_shadow(struct sna *sna,
        RegionSubtract(&sna->mode.shadow_region,
                       &sna->mode.shadow_region,
                       &sna->mode.shadow_cancel);
+       DamageRegionAppend(sna->front, &sna->mode.shadow_region);

        while (!list_is_empty(&sna->mode.shadow_crtc)) {
                struct sna_crtc *crtc =</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>