Bug 62275 - [HSW 3.8.2 regression] After running testdisplay with only eDP, screen turn to black and can't light up again
Summary: [HSW 3.8.2 regression] After running testdisplay with only eDP, screen turn t...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: highest critical
Assignee: Daniel Vetter
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 06:03 UTC by shui yangwei
Modified: 2016-10-07 05:40 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg of screen turn to black after running testdisplay with eDP (121.55 KB, text/plain)
2013-03-20 02:06 UTC, shui yangwei
no flags Details

Description shui yangwei 2013-03-13 06:03:20 UTC
Description:
----------------------------------
It's a new regression of HSW on 3.8.2 kernel:
[19b00d2dc9bedf0856e366cb7b9c7733ded659e4] Linux 3.8.2

I find 3.8 kernel is good:
[19f949f52599ba7c3f67a5897ac6be14bfcb1200] Linux 3.8

Our machine is lent to other team for a period, I will attach the attachment later.

Reproduce step:
----------------------------------
1. reboot with bad commit kernel
2. ./testdisplay
3. After display the mode, then screen turn to black and can't light up again

Bisect result:
----------------------------------
719429a54d9c8fd32d457c7d564d1272d9003282 is the first bad commit
commit 719429a54d9c8fd32d457c7d564d1272d9003282
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Feb 6 11:24:41 2013 +0100

    drm/i915: write backlight harder

    commit cf0a6584aa6d382f802f2c3cacac23ccbccde0cd upstream.

    770c12312ad617172b1a65b911d3e6564fc5aca8 is the first bad commit
    commit 770c12312ad617172b1a65b911d3e6564fc5aca8
    Author: Takashi Iwai <tiwai@suse.de>
    Date:   Sat Aug 11 08:56:42 2012 +0200

        drm/i915: Fix blank panel at reopening lid
Comment 1 Gordon Jin 2013-03-18 15:05:29 UTC
Yangwei, have you got the machine now? 

Does it only impact HSW?
Comment 2 shui yangwei 2013-03-20 02:06:34 UTC
Created attachment 76796 [details]
dmesg of screen turn to black after running testdisplay with eDP

Our machine is back, and I append the dmesg here.
Comment 3 shui yangwei 2013-04-01 05:56:42 UTC
(In reply to comment #1)
> Yangwei, have you got the machine now? 
> 
> Does it only impact HSW?

yes,  it's only found on HSW. We have tested all platforms in 3.8.2 release, and haven't find such problem.
Comment 4 shui yangwei 2013-04-01 06:58:04 UTC
I have retested other platforms like : ILK and G45, and haven't find such issue. I list our HSW platform "lspci" info here, I hope it's useful for you.

lspci:
--------------------------
00:00.0 Host bridge: Intel Corporation Device 0c04 (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Device 0416 (rev 06)
00:03.0 Audio device: Intel Corporation Device 0c0c (rev 06)
00:14.0 USB Controller: Intel Corporation Device 8c31 (rev 03)
00:19.0 Ethernet controller: Intel Corporation Device 153a (rev 03)
00:1a.0 USB Controller: Intel Corporation Device 8c2d (rev 03)
00:1b.0 Audio device: Intel Corporation Device 8c20 (rev 03)
00:1c.0 PCI bridge: Intel Corporation Device 8c1c (rev d3)
00:1d.0 USB Controller: Intel Corporation Device 8c26 (rev 03)
00:1f.0 ISA bridge: Intel Corporation Device 8c4f (rev 03)
00:1f.2 SATA controller: Intel Corporation Device 8c03 (rev 03)
00:1f.3 SMBus: Intel Corporation Device 8c22 (rev 03)
Comment 5 Gordon Jin 2013-04-15 14:19:09 UTC
Daniel, any comment?
Comment 6 Daniel Vetter 2013-04-15 16:14:51 UTC
We've reverted the offending patch in upstream, and that should have reached -stable kernels in 3.8.5 as

commit 0e7a2fe01333f72c1cec1cd4d5293a62c770fa4f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Mar 22 15:44:46 2013 +0100

    Revert "drm/i915: write backlight harder

Upstream commit in 3.9-rc is:

commit b1289371fcd580b4c412e6d05c4cb8ac8d277239
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Mar 22 15:44:46 2013 +0100

    Revert "drm/i915: write backlight harder"
Comment 7 shui yangwei 2013-04-28 05:28:24 UTC
(In reply to comment #6)
> We've reverted the offending patch in upstream, and that should have reached
> -stable kernels in 3.8.5 as
> 
> commit 0e7a2fe01333f72c1cec1cd4d5293a62c770fa4f
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Fri Mar 22 15:44:46 2013 +0100
> 
>     Revert "drm/i915: write backlight harder
> 
> Upstream commit in 3.9-rc is:
> 
> commit b1289371fcd580b4c412e6d05c4cb8ac8d277239
> Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> Date:   Fri Mar 22 15:44:46 2013 +0100
> 
>     Revert "drm/i915: write backlight harder"

3.8.5 is good, I verified it here.
Comment 8 Gordon Jin 2013-07-03 06:01:36 UTC
(give credit to Daniel)
Comment 9 Jari Tahvanainen 2016-10-07 05:40:37 UTC
Closing verified+fixed.


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.