drm/linux
Eric Anholt c789ea1521 Rename the driver hooks in the DRM to something a little more
understandable: preinit -> load postinit -> (removed) presetup ->
    firstopen postsetup -> (removed) open_helper -> open prerelease ->
    preclose free_filp_priv -> postclose pretakedown -> lastclose
    postcleanup -> unload release -> reclaim_buffers_locked version ->
    (removed)
postinit and version were replaced with generic code in the Linux DRM
    (drivers now set their version numbers and description in the driver
    structure, like on BSD). postsetup wasn't used at all. Fixes the savage
    hooks for initializing and tearing down mappings at the right times.
    Testing involved at least starting X, running glxgears, killing
    glxgears, exiting X, and repeating.
Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4)
2005-08-05 03:50:23 +00:00
..
.cvsignore Rename the driver hooks in the DRM to something a little more 2005-08-05 03:50:23 +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 file. Minor documentation updates/fixes. 2004-09-08 20:57:39 +00:00
Kconfig Drop GAMMA DRM from a great height ... 2004-08-29 12:04:35 +00:00
Makefile Via updates: 2005-03-28 21:21:42 +00:00
Makefile.kernel Via updates: 2005-03-28 21:21:42 +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.h make the AMD64 check a compat thing 2004-09-05 02:36:48 +00:00
drmP.h The patch makes drmAddBufs/drmMapBufs can handle buffers in video memory 2005-01-16 05:40:12 +00:00
drm_agpsupport.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_auth.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_bufs.h The patch makes drmAddBufs/drmMapBufs can handle buffers in video memory 2005-01-16 05:40:12 +00:00
drm_compat.h fix for 2.4 build 2004-10-28 09:50:39 +00:00
drm_context.h merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
drm_core.h Create new linux-2.6 build. Move all gpl files into the 2.6 build. If you 2004-09-24 03:12:17 +00:00
drm_dma.h Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
drm_drawable.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_drv.h A fix for a locking bug which is triggered when a client tries to lock with 2005-04-20 18:50:49 +00:00
drm_fops.h merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
drm_init.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_ioctl.h merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
drm_irq.h remove unused dma remnants that were gamma only - these could cause an oops 2004-10-09 10:58:19 +00:00
drm_lock.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_memory.h merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
drm_memory_debug.h Update doxygen configuration file. Minor documentation updates/fixes. 2004-09-08 20:57:39 +00:00
drm_os_linux.h Fix from: Nishanth Aravamudan replace direct assignment with 2004-09-18 16:44:43 +00:00
drm_pci.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_proc.h __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
drm_scatter.h another fix after the macro stuff 2004-09-20 10:45:53 +00:00
drm_stub.h Remove 2.6 code that allow DRM major device number to be shared. We can add 2004-09-23 17:22:27 +00:00
drm_vm.h Felix's fix for map request smaller than permanent map size 2004-09-20 17:09:26 +00:00
ffb.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
ffb_context.c merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
ffb_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
ffb_drv.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i810.h remove HAVE_COUNTERS 2004-09-20 11:29:16 +00:00
i810_dma.c Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
i810_drm.h DA: patch from Matthew upgraded to latest DRI head to solve issue with i810 2003-08-13 23:35:40 +00:00
i810_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
i810_drv.h Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
i830.h remove HAVE_COUNTERS 2004-09-20 11:29:16 +00:00
i830_dma.c Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
i830_drm.h Add __user annotations from kernel 2004-04-22 12:41:43 +00:00
i830_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
i830_drv.h Allow drivers to override reclaim_buffers in an OS-independent way by 2004-10-31 15:16:44 +00:00
i830_irq.c __NO_VERSION__ hasn't been needed since 2.3 days ditch it... 2004-08-27 09:11:07 +00:00
i915_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
mach64_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
mga_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
r128_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
radeon_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
savage.h Merged drmfntbl-0-0-2 2004-08-24 11:15:53 +00:00
savage_dma.c Create permanent maps of framebuffer, aperture and MMIO registers. Added 2004-09-22 22:51:18 +00:00
savage_drm.h Merged the Savage DRM driver from the savage-2-0-0-branch into the trunk. 2004-02-22 16:20:16 +00:00
savage_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
savage_drv.h Create permanent maps of framebuffer, aperture and MMIO registers. Added 2004-09-22 22:51:18 +00:00
sis_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +00:00
tdfx_drv.c 1) switches from class_sysfs to drm sysfs implementation to allow 2004-09-23 05:39:15 +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/                          *
************************************************************