Bug 18180

Summary: i915 drm module: suspend to ram works only if invoked after resuming from suspend to disk
Product: DRI Reporter: Leonardo <leonardocanducci>
Component: DRM/IntelAssignee: Jesse Barnes <jbarnes>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: medium CC: jsteel
Version: unspecifiedKeywords: NEEDINFO
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Leonardo 2008-10-22 09:16:03 UTC
Jesse Barnes pointed me here. This problem seem to be related to i915 drm module.

I described and discussed the problem here:
http://lists.freedesktop.org/archives/pm-utils/2008-October/001673.html

I'm running debian lenny on an acer travelmate 290 with 855gm intel integrated video (debian stock kernel 2.6.26-1-686, Xorg: 7.3, intel driver 2.3.2)

Description of the problem:
Suspend to disk always works.
When using console (no X running) or X with vesa driver:
- suspend to ram works fine
When using intel driver: 
- suspend to ram fails on every normal boot: laptop suspends but on resume system freezes with blank screen and no keyboard control
- suspend to ram works fine when resuming from disk: on a normal boot I invoke pm-hibernate; laptop suspends to disk; when I resume from disk suspend to ram works flawlessly every time I want

So the problem must be related to intel hardware. I was asked to produce a dump using intel_reg_dumper here:
http://lists.freedesktop.org/archives/pm-utils/2008-October/001708.html
and to file a bug in bugzilla.

Many thanks for your help,
leonardo
Comment 1 Jesse Barnes 2009-10-05 11:07:53 UTC
Oops, how did this sit for a year without an update?

Does this behavior still happen?  There have been many suspend/resume fixes since Oct. of last year...
Comment 2 Jonathan Steel 2009-10-29 14:55:12 UTC
I too have this problem with my Acer 290 running Debian Lenny. I can confirm that this problem still exists, but seems to work with newer Intel graphics drivers (version 2.6 upwards).

I would like to get it working properly with version 2.3 provided in Debian Lenny. After all, it works after a hibernate!

How can I help resolve this issue?
Comment 3 Jesse Barnes 2010-02-05 15:25:23 UTC
If it's fixed in 2.6 I'd consider it done.  If someone from Debian wants to look at the changes between the two drivers and kernels and backport they're welcome to of course; I'm happy to answer questions too.

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.