Re: [PATCH 10/13] PM: earlysuspend: Add console switch when user requested sleep state changes.

Pavel Machek
2009-02-08T22:02:08Z

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@ucw.cz> 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? I mean, blanking
is slow&uncommon operation... and behaviour of kernel should not
depend on CONFIG_ options.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html