summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/vga_pcivar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make inteldrm(4) attach to pci(4) instead of vga(4) just like radeondrm(4).kettenis2015-10-291-11/+1
| | | | | | | This is needed for machines where Intel graphics isn't the primary graphics device and on systems with UEFI firmware that put the device in non-VGA mode. ok jsg@
* remove unused vesafb code, had been commented out and not compiled in formlarkin2015-08-201-8/+1
| | | | | | | 7 years (for some parts, 9 years), and was only ever referenced in i386 anyway. ok jsg@, matthieu@, armani@
* The aperture needed test should be in vgafb as well as vga@pci.jsg2014-07-221-1/+2
| | | | | | Problem noticed/fix tested by sebastia@ on macppc. sparc64 problems in earlier diff pointed out by deraadt@ 'looks good' kettenis@ 'commit' deraadt@
* Add a port of the TTM and Radeon DRM code from Linux 3.8.13.jsg2013-08-121-2/+2
| | | | | | | | | | | | | | Includes kernel modesetting, framebuffer console and support for newer hardware. Firmware needs to be present for acceleration and in some cases modesetting to work. It can be installed via fw_update or manually via pkg_add. With lots of help from kettenis@ some macppc bits from mpi@ and some ttm refcount/queue bits from FreeBSD. Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.
* Provide a way for *drm(4) to prevent the VGA text console wsdisplay(4) instancekettenis2013-03-181-2/+2
| | | | | | from attaching after it has taken over control of the VGA hardware. ok mpi@
* Split out the bar functions required to attach drm(4) to share themmpi2012-08-221-1/+6
| | | | | | with macppc's vgafb(4) and maybe later on sparc64 drivers too. suggested by and ok kettenis@
* Try to save the vga hardware state around suspend, and also redisplay themiod2010-08-081-5/+12
| | | | | textmode video memory contents if we had to POST the vga bios. ok deraadt@ kettenis@
* Remove the last VGA_POST defines with X86EMU. Okay deraadt@.pirofti2009-06-061-2/+2
|
* Add vga bios repost support. Fetched from the NetBSD tree mostly.pirofti2009-06-061-1/+4
| | | | | | | | | | Tested on multiple i386 and it works, amd64 works also with a few exceptions that will get fixed. The initial effort of importing was done by oga@, thanks! Lots of testing and debugging by mlarkin@ and me. Okay deraadt@, oga@, mlarkin@.
* Bump max BARs up to 6. Needed for nouveau.oga2008-06-121-2/+2
| | | | ok marco@.
* currently agp_i810 needs to map the same BAR as inteldrm, this obviouslyoga2008-05-061-6/+23
| | | | | | | | | | fails. In order to allow this, implement an API so that drm and agp can share mappings for the BARs. Now it works as it should. tested by many. ok kettenis, miod said he'd look at it when it's in tree.
* Make agp attach as a device. This means that many more agp bridgesoga2007-11-251-64/+1
| | | | | | | | | | actually get detected and attached. Also adds a kernel api for manipulating agp. Enable this on i386 and amd64. "I think you should commit it" deraadt@, ok matthieu. Looked over by several others.
* use DEVICE_IS_VGA_PCI in vga_pci_match()martin2007-11-031-2/+2
| | | | ok brad@ fgsch@ also tested by oga@
* commit vesabios for matthieu@gwk2006-11-271-1/+22
| | | | ok deraadt, "slap it in" miod@
* Move the agpgart handling code to a separate file.matthieu2006-03-161-2/+9
| | | | | Ansify some remaining function declarations in vga_pci.c. ok miod@, dim@.
* support for the agp gart on various agp chipsets.mickey2002-07-121-1/+71
| | | | | | | only i810 driver was tested though. based on the netbsd's lkm, initially ported by hunter@dg.net.ua and later made into shape by mickey. testing by art@ and millert@ .
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* Updated VGA driver; from NetBSD. Needed for wscons on i386 and alpha. Theseaaron2000-11-151-4/+4
| | | | | | | | | | | | | | | | | | | | files could probably be updated even a bit further (they are from mid-summer). In addition, I've added support for console scrollback, somewhat inspired by Linux's vgacon driver. Basically, instead of allocating our own buffer and doing lots of copies, we take advantage of Video RAM and just modify the VGA display origin register as appropriate. This approach has a few advantages: simple to implement, no wasted KVM, it's fast, and after a boot you can now scroll back all the way to the BIOS messages (assuming your msgbuf is of a typical length :). Disadvantages are that the VRAM buffer is relatively small (only 32k) and we do not support raster devices through this method. (thanks to mickey@ for pointing this out). The code for this is fairly unobtrusive, so should we come up with a better approach to console scrollback at a later time (i.e., even more platform independent) it should be easy to revert this. We're one step further in porting nice features of PCVT over to wscons.
* Add some missing things for the MI vga driver. Move wscons to an MI place asniklas1997-11-061-0/+1
| | | | well. $OpenBSD$ tagging
* Sync with NetBSD 961207niklas1997-01-241-0/+37