drm/shared-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.h fix up drm.h for C++ include as this can be included in user programs 2005-06-11 10:08:39 +00:00
drm_pciids.txt Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_sarea.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
i915_dma.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_drm.h Fix copyrights 2005-06-06 09:18:44 +00:00
i915_drv.h Fix copyrights 2005-06-06 09:18:44 +00:00
i915_irq.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_mem.c Fix copyrights 2005-06-06 09:18:44 +00:00
i915_pm.c Fix copyrights 2005-06-06 09:18:44 +00:00
imagine_drv.h Add skeletal imagine driver (but don't build it yet). 2005-03-29 01:47:38 +00:00
mach64_dma.c Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
mach64_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mach64_drv.h Convert BSD code to mostly use bus_dma, the dma abstraction for dealing 2005-04-26 05:19:11 +00:00
mach64_irq.c Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mach64_state.c Convert more drivers for bsd-core, moving the ioctl definitions to shared 2004-11-06 23:02:07 +00:00
mga_dma.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
mga_drm.h Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
mga_drv.h Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
mga_irq.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
mga_state.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
mga_ucode.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mga_warp.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
r128_cce.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
r128_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
r128_drv.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
r128_irq.c Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
r128_state.c Declare r128_do_cleanup_pageflip static since it's only used here and its 2005-02-03 01:06:10 +00:00
radeon_cp.c Use msleep instead of tsleep to drop the DRM device lock and avoid a 2005-04-26 05:11:20 +00:00
radeon_drm.h add R200_EMIT_PP_TRI_PERF_CNTL packet to support brilinear filtering on 2005-03-15 22:12:30 +00:00
radeon_drv.h add radeon registers from VHA code these are the "unknown" registers 2005-05-27 07:23:44 +00:00
radeon_irq.c fix some issues with radeon interrupt handling 2005-06-06 11:35:43 +00:00
radeon_mem.c janitor-list_for_each-drivers-char-drm-radeon_memc.patch from mm kernel 2004-10-02 19:11:30 +00:00
radeon_state.c add R200_EMIT_PP_TRI_PERF_CNTL packet to support brilinear filtering on 2005-03-15 22:12:30 +00:00
savage_bci.c Remove warnings about code mixed with declerations.. 2005-06-04 06:14:58 +00:00
savage_drm.h Completeley rewritten Savage DRM which can be considered secure (modulo 2005-01-01 20:22:58 +00:00
savage_drv.h Command DMA optimizations: 2005-03-13 02:16:10 +00:00
savage_state.c Remove warnings about code mixed with declerations.. 2005-06-04 06:14:58 +00:00
sis_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
sis_drv.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_ds.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_ds.h cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
sis_mm.c minor pointer cast typo 2005-03-07 09:40:18 +00:00
tdfx_drv.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
via_3d_reg.h VIA update: 2005-01-05 17:44:43 +00:00
via_dma.c VIA: Fix for oops when AGP ring-buffer initialization is called and there 2005-05-08 20:33:04 +00:00
via_drm.h Via updates: 2005-03-28 21:21:42 +00:00
via_drv.c Via updates: 2005-03-28 21:21:42 +00:00
via_drv.h VIA: 2005-05-23 20:56:54 +00:00
via_ds.c cleanup patch from Adrian Bunk <bunk@stusta.de> 2005-02-01 11:08:31 +00:00
via_ds.h VIA: 2005-05-23 20:56:54 +00:00
via_irq.c VIA: Interrupt handler bugfixes. Bumped patchlevel to 2.6.2. 2005-04-20 10:16:52 +00:00
via_map.c Via updates: 2005-03-28 21:21:42 +00:00
via_mm.c VIA: 2005-05-23 20:56:54 +00:00
via_mm.h VIA: 2005-05-23 20:56:54 +00:00
via_verifier.c VIA: 2005-04-18 08:26:00 +00:00
via_verifier.h via updates: moved the verifier state struct to dev_priv. Implemented AGP 2005-01-07 11:37:01 +00:00
via_video.c Missing file via_video.c commited. 2005-03-29 09:48:12 +00:00