On Monday, March 19, 2007 12:38 pm David Miller wrote:
That certainly keeps things simple, but most machines force us into a
more flexible approach. :)
I'm working on an approach that will teach the DRM layer about
modesetting, which should address all the problems above, and also
allow flexible uses like multihead and (I hope, though this is far
fetched) things like a separate head for a kernel level debugger.
As for what happens at panic time, if the kernel knows how to modeset we
can do whatever we want: conservatively clear an appropriate scanout
buffer and render our panic there, switch into a better mode to dump
the panic if we think that's possible, or just hang without any output
like we do today.
Kernel based modesetting should get us a lot of things:
o robust suspend/resume support
o some more independence from X for complex gfx setups
o a good mode at early boot time
and several others I'm leaving out at the moment. On the downside, the
modesetting layer will be a chunk of new code, and require enhanced
chip specific mode setting code to be added to the drm/fb drivers.
Jesse
-