[Intel-gfx] rfc: kms fix S3 resume

Yves-Alexis Perez corsac at debian.org
Tue Feb 10 08:21:58 CET 2009


On Tue, Feb 10, 2009 at 02:11:38PM +0800, Shaohua Li wrote:
> After enabling kms, my console can't get resumed from S3. Below patch
> makes it work, please check.

For the record, I have S3 resume problems with my Thinkpad T61 with 965.
There's an open bug at http://bugs.freedesktop.org/show_bug.cgi?id=19939

Basically, when I suspend (from X, using echo mem > /sys/power/state),
at resume:

- console has some kind of greenish background
- at X switch, it's as if the thinkpad was on acid (there's a picture on
  the bug above and I shown it to Eric Anholt at FOSDEM)

I tried your patch. Suspending from X, using the echo mem >
/sys/power/state.

It suspends fine, then at resume the console seems normal, but then it
just hangs. No return to X and I can't do anything. Plugging an RJ-45
doesn't seem to trigger anything so I guess it's really frozen.
Sysreq+O tries to do something (I see the capslock+numlock leds blink
onece) but it doesn't shut the thinkpad down.

If you need some more info, please ask.

(oh and btw this is with linux-2.6/master + drm-2.6/drm-fixe + your
patch)

Cheers,
-- 
Yves-Alexis



More information about the Intel-gfx mailing list