Thread (3 messages) 3 messages, 2 authors, 2008-03-06

Re: reguest for comments regarding an imac_fb and efifb unification

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2008-03-06 19:49:11

On Thu, 6 Mar 2008, Scott D. Davilla wrote:
I've involved in development that involves a non-standard efi 
bootloader and both imac_fb and efifb console framebuffers and it 
seem redundant to have two console framebuffers that perform the same 
function. efi_fb is actually a simplification of imac_fb.

Both imac_fb and efifb are actually very simple in operation, they 
both assume a linear video frame buffer with fixed x,y dimensions.

In actual usage;

	imac_fb is used in two ways, 1) setup using command-line 
params or DMI info for traditional Apple desktops and 2) setup using 
command-line params that are created by mach_boot_linux, the AppleTV 
bootloader.

	efifb is always setup by using screen_info that the 
bootloader configures.

	Nether actually depends on EFI but rather neither can depend 
on  video/pc bios, these might/might not hang/crash the hardware.

So it seems that by adding command-line param setup to efifb and some 
DMI checks, imac_fb can be merged into efifb. efifb is really a 
strange name as it has no interaction with EFI, it just happens to 
get used under an EFI environment. It's really just a non-accelerated 
linear video frame buffer configured by screen_info boot params so it 
could be used by any hardware that has a linear framebuffer 
organization.

Which brings up the point, is there another more general console 
frame buffer that could replace both imac_fb and efifb? It seems that 
a generic console framebuffer that assumes a linear video framebuffer 
that does not make video bios calls (nor PC bios) and can be 
configured by screen_info params or command-line params would be 
something that already exists? Is there such a console frame buffer?

I'm willing to pursue this but I want to check the general consensus 
about such a venture and possible ramifications that I might not have 
considered.
There exist a few more drivers for simple linear video frame buffer
devices with fixed x,y dimensions:
  - offb, for Open Firmware based machines,
  - vesafb, for VBE 2.0 compliant graphic boards.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help