Re: [Intel-gfx] [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-03 Thread Rafael J. Wysocki
On Sunday, February 03, 2013 09:56:09 AM Jesse Barnes wrote: > On Sat, 02 Feb 2013 21:50:35 +0100 > "Rafael J. Wysocki" wrote: > > > > + * Drivers can indicate support for switchless suspend/resume, which > > > > can > > > > + * save time and flicker, by using this routine and passing 'false' as

Re: [Intel-gfx] [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-03 Thread Jesse Barnes
On Sat, 02 Feb 2013 21:50:35 +0100 "Rafael J. Wysocki" wrote: > > > + * Drivers can indicate support for switchless suspend/resume, which can > > > + * save time and flicker, by using this routine and passing 'false' as > > > + * the argument. If any loaded driver needs VT switching, or the > > >

Re: [Intel-gfx] [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 08:39:21 PM Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 04:34:08 PM Jesse Barnes wrote: > > KMS drivers can potentially restore the display configuration without > > userspace help. Such drivers can can call a new funciton, > > pm_vt_switch_required(fal

Re: [Intel-gfx] [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 04:34:08 PM Jesse Barnes wrote: > KMS drivers can potentially restore the display configuration without > userspace help. Such drivers can can call a new funciton, > pm_vt_switch_required(false) if they support this feature. In that > case, the PM layer won't VT swi

[Intel-gfx] [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-02 Thread Jesse Barnes
KMS drivers can potentially restore the display configuration without userspace help. Such drivers can can call a new funciton, pm_vt_switch_required(false) if they support this feature. In that case, the PM layer won't VT switch to the suspend console at suspend time and then back to the origina