]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6
authorImre Deak <imre.deak@intel.com>
Tue, 30 Jun 2015 14:06:47 +0000 (17:06 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 31 Aug 2015 15:18:51 +0000 (18:18 +0300)
commited9a5c0b0fbdaf790db6378126296a0ac82183df
tree6f3c51d2284141c5d79822c95b9383a2221802d4
parent74989baac9c5ddd62e907d3bedd104edfa7473ee
drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6

commit 526c70e2662ea44a253a99f2a69d458c60ff1f31
Author: Imre Deak <imre.deak@intel.com>
Date:   Thu Oct 23 19:23:26 2014 +0300

    drm/i915: add poweroff_late handler

introduced a regression on old platforms during hibernation. A workaround was
added in

commit 34e681af1ef5c48e18cc2f7ea9e67b7009226fc5
Author: Imre Deak <imre.deak@intel.com>
Date:   Mon Mar 2 13:04:41 2015 +0200

    drm/i915: gen4: work around hang during hibernation

using an explicit blacklist for the GENs/BIOS vendors where the issue was
reported. Later there we had reports of the same failure on platforms not on
this list.

To my best knowledge the correct thing to do is still to put the device to PCI
D3 state during hibernation, see [1] and [2] for the reasons. This also aligns
with our future plans to unify more the runtime and system suspend/resume
paths. Since an exact blacklist seems to be impractical (multiple GENs and
BIOS vendors are affected) apply the workaround on everything pre GEN6.

[1] http://lists.freedesktop.org/archives/intel-gfx/2015-February/060710.html
[2] https://lkml.org/lkml/2015/6/22/274

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=95061
Reported-by: Ilya Tumaykin <itumaykin@gmail.com>
Reported-by: Dirk Griesbach <spamthis@freenet.de>
Reported-by: Pavel Machek <pavel@ucw.cz>
Reported-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Tested-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Reported-by: Paul Bolle <pebolle@tiscali.nl>
CC: stable@vger.kernel.org
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_drv.c