Subject: New framebuffer driver - genfb
To: NetBSD port-sparc64 mailing list <port-sparc64@netbsd.org>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc
Date: 04/18/2007 15:06:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've committed a generic framebuffer driver a couple days ago, it 
supports the usual wsdisplay stuff like virtual consoles and might 
serve as an intermediate solution until someone who has access to the 
hardware adds wsdisplay support to those sbus driver still without.
genfb can attach to pci or sbus
When attaching to pci it needs framebuffer parameters passed as 
properties, so far only macppc supports this, adding it to - say - 
sparc64 is trivial though.
With SBus no such thing is necessary, it should use whatever the 
firmware set up.
The problem is that in the SBus case there is no generic way to access 
palette registers so in 8 bit things will be ugly. There's none in the 
PCI case either but on macppc we can use OpenFirmware to do the 
gruntwork.

What I'd like to see tested is:
- - genfb at sbus on sparc(64) with framebuffers we don't have native 
wsdisplay drivers for, like cg14, bwtwo etc.
- - genfb at pci on macppc, it works fine on my machines but it needs to 
be tested on things like /chaos/control
- - XFree86 using the wsfb driver. On macppc native PCI XF86 drivers 
should work too but since genfb doesn't support the /dev/fb* interface 
XFree's SBus drivers won't work.

genfb at pci on anything else than macppc won't work because of missing 
MD code to pass framebuffer parameters.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRiZsGspnzkX8Yg2nAQLLyAgArQAqjVqxhsSvQygZMRuhtwhjKL17JGOT
Z2bSkO6eEPLoTYgIMg9ZcbT3cOdL9Fjkvr5+H989jbKy9y1ndq+0lZCKsfNWKCIa
Z39M+EL3p8bmiyRdB0AssszA7WVpMLntZLtkKlzgh94TWBIbUPfOCaFl5xYNxrs+
bq7OEBtov/4El/y2PPzeD/rcbt8HVeLdG3rsEzSl51Ys6EevRGMqriovaaHn80Jv
C11BfTs53dz+IgCKH1eglkrD0jfdI22/iF6LDN3QJvgji0NiBfhgSmkxsLTTtogl
lgZ24wGJiHno2m0JYKPey4v/S/9C+d2MHIngHWcbYr7ZGI9A1E9G3g==
=f4mu
-----END PGP SIGNATURE-----