Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-02 | When about to run X11 in 32 bpp mode, advertize correctly that we are | Mark Kettenis | |
really using 24 bpp pixels on 32 bit boundaries. ok miod@ | |||
2009-03-01 | Don't let an mmio area replace the frame buffer if they are the same size. | Mark Kettenis | |
Seen on a Tech Source Raptor. ok miod@ | |||
2008-12-29 | Move ifb identification to its own routine. We can not simply have the ifb | Miod Vallat | |
probe win over vgafb, since one may configure a kernel with vgafb but without ifb (especially slackers who forget to rerun config). | |||
2008-12-27 | Sync the sparc64 fb* api with the recent changes done on sparc. | Miod Vallat | |
2008-10-01 | Revert last commit. It didn't really help and we fixed X11 instead. | Mark Kettenis | |
ok miod@ | |||
2008-08-11 | Allow mapping mmio regions that are not page aligned. | Mark Kettenis | |
ok miod@ | |||
2008-03-23 | Use new defines from pcidevs to match Expert3D. | Miod Vallat | |
2008-03-21 | Do not attach vgafb if not the console device, since the PROM will not have | Miod Vallat | |
initialized the device in this case. | |||
2007-03-06 | Three more Expert3D-like frame buffers we shouldn't attach to yet. | Miod Vallat | |
2007-01-13 | Do not match on Expert3D and Expert3D-Lite cards, these will require a | Miod Vallat | |
different driver. | |||
2006-12-17 | Remove unnecessary <dev/wscons/wscons_raster.h> inclusion. | Miod Vallat | |
2006-08-29 | XXX when we find vgapci devices on a USIII machine, fail to match | Theo de Raadt | |
(for now, until the bugs are found. USIII machines remain serial-only for now); ok miod | |||
2006-08-11 | For non-console vgafb, force rasops to initialize it as a monochrome resource, | Miod Vallat | |
since we can't program the colormap anyway. | |||
2006-05-30 | Sync region detection algorithm with macppc, helps some recent cards, such | Miod Vallat | |
as 3DLabs Permedia and Intergraph Expert3D. Also, if no mmio region is found, attach anyway, this only prevents accelerated X11 from starting. | |||
2006-04-16 | Remove code from an old (broken) diff of mine, which crept in in last commit. | Miod Vallat | |
2006-04-09 | On macppc and sparc64, if allowaperture=0 only allow mmap()-ing of | Matthieu Herrb | |
the framebuffer memory in WSDISPLAYIO_MODE_DUMBFB mode. | |||
2005-07-17 | Make sure we don't reprogram the colormap upon leaving mapped mode, | Miod Vallat | |
if we are not the console display; prevents a stupid panic. | |||
2005-03-15 | Only warn if pci_{io,mem}_find fails if the returned value is not ENOENT - empty | Miod Vallat | |
ranges are skipped and considered harmless. | |||
2005-03-15 | Take care of updating the PROMs view of the cursor position in the common fb | Miod Vallat | |
code, rather than doing this in only a subset of the fb drivers. | |||
2005-03-07 | Do not bother passing the blanking routine to fbwscons_console_init(), | Miod Vallat | |
as fbwscons_attach() can find it on its own. | |||
2005-01-05 | Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most | Miod Vallat | |
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error. | |||
2004-12-02 | Add pci_decompose_tag() for sparc64. | Brad Smith | |
From NetBSD ok deraadt@ | |||
2004-11-30 | Move the struct wsscreen_descr from a per-driver global to a per-instance | Miod Vallat | |
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC). [file excluded in previous commit by mistake. spotted by claudio@] | |||
2004-08-10 | Print the newline after vgafb_mapregs(), not before since vgafb_mapregs() | Todd C. Miller | |
may print diagostic messgaes on error. OK henning@. | |||
2003-06-16 | Nuke a few more data and code superseded by the fb api. | Miod Vallat | |
2003-06-16 | Adapt to the fbxxx() API. | Miod Vallat | |
tested by matthieu@, krw@ and I on various hardware. | |||
2003-06-02 | nuke terms 3 & 4 | Jason Wright | |
2002-12-25 | Initialize color palette from rasops settings (from sparc) rather than | Miod Vallat | |
from incorrect values, and restore it after X11 use (from macppc). | |||
2002-12-10 | Register as the "std" wscons device, not "sun". This is consistent with other | Miod Vallat | |
frame buffers, and produces less confusing dmesg output. | |||
2002-11-09 | Instead of relying on uvm_useracc(), get a false sense of security, and | Miod 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-15 | Fix color choices to match wsemul_sun requirements. | Miod Vallat | |
Tested by and ok matthieu@ | |||
2002-09-10 | Register more wsscreen properties to take advantage of wsemul_sun changes. | Jason Wright | |
2002-08-19 | Take advantage of rasops.updatecursor to keep the prom cursor up to date | Jason Wright | |
2002-08-02 | Do correct bounds checking in get/set/put cmap routines. A few of | Todd C. Miller | |
these check were already OK but have been modified for consistency. Problem found by Silvio Cesare. | |||
2002-07-30 | simplify vgafb_mmap() | Jason Wright | |
2002-07-25 | There's no need to override the default mapping to big endian now that ↵ | Jason Wright | |
rasops8 handles byte swapping itself. | |||
2002-07-24 | - don't need mmio or io registers mapped for console use | Jason Wright | |
- can't map expansion rom this way, remove it until we find a safe way - use less magic constants | |||
2002-06-11 | Fix (include sys/pciio.h) | Jason Wright | |
2002-06-11 | s/pcitag/sc_pcitag so it compiles (sorry matthieu) | Jason Wright | |
2002-06-11 | add a new ioctl to wscons (currently implemented only on sparc64) | Matthieu Herrb | |
`that returns the bus:dev:func PCI id of the device. ok jason@. | |||
2002-06-04 | Convert vgafb from rcons to rasops | Jason Wright | |
If depth is 24, select rasops32 (and make sure the stride is right) | |||
2002-04-15 | Since XFree doesn't try to remap things behind our backs anymore, simplify | Jason Wright | |
the driver a bit (mainly don't reprobe the pci address for every call to vgafb_mmap()). | |||
2002-04-08 | Credit DARPA/USAF appropriately. | Jason Wright | |
2002-04-01 | Remove all traces of VGAFB_ALLOW_NATIVE. | Jason Wright | |
2002-03-31 | add a new mode to wsdisplay, WSDISPLAYIO_MODE_DUMBFB. This mode is | Jason Wright | |
functionally equivalent what used to be WSDISPLAYIO_MODE_MAPPED, which now means a "native" mapping. vgafb_mmap() returns pci relative mappings in WSDISPLAYIO_MODE_MAPPED and linear framebuffer mappings in WSDISPLAYIO_MODE_DUMBFB | |||
2002-03-30 | Don't honor native accesses unless VGAFB_ALLOW_NATIVE is defined (this is | Jason Wright | |
a temporary workaround that will be backed out when more work is done elsewhere) | |||
2002-03-28 | - recheck the PCI BAR's during mmap: XFree86 doesn't like the prom mappings | Jason Wright | |
so rather than deal with it, it remaps things. - turn off access to the rom... this may need rethinking (both accelerated X and dumb framebuffer X work because the offsets will not overlap). | |||
2002-03-27 | Avoid using bus_space_map2() on the rom (was too lazy to deal with endian =), | Jason Wright | |
instead use bus_space_map() and bus_space_read_1() to gaurantee correct endian; speed isn't an issue here (well, as long as some joker doesn't ship a 16MB vga rom...) | |||
2002-03-27 | Make a shadow copy of the bios rom (if available) and make it available via mmap | Jason Wright | |
Also, don't hardcode the length of the pixel memory in vgafb_mmap(), use the size provided by pci_mem_find. | |||
2002-03-27 | bus_space_mmap wants the paddr not the handle | Jason Wright | |