Re: [PATCH] drm/i915: apply the PCI_D0/D3 hibernation workaround everywhere on pre GEN6

David Weinehall
2015-07-01T12:58:09Z

On Wed, Jul 01, 2015 at 02:35:24PM +0200, Pavel Machek wrote:
> On Wed 2015-07-01 13:53:31, Ville Syrjälä wrote:
> > Sure it does. Eventually we'll want to avoid resuming runtime suspended
> > devices when entering system suspend. For broken machines we'd need to
> > resume the GPU at that point.
>
> You want to optimize transition between suspend-to-RAM and
> hibernation? No? I thought so.
>
> So no benefits, 7 real, broken machines.

Runtime suspend = things like S0ix and other forms of shallow sleep.
System suspend = suspend-to-RAM.

It's not about hibernate (though it'd of course nice if a transition
from suspend to hibernate because of low battery won't result in the
device consuming so much battery during the intermediate wakeup that
the device shuts down rather than hibernates).

Kind regards, David