Bug 30499

Summary: Framebuffer distorted (tiling) after suspend (StR) on SandyBridge
Product: xorg Reporter: Matthias Hopf <mat>
Component: Driver/intelAssignee: Carl Worth <cworth>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium CC: kent.liu, sndirsch
Version: git   
Hardware: x86 (IA32)   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Matthias Hopf 2010-09-30 07:40:32 UTC
Using xf86-video-intel 2.12.902 + git master commit 345c963 (Always use tiling on Sandybridge) we still get distorted framebuffers after suspend.

Disabling tiling makes this work, so apparently tiling is not setup correctly. Restarting the Xserver (with tiling enabled) works as well. All consoles look good as well, so KMS is working fine.
Comment 1 Chris Wilson 2010-09-30 10:37:03 UTC
Is this not bug 30199?

commit e259befd9013e212648c3bd4f6f1fbf92d0dd51d
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 17 00:32:02 2010 +0100

    drm/i915: Fix Sandybridge fence registers
    
    With 5 places to update when adding handling for fence registers, it is
    easy to overlook one or two. Correct that oversight, but fence
    management should be improved before a new set of registers is added.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug?id=30199
    Original patch by: Yuanhan Liu <yuanhan.liu@intel.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: stable@kernel.org
Comment 2 Matthias Hopf 2010-10-01 03:39:30 UTC
Good catch! This fixes the issue here.

Thanks!

*** This bug has been marked as a duplicate of bug 30199 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.