-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Oct 28, 2009, at 9:45 AM, Manuel Bouyer wrote:
On Wed, Oct 28, 2009 at 02:10:27AM +0000, Michael Lorenz wrote:
Module Name: src
Committed By: macallan
Date: Wed Oct 28 02:10:27 UTC 2009
Modified Files:
src/sys/dev/pci: files.pci
Added Files:
src/sys/dev/pci: pm2fb.c pm2reg.h
Log Message:
A driver for the Permedia 2 graphics processor, so far it's been
tested only
on sparc64 with a Sun PGX32 / TechSource Raptor GFX 8P
So far it accelerates block copies, rectangle fills and the cursor,
it
supports the usual wsdisplay / vcons stuff.
TODO:
- character drawing by hardware so we don't need to map the
framebuffer
- DDC2 support
- mode setting
This driver still relies on the firmware to set up graphics modes
etc. so it
won't work on x86 ( or non-OpenFirmware for that matter ) unless
you use the
VESA BIOS to set up graphics and pass the right properties ( width,
height
etc. ) to the driver. For the same reason it will work only if it's
the
OpenFirmware console.
Hi,
These can also be found on alpha systems; I have one in my desktop
at work (along with a MGA 2164W for dual-head). Will this driver
work here ?
Probably not as it is, unless your firmware sets up some graphics
mode. If it does you still need to pass some geometry information to
the driver as device properties ( macppc and sparc64 already do that,
you need width, height in pixels, depth in bits, is_console must be 1
if the driver is needs to call wsdisplay_cnattach() - that way the
driver can stay free of any firmware dependencies )
Eventually it will implement mode setting, then it will only need
is_console.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSuiYMcpnzkX8Yg2nAQKxMAf+M3r27Su+iM/ufY0lyD+5NV8q6ddVEVDl
IKD/hO6zhqdLV1w33ZVHs5h5T4MaTzWHJE5nuSHug46350WeZ7YlYS4tnEQep1at
fwKJaEO3uGxqQ8mVunaAkDNTz+EPSMSaJylUi3tbNG90N/gRRy6LVGFDuE9B9H+v
zcCycIZWwQhLIVi1H59bTUCAToCkDdFx7z3byvi9B8sicHbJb004UxLYh6SlSfG9
zwM7ZDfvToudlpnIKSMWxVkStSJIDMSvCzQ5//tEsXfe81f+6eRx4Fk5DLpwEiLo
2rIxwtFCrxZ3k0PaSRRYZihxy9FBtqU2rcGK1FT/ZRbF1eQetKqhng==
=/gR8
-----END PGP SIGNATURE-----