I wouldn't rule it out. If someone wants to wipe up some code I would have
no problem testing it to see if it is worth it.
>Seeing as you bring up this topic of writing a 9525 driver. It seems to
>me rather wasteful that you (collectively linux framebuffer authors),
>XFree86 and Berlin are all writing drivers for the same, hugely diverse
>class of hardware, to support more or less the same ops on the hardware.
>Isn't possible to pool the development effort of video drivers? Doesn't
>X require basically the same set of operations as the kernel? I.e.,
>initialise the card and video mode (usually the very complex part); do
>some rendering ops (usually fairly simple). Sure, X provides a few more
>kinds of rendering op, but that part of the code is usually much simpler
>and smaller than the initialisation code.
Well the goal of each is very much different. Fbcon was developed to deal
the fact that most modern video hardware doesn't support text but graphical
based modes instead. VGA text is slowly going away. Since are goal is to
emulate a text console we just have to provide basic support to provide
just this. We need to
1) Draw basic text -> Glyph operations.
2) scrolling -> hardware panning or a copy area operation.
3) scroll a region of the screen -> copy area operation.
4) Clear the display or region of display -> fillrect
5) Set color palette.
6) Manage a hardware cursor.
7) Manage the current resolution for VC switching or a mode change vi
VT_RESIZE or TIOCSWINSZ.
So fbcon is out of necessite. Now X you mean XFree86 which is really a OS
in itself. Its goal to do everything itself so it can run everywhere
know to mankind. As for Berlin I don't know the code so I can't say.
As people are finding out XFree86 doing everything itself is having
issues. A good example is the classic problem of X dying and you have to
reboot the machine. Also when under heavy load and you exit X to the
console you don't get the text mode. Well right now its tough luck and
just reboot your machine. A M$ solution but people have been doing it
so long they don't mind it. I hope to fix those problems for 2.5.X.
As you can see I think the OS should handle the transfer from console mode
to text mode and vice versa. Now for programming the accel engine to do
graphics in userland. Well their is nothing wrong that each does their own
thing. What does matter is their is a GIU independent kernel manager of
the graphics engine state. DRI attempts to handle this.
MS: (n) 1. A debilitating and surprisingly widespread affliction that
renders the sufferer barely able to perform the simplest task. 2. A disease.
James Simmons [firstname.lastname@example.org] ____/|
fbdev/console/gfx developer \ o.O|
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/