* Re: [PATCH] Framebuffer: client notification mecanism & PM [not found] <1059487140.8537.35.camel@gaston> @ 2003-07-29 16:55 ` James Simmons 2003-07-29 20:22 ` Benjamin Herrenschmidt 0 siblings, 1 reply; 4+ messages in thread From: James Simmons @ 2003-07-29 16:55 UTC (permalink / raw) To: Benjamin Herrenschmidt Cc: Petr Vandrovec, linux-kernel mailing list, Linux Fbdev development list > > matroxfb tried to use a 'dead' for handling hot removal, but your code > > looks definitely saner > > My code wasn't really intended to deal with hot-removal, more with > "what happens if printk occurs during the Power Management suspend > sequence", but I tried to keep the notification mecanism simple > enough so it could be used for that as well. Also, indeed, the fbcon > changes should deal with hot-removal in some way (though you surely > also want to "deatch" from the fbdev's in this case). > > Among other things that could be used for is live monitor insertion/ > removal detection (some HW are able to do that), "pivot" monitor > kind of things, etc... typically via the mode_changed hook. I knew it was a matter of time before "client" management would happen. Is this a 2.6.X thing tho or shoudl we wait for the next developement cycle. I don't mind working on experimental stuff. ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Framebuffer: client notification mecanism & PM 2003-07-29 16:55 ` [PATCH] Framebuffer: client notification mecanism & PM James Simmons @ 2003-07-29 20:22 ` Benjamin Herrenschmidt 2003-07-29 21:31 ` James Simmons 2003-07-30 12:22 ` Benjamin Herrenschmidt 0 siblings, 2 replies; 4+ messages in thread From: Benjamin Herrenschmidt @ 2003-07-29 20:22 UTC (permalink / raw) To: James Simmons Cc: Petr Vandrovec, linux-kernel mailing list, Linux Fbdev development list On Tue, 2003-07-29 at 12:55, James Simmons wrote: > > > matroxfb tried to use a 'dead' for handling hot removal, but your code > > > looks definitely saner > > > > My code wasn't really intended to deal with hot-removal, more with > > "what happens if printk occurs during the Power Management suspend > > sequence", but I tried to keep the notification mecanism simple > > enough so it could be used for that as well. Also, indeed, the fbcon > > changes should deal with hot-removal in some way (though you surely > > also want to "deatch" from the fbdev's in this case). > > > > Among other things that could be used for is live monitor insertion/ > > removal detection (some HW are able to do that), "pivot" monitor > > kind of things, etc... typically via the mode_changed hook. > > I knew it was a matter of time before "client" management would happen. > Is this a 2.6.X thing tho or shoudl we wait for the next developement > cycle. I don't mind working on experimental stuff. We need that now for proper power management. Ben. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Framebuffer: client notification mecanism & PM 2003-07-29 20:22 ` Benjamin Herrenschmidt @ 2003-07-29 21:31 ` James Simmons 2003-07-30 12:22 ` Benjamin Herrenschmidt 1 sibling, 0 replies; 4+ messages in thread From: James Simmons @ 2003-07-29 21:31 UTC (permalink / raw) To: Benjamin Herrenschmidt Cc: Petr Vandrovec, linux-kernel mailing list, Linux Fbdev development list > > I knew it was a matter of time before "client" management would happen. > > Is this a 2.6.X thing tho or shoudl we wait for the next developement > > cycle. I don't mind working on experimental stuff. > > We need that now for proper power management. Okay. ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] Framebuffer: client notification mecanism & PM 2003-07-29 20:22 ` Benjamin Herrenschmidt 2003-07-29 21:31 ` James Simmons @ 2003-07-30 12:22 ` Benjamin Herrenschmidt 1 sibling, 0 replies; 4+ messages in thread From: Benjamin Herrenschmidt @ 2003-07-30 12:22 UTC (permalink / raw) To: James Simmons Cc: Petr Vandrovec, linux-kernel mailing list, Linux Fbdev development list > > I knew it was a matter of time before "client" management would happen. > > Is this a 2.6.X thing tho or shoudl we wait for the next developement > > cycle. I don't mind working on experimental stuff. Note, BTW, there's also a locking issue. Typically, we must make sure the fbcon (which may be running another CPU) have finished doing whatever it was doing before returning, and we don't get any mode change or whatever ioctl initiated thing at that moment (or be in the middle of doing it). Right now, my code assumes any operation on the fbdev is protected by the console sem. However, looking at the console & fbmem code, that is not always true. Typically, userland ioctls in fbmem aren't, and vt.c may call into consoles in some cases without holding it neither. That should probably be fixed, though I haven't had time to work on it yet. 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 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-07-30 12:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1059487140.8537.35.camel@gaston>
2003-07-29 16:55 ` [PATCH] Framebuffer: client notification mecanism & PM James Simmons
2003-07-29 20:22 ` Benjamin Herrenschmidt
2003-07-29 21:31 ` James Simmons
2003-07-30 12:22 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).