flicker-free suspend/resume on Intel
flicker-free suspend/resume on Intel
Posted Mar 6, 2013 1:26 UTC (Wed) by neilbrown (subscriber, #359)In reply to: flicker-free suspend/resume on Intel by sebas
Parent article: The conclusion of the 3.9 merge window
#define SUSPEND_CONSOLE (MAX_NR_CONSOLES-1)
This will always switch console unless disable_vt_switch is set, and that only gets set by a call to pm_set_vt_switch(0).
This is only called by drivers/video/geode/gxfb_core.c and drivers/video/geode/gxfb_core.c, which defaults it to 0 unless it is set by a module parameter:
module_param(vt_switch, int, 0);
MODULE_PARM_DESC(vt_switch, "enable VT switch during suspend/resume");
So it looks like, with 3.9-rc1, you always get a vt switch at suspend/resume unless you have a GEODE video controller.
(note to self: I really should use that pm_set_vt_switch() call for my omap3 display on the GTA04 instead of commenting out the call to pm_prepare_console())
