drm/bsd-core
Ian Romanick 72cfc797b5 Adds support for PCI cards to MGA DRM
This patch adds serveral new ioctls and a new query to get_param query to
    support PCI MGA cards.
Two ioctls were added to implement interrupt based waiting. With this
    change, the client-side driver no longer needs to map the primary DMA
    region or the MMIO region. Previously, end-of-frame waiting was done by
    busy waiting in the client-side driver until one of the MMIO registers
    (the current DMA pointer) matched a pointer to the end of primary DMA
    space. By using interrupts, the busy waiting and the extra mappings are
    removed.
A third ioctl was added to bootstrap DMA. This ioctl, which is used by the
    X-server, moves a *LOT* of code from the X-server into the kernel. This
    allows the kernel to do whatever needs to be done to setup DMA buffers.
    The entire process and the locations of the buffers are hidden from
    user-mode.
Additionally, a get_param query was added to differentiate between G4x0
    cards and G550 cards. A gap was left in the numbering sequence so that,
    if needed, G450 cards could be distinguished from G400 cards. According
    to Ville Syrjälä, the G4x0 cards and the G550 cards handle
    anisotropic filtering differently. This seems the most compatible way
    to let the client-side driver know which card it's own. Doing this very
    small change now eliminates the need to bump the DRM minor version
    twice.
http://marc.theaimsgroup.com/?l=dri-devel&m=106625815319773&w=2
A number of ioctl handlers in linux-core were also modified so that they
    could be called in-kernel. In these cases, the in-kernel callable
    version kept the existing name (e.g., drm_agp_acquire) and the ioctl
    handler added _ioctl to the name (e.g., drm_agp_acquire_ioctl).
This patch also replaces the drm_agp_do_release function with
    drm_agp_release. drm_agp_release (drm_core_agp_release in the previous
    patch) is very similar to drm_agp_do_release, and I saw no reason to
    have both.
This commit *breaks the build* on BSD. Eric said that he would make the
    required updates to the BSD side soon.
Xorg bug: 3259 Reviewed by: Eric Anholt
2005-06-14 22:34:11 +00:00
..
drm Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
i915 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
mach64 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
mga Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
r128 Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
radeon Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
savage Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
sis Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
tdfx Convert NOMAN to the new preferred spelling NO_MAN to quiet warnings. 2005-04-26 15:27:58 +00:00
.cvsignore Add the drm Makefile and update .cvsignores. 2004-11-06 23:05:46 +00:00
Makefile Don't link in files which no longer exist. 2004-11-07 00:30:15 +00:00
ati_pcigart.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drmP.h Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_agpsupport.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_atomic.h Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_auth.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_bufs.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_context.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_dma.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_drawable.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_drv.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_fops.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_ioctl.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_irq.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
drm_linux_list.h Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_lock.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_memory.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_pci.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_scatter.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
drm_sysctl.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
drm_vm.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
i915_drv.c Modify drm_driver::device_is_agp to return a tri-state value to indicate 2005-05-27 23:42:11 +00:00
mach64_drv.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
mga_drv.c Completely re-initialize DMA settings 2005-06-09 21:18:56 +00:00
r128_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
radeon_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
savage_drv.c Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSD 2005-04-16 03:02:52 +00:00
sis_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00
tdfx_drv.c Add a few more bits of Tonnerre's NetBSD port (Still need to deal with the 2005-06-06 06:45:41 +00:00