History log of /src/sys/dev/ic/vgavar.h |
Revision | | Date | Author | Comments |
1.33 |
| 14-Jan-2015 |
chs | remove BIOS-mapping code that was #if-0'd in the previous commit.
|
1.32 |
| 12-Nov-2014 |
christos | branches: 1.32.2; more _KERNEL_OPT
|
1.31 |
| 21-Aug-2014 |
macallan | #if 0 code to map the VGA BIOS I've been unable to find any code that actually uses the mapping and we may want to read the ROM from drm2. If no users show up within a week or so I'll delete it.
|
1.30 |
| 21-Jan-2013 |
mlelstv | branches: 1.30.12; Make internal functions static
|
1.29 |
| 09-Dec-2010 |
christos | branches: 1.29.8; 1.29.18; PR/41415: IdOp: Implement save and restore palette for vga.
|
1.28 |
| 14-Mar-2008 |
cube | branches: 1.28.26; Split device_t and softc for all attachments of vga(4).
|
1.27 |
| 09-Dec-2007 |
jmcneill | branches: 1.27.6; 1.27.10; Merge jmcneill-pm branch.
|
1.26 |
| 04-Mar-2007 |
christos | branches: 1.26.14; 1.26.16; 1.26.24; 1.26.26; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.25 |
| 13-Aug-2006 |
jmcneill | branches: 1.25.8; Provide a method for other display drivers to ask vga to free resources it had claimed while acting as the initial console device. This allows (for example) vga to be the initial console, and an accelerated framebuffer driver to take over later.
|
1.24 |
| 16-Feb-2006 |
perry | branches: 1.24.2; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
1.23 |
| 11-Dec-2005 |
christos | branches: 1.23.2; 1.23.4; 1.23.6; merge ktrace-lwp.
|
1.22 |
| 27-Feb-2005 |
perry | branches: 1.22.4; nuke trailing whitespace
|
1.21 |
| 29-Jun-2003 |
fvdl | branches: 1.21.2; 1.21.10; 1.21.12; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.20 |
| 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
1.19 |
| 09-Feb-2003 |
jdolecek | make 'name' and 'data' of struct wsdisplay_font const, mark data arrays in font sources const
|
1.18 |
| 31-Jan-2003 |
tsutsui | Changes to allow machines which don't use text mode at the boot time to use generic VGA driver(s): - Allow VGA drivers to use wsfont instead of builtin font. - Add vga_reset() function, which will be called from MD consinit(), to put VGA into text mode. This function is enabled by options VGA_RESET.
|
1.17 |
| 27-Jan-2003 |
tsutsui | - Replace some magic numbers with proper macro. - Use vga_6845_{read,write}() defined in pcdisplayvar.h and remove vga_crtc_{read,write}() macros in vgareg.h.
|
1.16 |
| 27-Jan-2003 |
tsutsui | KNF and space/TAB cleanup.
|
1.15 |
| 15-Oct-2002 |
junyoung | Add VGA raster graphics console driver. It is written as an extension to char-cell based vga(4) driver, and fully compatible with existing apps like XFree86. Currently it supports 80x25, 80x30, 80x40 and 80x50 text modes using emulation. You can enable it by specifying `options VGA_RASTERCONSOLE' in your kernel config file.
Note that displaying multilingual text doesn't work yet. Necessary code is already there, but userland stuff and some functionality isn't ready for prime time yet. I'm working on them.
|
1.14 |
| 08-Jul-2002 |
drochner | save the "quirks" in the softc
|
1.13 |
| 28-Jun-2002 |
drochner | clean up font handling: -treat the builtin font like any other font at runtime -for that, copy it to malloc()'d memory during attach() -in early console initialization, if we have to consider a broken card (VGA_CONSOLE_ATI_BROKEN_FONTSEL), copy the builtin font to another location in font ram; the attach() code will do the rest put the "quirk" code into effect again
|
1.12 |
| 27-Jun-2002 |
junyoung | - Work around a hardware bug that loaded fonts don't work, which is found on many (all?) of PCI-based ATI graphics cards. It is fully optional and can be enabled by adding `options VGA_CONSOLE_ATI_BROKEN_FONTSEL' to config file. - Temporarily remove `quirk' mechanism. Similar code already exists in pci_quirks.c.
|
1.11 |
| 25-Jun-2002 |
drochner | allow to overwrite the builtin VGA font if necessary, make the number of available font slots variable, set up a "quirk" mechanism to tell the generic vga code about crippled VGA adapters which ignore the "fontsel" TS register, initiate the quirk table with an ATI chip which happened to be on a board I tested with. Afaik quite a number of ATI chips suffers from the "loaded fonts don't work" problem - these should be added. Bad side effect of my change: The builtin font will be kicked out always if a VGA_CONSOLE_SCREENTYPE is specified which needs a loaded font. In early console initialization, we don't know much about the graphics card, so we have to assume the worst (ie ATI:-).
|
1.10 |
| 29-Dec-2001 |
junyoung | branches: 1.10.8; Add functions needed for access to CRTC registers.
|
1.9 |
| 29-Dec-2001 |
junyoung | KNF.
|
1.8 |
| 13-Dec-2001 |
junyoung | ANSIfication & cosmetic changes.
|
1.7 |
| 14-Sep-2001 |
thorpej | Allow bus front-end to provide both ioctl and mmap entry points, and also the wsdisplay type.
Based on changes from Simon Burge <simonb@wasabisystems.com>.
|
1.6 |
| 14-Aug-2000 |
thorpej | branches: 1.6.2; 1.6.4; 1.6.6; Just add the mmap argument to vga_common_attach(), don't bother with vga_extended_attach().
|
1.5 |
| 08-Aug-2000 |
jeffs | Update arc map routine prototype to compile again.
|
1.4 |
| 17-Jun-2000 |
soda | branches: 1.4.2; add vga_extended_attach function on arc port, to make mmap() available. XXX - is it better to remove "#ifdef arc"?
|
1.3 |
| 13-Jan-1999 |
drochner | branches: 1.3.8; 1.3.16; -implement new wscons font handling with separate download and selection calls -support use of 2 fonts simultanously; this costs the ability to "highlight", ie to use the upper 8 colours -define screen types "80x25bf" and "80x50bf" which use this ability -add conditional code to deal with the weird mapping of pcvt's supplemental fonts
|
1.2 |
| 28-May-1998 |
drochner | Put definitions and subroutines needed for all PC display adapters (MGA/GCA and compatibles) into global headers / source files. Let the VGA driver use them.
|
1.1 |
| 22-Mar-1998 |
drochner | initial import of VGA driver backend for use with the new wscons code
|
1.3.16.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.3.8.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.4.2.1 |
| 08-Aug-2000 |
jeffs | Pull up revision 1.5 (approved by thorpej): Fix compile problems with paddr_t for arc.
|
1.6.6.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.6.4.2 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.6.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.6.2.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.6.2.3 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.6.2.2 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.6.2.1 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.10.8.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.21.12.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.21.10.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.21.2.4 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.21.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.21.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.21.2.1 |
| 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
1.22.4.5 |
| 17-Mar-2008 |
yamt | sync with head.
|
1.22.4.4 |
| 21-Jan-2008 |
yamt | sync with head
|
1.22.4.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.22.4.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.22.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.23.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.23.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.23.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.24.2.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.25.8.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.26.26.1 |
| 11-Dec-2007 |
yamt | sync with head.
|
1.26.24.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.26.16.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.26.16.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.26.14.2 |
| 01-Oct-2007 |
joerg | Extend device API by device_power_private and device_power_set_private. The latter is a temporary mean until the pnp_register API itself is overhault. This functions allow a generic power handler to store its state independent of the driver.
Use this and revamp the PCI power handling. Pretty much all PCI devices had power handlers that did the same thing, generalize this in pci_generic_power_register/deregister and the handler. This interface offers callbacks for the drivers to save and restore state on transistions. After a long discussion with jmcneill@ it was considered to be powerful enough until evidence is shown that devices can handle D1/D2 with less code and higher speed than without the full save/restore. The generic code is carefully written to handle device without PCI-PM support and ensure that the correct registers are written to when D3 loses all state.
Reimplement the generic PCI network device handling on top of PCI generic power handling.
Introduce pci_disable_retry as used and implemented locally at least by ath(4) and iwi(4). Use it in this drivers to restore behaviour from before the introduction of generic PCI network handling.
Convert all PCI drivers that were using pnp_register to the new framework. The only exception is vga(4) as it is commonly used as console device. Add a note therein that this should be fixed later.
|
1.26.14.1 |
| 03-Aug-2007 |
jmcneill | Pull in power management changes from private branch.
|
1.27.10.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.27.6.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.28.26.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.29.18.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.29.18.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.29.8.1 |
| 23-Jan-2013 |
yamt | sync with head
|
1.30.12.2 |
| 14-Jan-2015 |
martin | Pull up following revision(s) (requested by chs in ticket #418): sys/dev/ic/vga.c: revision 1.113 sys/dev/ic/vga.c: revision 1.114 sys/dev/ic/vga_raster.c: revision 1.42 sys/dev/ic/vga_raster.c: revision 1.43 sys/dev/ic/vgavar.h: revision 1.31 sys/dev/ic/vgavar.h: revision 1.33 I've been unable to find any code that actually uses the mapping and we may want to read the ROM from drm2. If no users show up within a week or so I'll delete it. remove BIOS-mapping code that was #if-0'd in the previous commit.
|
1.30.12.1 |
| 11-Jan-2015 |
snj | Pull up following revision(s) (requested by chs in ticket #401): distrib/sets/lists/modules/md.amd64: revisions 1.46, 1.47 via patch distrib/sets/lists/modules/md.i386: revisions 1.49, 1.50 sys/dev/ic/pcdisplayvar.h: revision 1.20 sys/dev/ic/vgavar.h: revision 1.32 sys/external/bsd/drm/dist/bsd-core/drm_drv.c: revision 1.26 sys/external/bsd/drm2/dist/drm/drm_agpsupport.c: revisions 1.5, 1.6 sys/external/bsd/drm2/dist/drm/drm_pci.c: revisions 1.4, 1.5 sys/external/bsd/drm2/dist/drm/drm_stub.c: revisions 1.6-1.8 sys/external/bsd/drm2/dist/drm/i915/i915_drv.h: revision 1.11 sys/external/bsd/drm2/dist/drm/radeon/cik.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/ni.c: revision 1.3 sys/external/bsd/drm2/dist/drm/radeon/si.c: revision 1.3 sys/external/bsd/drm2/dist/include/drm/drmP.h: revisions 1.8, 1.9 sys/external/bsd/drm2/dist/include/drm/drm_agpsupport.h: revisions 1.3, 1.4 sys/external/bsd/drm2/drm/drm_drv.c: revision 1.11 sys/external/bsd/drm2/drm/drm_module.c: revision 1.9 sys/external/bsd/drm2/drm/drm_sysctl.c: revisions 1.1-1.4 sys/external/bsd/drm2/drm/drm_vm.c: revision 1.7 sys/external/bsd/drm2/drm/files.drmkms: revisions 1.8, 1.9 sys/external/bsd/drm2/i915drm/files.i915drmkms: revision 1.9 sys/external/bsd/drm2/i915drm/i915_module.c: revisions 1.4, 1.5 sys/external/bsd/drm2/include/drm/drm_sysctl.h: revisions 1.1, 1.2 sys/external/bsd/drm2/include/linux/hdmi.h: revisions 1.3-1.5 sys/external/bsd/drm2/include/linux/module.h: revision 1.5 sys/external/bsd/drm2/include/linux/moduleparam.h: revisions 1.3, 1.4 sys/external/bsd/drm2/include/linux/pci.h: revision 1.11 sys/external/bsd/drm2/linux/linux_module.c: revision 1.5 sys/external/bsd/drm2/nouveau/files.nouveau: revision 1.4 sys/external/bsd/drm2/nouveau/nouveau_module.c: revision 1.3 sys/external/bsd/drm2/pci/drm_pci.c: revision 1.8 sys/external/bsd/drm2/pci/drm_pci_module.c: revision 1.3 sys/external/bsd/drm2/radeon/radeon_module.c: revision 1.3 sys/external/bsd/drm2/ttm/files.ttm: revision 1.1 sys/modules/drm2pci/Makefile: file removal sys/modules/drmkms/Makefile: revisions 1.4-1.7 sys/modules/drmkms_linux/Makefile: revision 1.5 sys/modules/drmkms_pci/Makefile: revisions 1.3, 1.4 sys/modules/i915drmkms/Makefile: revisions 1.5-1.7 Split drm ttm config into a separate file. -- Fix module build of drmkms_linux. -- Remove vestigial drm2pci module, replaced by drmkms_pci. -- fix the module class. -- add the drmkms modules -- make a drm_agp_destroy() function to resolve the circular dependency between drmkms and drmkms_pci -- finalize the idr code. -- add drm_agp_destroy -- fix drmkms module path for xen. -- fix build failure. /tmp/bracket/build/2014.11.10.22.43.46-i386/src/sys/external/bsd/drm2/include/linux/pci.h:36:20: fatal error: acpica.h: No such file or directory -- make this work: add agpsupport and sysctl code -- move agpsupport to drmkms to avoid circular dependencies. -- turn on dynamic ldscript creation to handle link set symbol definitions used in the automatic sysctl creation. -- Add __link_set based code to automatically convert the linux module parameters into sysctls. -- this module needs MKLDSCRIPT too now -- more _KERNEL_OPT -- prettify and add to all the modules that have it. -- fix description setting. -- Adjust flags to allow building with clang. -- Fix build with clang. -- Drop casts in favour of expressions that actually give the right pointer. -- Move all PCI/AGP code back to drmkms_pci module where it belongs. -- Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>. Fixes PR kern/49411. -- Back out previous, fix PR kern/49411 correctly. frame->header.length is not initialized in the vendor packet case. Instead, make hdmi_infoframe_header_pack take the packet length and subtract the size of the header when packing the header. (Could make it take the payload length instead, but for callers it is more convenient to have a name for the whole packet length.) -- Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411). -- Trivial build fix for no options SYSCTL_INCLUDE_DESCR case, to avoid -Werror. OK christos@ and riastradh@ -- fix debugging compilation (ALL kernel) -- nouveau_nv50_fence.c needs -Wno-shadow. -- fix a confusion between dev_t and devmajor_t, and include the primary minor when calling makedev().
|
1.32.2.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|