<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BYT] constant screen flicker and rendering errors [regression]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98036#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BYT] constant screen flicker and rendering errors [regression]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98036">bug 98036</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>Patch du jour:

diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index f547248..eee9dcd 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2172,12 +2172,9 @@ static unsigned int intel_surf_alignment(const struct
drm_i915_private *dev_priv
                                         uint64_t fb_modifier)
 {
        switch (fb_modifier) {
+       case I915_FORMAT_MOD_X_TILED:
        case DRM_FORMAT_MOD_NONE:
                return intel_linear_alignment(dev_priv);
-       case I915_FORMAT_MOD_X_TILED:
-               if (INTEL_INFO(dev_priv)->gen >= 9)
-                       return 256 * 1024;
-               return 0;
        case I915_FORMAT_MOD_Y_TILED:
        case I915_FORMAT_MOD_Yf_TILED:
                return 1 * 1024 * 1024;


(In reply to Eero Tamminen from <a href="show_bug.cgi?id=98036#c11">comment #11</a>)
<span class="quote">> DRI2 has another problem, at some point, one fullscreen GL frame gets stuck
> on screen and nothing else will be visible until X session is restarted. </span >

The tail of <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - RetroArch refuses to go back into windowed mode after fullscreen with Intel i915 graphics"
   href="show_bug.cgi?id=93844">bug 93844</a>:

commit 40e3be34367141c952678f456f0e0d4632b6c266
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Thu Nov 3 10:18:32 2016 +0000

    sna/dri2: Complete the final flip in a chain after the window is destroyed</pre>
        </div>
      </p>


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

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