Bug 14312

Summary: drm/i915: temporal screen corruption with framebuffer compression
Product: Drivers Reporter: Santi (santi)
Component: Video(DRI - Intel)Assignee: drivers_video-dri-intel (drivers_video-dri-intel)
Status: CLOSED CODE_FIX    
Severity: normal CC: gordon.jin, jbarnes, rjw
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: v2.6.32-rc1 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 14230    

Description Santi 2009-10-03 09:25:17 UTC
Hi *,

  I've tested v2.6.32-rc1 and found that the screen is corrupt in X, some lines go left while other move more to the left and others don't move and this corruption changes when the screen image is updated. Of course with KMS. In v2.6.32-rc1 it happens after a sleep/resume cycle, but in other versions it happens just after boot. I've bisected this and found this commit as guilty:

v2.6.31-rc9-145-g74dff28

commit 74dff282237ea8c0a5df1afd8526eac4b6cee063
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Tue Sep 15 00:39:40 2009

    drm/i915: framebuffer compression for GM45+
    
    Add support for framebuffer compression on GM45 and above.  Removes
    some unnecessary I915_HAS_FBC checks as well (this is now part of the
    FBC display function).
    
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: Eric Anholt <eric@anholt.net>

  I have a Dell Latitude E5400 with the graphic card:

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)

00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)

  I've also reverted this commit on top of v2.6.32-rc1 and it also fixes the problem.

  If you need more info or you want me to test patches just tell me.

Thanks,
Santi
Comment 1 Gordon Jin 2009-10-05 06:38:12 UTC
Let's track at http://bugs.freedesktop.org/show_bug.cgi?id=24314
Comment 2 Rafael J. Wysocki 2009-11-04 18:46:33 UTC
Sorry, but no.
Comment 3 Rafael J. Wysocki 2009-11-04 18:55:45 UTC
Fixed by commits 0d9c778978ff268228c095ae737c282c03a5986d,
0e442c60dd39ac6924b11a20497734bd2303744c, 629598da932cfa5ff398fe10bc123282a6f3049e