Bug 91618 - [Regression, bisected] System hang during hibernation on EeePC 1015PE
Summary: [Regression, bisected] System hang during hibernation on EeePC 1015PE
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Imre Deak
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 17:02 UTC by Eugene A. Shatokhin
Modified: 2017-07-24 22:45 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features: power/suspend-resume


Attachments
The patch to fix the problem (1.90 KB, text/plain)
2015-08-12 17:05 UTC, Eugene A. Shatokhin
no flags Details

Description Eugene A. Shatokhin 2015-08-12 17:02:06 UTC
On ASUS EeePC 1015PE with the kernel 3.18 and newer (at least up to 4.2-rc6 inclusive), there is a problem very similar to the one fixed for Lenovo by the following commit in the mainline kernel:

   commit ab3be73fa7b43f4c3648ce29b5fd649ea54d3adb
   drm/i915: gen4: work around hang during hibernation

The laptop has Atom CPU N455 and an integrated graphics controller (PCI ID: 8086-a011-1043-83ac) managed by i915 module.

When I try to put the system to hibernation, the hibernation image is created, the screen turns off but the laptop does not turn off after that (the fan continues to work, the leds are on, etc.) and the system seems to hang.

Bisection of the mainline git tree pointed to the same "bad" commit as it was for Lenovo:

   commit da2bc1b9db3351addd293e5b82757efe1f77ed1d
   drm/i915: add poweroff_late handler

If I revert that change, hibernation works well. 

Detailed information about the hardware, as well as dmidecode, logs and other data is available here: http://hw.rosalinux.ru/index.php?probe=1c0329fde5
Comment 1 Eugene A. Shatokhin 2015-08-12 17:05:09 UTC
Created attachment 117653 [details]
The patch to fix the problem

Here is a patch that fixes that problem on EeePC 1015PE.

The patch was created w.r.t. the mainline kernel, version 4.2-rc6.
Comment 2 Imre Deak 2015-08-31 12:42:15 UTC
There is the following workaround which should also cover your machine:
http://lists.freedesktop.org/archives/intel-gfx/2015-June/070222.html

The above patch is ready to be merged from my POV, Jani could you apply it?
Comment 3 Eugene A. Shatokhin 2015-08-31 13:14:15 UTC
(In reply to Imre Deak from comment #2)
> There is the following workaround which should also cover your machine:
> http://lists.freedesktop.org/archives/intel-gfx/2015-June/070222.html

Yes, that should do it. Thanks a lot!
Comment 4 Jani Nikula 2015-09-01 07:17:42 UTC
Presumed fixed by

commit 54875571bbfde00fc63741715c531cbb5246c3b2
Author: Imre Deak <imre.deak@intel.com>
Date:   Tue Jun 30 17:06:47 2015 +0300

    drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6

in drm-intel-next-fixes.


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.