Re: Hotplug blacklist and video devices
From: Jon Smirl <hidden>
Date: 2005-02-19 15:56:51
Also in:
lkml
On Sat, 19 Feb 2005 12:29:13 +0000, Matthew Garrett [off-list ref] wrote:
Jon Smirl [off-list ref] wrote:quoted
For example I'm looking at making changes to DRM such that DRM will require the corresponding framebuffer driver to be loaded. If you back up further this is part of fixing X so that it won't mess with the hardware from user space. Mode setting would come from the framebuffer driver instead of the X 2D XAA driver.Please don't until all the framebuffer drivers are able to deal with suspend and resume (which will also require some mechanism to switch backlights back on). Currently, it's far easier to restore some amount of state on a standard VGA or VESA mode. There's no real support for doing so with most accelerated framebuffers.
I didn't say make framebuffer depend on DRM, you can still unload DRM before suspend. It's the other way around DRM needs framebuffer. Suspend/resume are part of this. In the current model there is no way for the DRM driver to see the suspend/resume events. I haven't tried it but I suspect a suspend/resume with DRM running has a bad outcome right now. -- Jon Smirl jonsmirl@gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click