On Sun 2009-02-08 14:53:33, Arve Hj?nnev?g wrote: > On Sun, Feb 8, 2009 at 2:02 PM, Pavel Machek <pavel@xxxxxx> wrote: > > On Thu 2009-02-05 18:29:30, Arve Hj?nnev?g wrote: > >> On Thu, Feb 5, 2009 at 1:03 AM, Pavel Machek <pavel@xxxxxx> wrote: > >> > changelog would be welcome. > >> PM: earlysuspend: Add console switch when user requested sleep > >> state changes. > >> > >> When early-suspend is enabled, the framebuffer is turned off at > >> early-suspend. If CONSOLE_EARLYSUSPEND is enabled, a console switch > >> is used to notify user space that it should stop drawing before > >> the framebuffer is disabled, and that it should repaint and resume > >> drawing after the framebuffer is turned back on. > > > > I'd say that userspace can just do the switch itself? > > The purpose of the console switch is to take the framebuffer away from > user-space. Are you suggesting that we instead should initiate sleep > when user-space switches to the sleep console? That looks like a solution, yes. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm