Re: Commit 500f7147cf5bafd139056d521536b10c2bc2e154 breaks _resume_

Jeff Chua
2011-02-06T14:01:23Z

On Sun, Feb 6, 2011 at 7:00 PM, Takashi Iwai <tiwai@suse.de> wrote:
> At Sun, 6 Feb 2011 09:50:51 +0800,
> Jeff Chua wrote:
>>
>> On Sun, Feb 6, 2011 at 2:24 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>> >> The suspend monster is back! The suspend-to-ram is fine, but upon
>> >> resume, screen is blank. Haven't bisected in case someone has also
>> >> done so.

> Hrm, what is the symptom?  I couldn't find it because you cut off the
> thread, and it's not cited.

Takashi-san,

It's the commit below. I've checked it twice. Reverting it solves the
problem. Suspend to Ram ok. Upon resume, screen is blank. Keyboard
hangs. Had to do a hard reset.

My notebook is the Lenovo X201s, 64-bit. Part of Xorg.0.log here ...

[ 8492.036] (II) LoadModule: "intel"
[ 8492.036] (II) Loading /usr/X11/lib/xorg/modules/drivers/intel_drv.so
[ 8492.036] (II) Module intel: vendor="X.Org Foundation"
[ 8492.036] compiled for 1.9.99.901, module version = 2.14.0
[ 8492.036] Module class: X.Org Video Driver
[ 8492.036] ABI class: X.Org Video Driver, version 9.0

Thanks,
Jeff

>> commit 500f7147cf5bafd139056d521536b10c2bc2e154
>> Author: Chris Wilson <chris@chris-wilson.co.uk>
>> Date:   Mon Jan 24 15:14:41 2011 +0000
>>
>>     drm/i915: Reset state after a GPU reset or resume
>>
>>     Call drm_mode_config_reset() after an invalidation event to restore any
>>     cached state to unknown.
>>
>>     Tested-by: Takashi Iwai <tiwai@suse.de>
>>     Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>