mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 17:30:09 +01:00
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)
|
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| ati_pcigart.h | ||
| Config.in | ||
| Doxyfile | ||
| drm_agpsupport.h | ||
| drm_auth.h | ||
| drm_bufs.h | ||
| drm_compat.h | ||
| drm_context.h | ||
| drm_core.h | ||
| drm_dma.h | ||
| drm_drawable.h | ||
| drm_drv.h | ||
| drm_fops.h | ||
| drm_init.h | ||
| drm_ioctl.h | ||
| drm_irq.h | ||
| drm_lock.h | ||
| drm_memory.h | ||
| drm_memory_debug.h | ||
| drm_os_linux.h | ||
| drm_pci.h | ||
| drm_proc.h | ||
| drm_scatter.h | ||
| drm_stub.h | ||
| drm_vm.h | ||
| drmP.h | ||
| ffb.h | ||
| ffb_context.c | ||
| ffb_drv.c | ||
| ffb_drv.h | ||
| i810.h | ||
| i810_dma.c | ||
| i810_drm.h | ||
| i810_drv.c | ||
| i810_drv.h | ||
| i830.h | ||
| i830_dma.c | ||
| i830_drm.h | ||
| i830_drv.c | ||
| i830_drv.h | ||
| i830_irq.c | ||
| i915_drv.c | ||
| Kconfig | ||
| mach64_drv.c | ||
| Makefile | ||
| Makefile.kernel | ||
| mga_drv.c | ||
| r128_drv.c | ||
| radeon_drv.c | ||
| README.drm | ||
| savage.h | ||
| savage_dma.c | ||
| savage_drm.h | ||
| savage_drv.c | ||
| savage_drv.h | ||
| sis_drv.c | ||
| tdfx_drv.c | ||
************************************************************
* 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/ *
************************************************************