Thread (18 messages) flat view 18 messages, 9 authors, 2005-03-05

Re: [Linux-fbdev-devel] RFC: disallow modular framebuffers

From: David Vrabel <hidden>
Date: 2005-03-02 11:32:59
Also in: lkml

Adrian Bunk wrote:
Do modular framebuffers really make sense?
Yes.  e.g., on embedded systems you may not use the display hardware
(and would therefore like to save a bit of memory) but it's convenient
to have only one build of the kernel/modules.
OK, distributions like to make everything modular, but all the 
framebuffer drivers I've looked at parse driver specific options in 
their *_setup function only in the non-modular case.
Not the (new) Geode framebuffer driver -- it uses regular module
parameters for this very reason.
And most framebuffer drivers contain a module_exit function.
Is there really any case where this is both reasonable and working?
It's useful for testing if nothing else.  True, the Geode framebuffer
driver won't restore the mode on unload but since the software VGA
emulation on a Geode is less than perfect[*] I would expect people to
not use vgacon and thus there's nothing really to restore.

David Vrabel

[*] I never did work out what happened to the cursor...
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help