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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 10, 2009 at 05:49:12PM -0800, Arve Hjønnevåg wrote:
> 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.

Mm. The console VT switching is an ugly hack to deal with the fact that 
in the x86 world graphics reinitialisation is handled by userspace, and 
so we otherwise have races between graphis reinitialisation and X. I 
don't think it's helpful to further perpetuate that hack, especially 
when you have another mechanism for requestng a screen refresh.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux