[Bug 98036] [BYT] constant screen flicker and rendering errors [regression]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 3 15:43:51 UTC 2016


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

--- Comment #12 from Chris Wilson <chris at chris-wilson.co.uk> ---
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 comment #11)
> 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. 

The tail of bug 93844:

commit 40e3be34367141c952678f456f0e0d4632b6c266
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Thu Nov 3 10:18:32 2016 +0000

    sna/dri2: Complete the final flip in a chain after the window is destroyed

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


More information about the intel-gfx-bugs mailing list