summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/pci/vgafb.c
AgeCommit message (Collapse)Author
2002-11-09Instead of relying on uvm_useracc(), get a false sense of security, andMiod Vallat
do not check copyin() result, take care and properly handle copyin() failure. This was not harmful, but a bit more correctness never harms.
2002-09-15backout prematureTheo de Raadt
2002-09-15KNFTheo de Raadt
2002-09-06wscons display should have a console priority of INTERNAL, not REMOTE.Dale Rahn
ok miod@
2002-08-02Do correct bounds checking in get/set/put cmap routines. A few ofTodd C. Miller
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare.
2002-07-21cleanup, mostly 'if 0'ed code removal.Dale Rahn
2002-06-27Do not muck with the color palette unless the console depth is 8 bit.Dale Rahn
32 bit depth console and wsfb now work (If firmware is forced to that depth).
2002-05-22- in the OpenFirmware console initialisation, check if the console deviceMiod Vallat
has support for backlight control (laptops do, and probably machines with a built-in monitor do as well). - provide a function to set the screen brightness as well. - use both changes above to add a screen blanker to the vgafb driver - let the screen brightness and backlight be controlled via wsconsctl - clean dust, KNF, and more symbolic names in the vgafb driver to make it better readable Initial code by myself, with some hacks from drahn@ later.
2002-05-18Workaround for color restoration on return from X. vgafb will notDale Rahn
reset the color palette to it's default colors when going back to text mode. Would be better to fix this in the X server. ok matthieu@
2002-04-29Better colors from rasops cmap, and enable all rasops features.Dale Rahn
ok miod, mattheiu
2002-04-29Change macppc vgafb from rcons to rasops, a faster color supporting virtualDale Rahn
terminal emulator for gfx console. tested by mattheiu, miod.
2002-04-20- the set-colors OF call takes a packed array of colors value,Matthieu Herrb
remove the extra padding byte in the vgafb_color struct. - store the initial colormap in vc->vc_cmap_{red,green,blue} so that it can be fetched by a WSDISPLAYIO_GETCMAP ioctl - fix the definition of the magenta color in the initial colormap. Ok, drahn@
2002-04-05Use the OF set-colors operation instead of the color! operation, thisDale Rahn
interface seems to work on more machines, also is more efficient when XF4/wsfb is setting the palette. ok deraadt@
2002-03-26Only allow valid device PAs to be mmapped.Dale Rahn
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-14garbage collect some unused stuff.Jason Wright
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-09-17The gfx display buffer should request that it be mapped cached (writethru).Dale Rahn
Not used yet, but when the bus_space_map code and pmap are fixed, this will speed up the console.
2001-09-13The vgafb driver does not test memory, so no point mapping it during the probe.Dale Rahn
Also, there is no point in mapping more than the 'visual' area for vga memory. this will save kvm space on large memory display cards.
2001-09-01The "powerpc" port which has supported the newer Apple Macintosh powerpc basedDale Rahn
is being renamed to macppc. This is to allow sharing of common code between different powerpc base platforms. Most of the work involved in the renaming process was performed by miod@ Files moved from powerpc/pci to macppc/pci The file pci_machdep.h was not moved in this conversion. It needs to be check if it is correct that should be the only shared powerpc/pci file. Or if that file too should be MD, or more files MI.