Re: [PATCH] Framebuffer: 2nd try: client notification mecanism & PM
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-08-07 13:34:35
Also in:
lkml
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-08-07 13:34:35
Also in:
lkml
On Thu, 2003-08-07 at 12:03, Pavel Machek wrote:
I believe solution to this is simple: always switch to kernel-owned console during suspend. (swsusp does it, there's patch for S3 to do the same). That way, Xfree (or qtopia or whoever) should clean up after themselves and leave the console to the kernel. (See kernel/power/console.c)
I admit I quite like this solution. It would also help displaying something sane (blank, pattern, whatever) on screen during driver teardown instead of the junk left by X... I'll look into including that switch into my pmac code as well and see if it works properly in all cases (I think so). Also, recent DRI CVS finally has working suspend/resume (works on console switch too). Ben. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01