drm/linux-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
..
Config.in Added via driver to drm/linux/Config.in Reported by: Terry Barnaby 2004-03-26 13:42:48 +00:00
Doxyfile Update Doxygen configuration & comments. 2004-10-18 14:16:41 +00:00
Kconfig 3dfx DRM depends on PCI 2005-03-25 09:02:20 +00:00
Makefile Savage doesn't require AGP any more. Enable build even without CONFIG_AGP. 2005-05-17 02:08:02 +00:00
Makefile.kernel Re-implement the power management. 2005-05-28 00:00:08 +00:00
README.drm More changes for sync with Linux 2.4.0-test9-pre7 2000-09-29 02:05:41 +00:00
ati_pcigart.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18: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_auth.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_bufs.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_compat.h Round 2 of getting rid of inter_module_get() 2004-10-23 18:12:34 +00:00
drm_context.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_core.h change DRIVER_ to CORE_ makes things look nicer, also change it so the 2005-02-07 11:20:43 +00:00
drm_dma.c Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
drm_drawable.c Update Doxygen configuration & comments. 2004-10-18 14:16:41 +00:00
drm_drv.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_fops.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_ioctl.c Fix for bug 2673 from Egbert Eich - memset the version 2005-03-08 23:47:11 +00:00
drm_irq.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_lock.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_memory.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
drm_memory.h Adjust 4 level page check for <= 2.6.10 2005-01-09 17:30:44 +00:00
drm_memory_debug.c Update Doxygen configuration & comments. 2004-10-18 14:16:41 +00:00
drm_memory_debug.h Make the debug memory functions compile for the core model. 2004-09-30 23:47:45 +00:00
drm_os_linux.h Revert last commit, it affect via things 2005-04-19 00:31:16 +00:00
drm_pci.c Bugzilla #3217: Create a new __drm_pci_free which is used internally in 2005-05-28 20:36:22 +00:00
drm_pm.c Re-implement the power management. 2005-05-28 00:00:08 +00:00
drm_proc.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_scatter.c Update Doxygen configuration & comments. 2004-10-18 14:16:41 +00:00
drm_stub.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
drm_sysfs.c change DRIVER_ to CORE_ makes things look nicer, also change it so the 2005-02-07 11:20:43 +00:00
drm_vm.c misc cleanup patch from Adrian Bunk 2005-06-04 06:18:11 +00:00
ffb_context.c Remove DRM() macros from core ffb driver. DaveA says he'll make it compile 2004-09-30 21:27:59 +00:00
ffb_drv.c Add a poll function that alternates between zero and normal poll return to 2004-10-13 16:40:53 +00:00
ffb_drv.h Remove DRM() macros from core ffb driver. DaveA says he'll make it compile 2004-09-30 21:27:59 +00:00
i810_dma.c make more functions static in i810 and fix pageflip cleanup 2005-02-01 10:18:27 +00:00
i810_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
i810_drv.c make more functions static in i810 and fix pageflip cleanup 2005-02-01 10:18:27 +00:00
i810_drv.h make more functions static in i810 and fix pageflip cleanup 2005-02-01 10:18:27 +00:00
i830_dma.c update i830 similiar to the kernel, add statics 2005-02-01 10:33:51 +00:00
i830_drm.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
i830_drv.c update i830 similiar to the kernel, add statics 2005-02-01 10:33:51 +00:00
i830_drv.h update i830 similiar to the kernel, add statics 2005-02-01 10:33:51 +00:00
i830_irq.c update i830 similiar to the kernel, add statics 2005-02-01 10:33:51 +00:00
i915_drv.c Fix copyrights 2005-06-06 09:18:44 +00:00
imagine_drv.c Add skeletal imagine driver (but don't build it yet). 2005-03-29 01:47:38 +00:00
mach64_drv.c make linux-core build again 2004-11-09 03:36:06 +00:00
mga_drv.c Adds support for PCI cards to MGA DRM 2005-06-14 22:34:11 +00:00
r128_drv.c Fix Linux build. Why won't this complile? extern int const foo; static 2004-11-06 16:41:24 +00:00
radeon_drv.c fix radeon drv 2005-01-29 23:05:35 +00:00
radeon_i2c.c Prepare to eliminate inter_module_get("agp") 2004-10-23 04:21:27 +00:00
radeon_i2c.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
savage_drv.c Setup MTRRs for frame buffer and aperture manually on Savage3D and 2005-01-15 16:55:01 +00:00
sis_drv.c make linux-core build again 2004-11-09 03:36:06 +00:00
tdfx_drv.c Add a poll function that alternates between zero and normal poll return to 2004-10-13 16:40:53 +00:00

README.drm

************************************************************
* For the very latest on DRI development, please see:      *
*     http://dri.sourceforge.net/                          *
************************************************************

The Direct Rendering Manager (drm) is a device-independent kernel-level
device driver that provides support for the XFree86 Direct Rendering
Infrastructure (DRI).

The DRM supports the Direct Rendering Infrastructure (DRI) in four major
ways:

    1. The DRM provides synchronized access to the graphics hardware via
       the use of an optimized two-tiered lock.

    2. The DRM enforces the DRI security policy for access to the graphics
       hardware by only allowing authenticated X11 clients access to
       restricted regions of memory.

    3. The DRM provides a generic DMA engine, complete with multiple
       queues and the ability to detect the need for an OpenGL context
       switch.

    4. The DRM is extensible via the use of small device-specific modules
       that rely extensively on the API exported by the DRM module.


Documentation on the DRI is available from:
    http://precisioninsight.com/piinsights.html

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://precisioninsight.com/dr/drm.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/locking.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://precisioninsight.com/dr/security.html

************************************************************
* For the very latest on DRI development, please see:      *
*     http://dri.sourceforge.net/                          *
************************************************************