drm/linux
Erdi Chen 25e319c1ef This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:
DRM_IOCTL_VIA_DMA_INIT DRM_IOCTL_VIA_CMDBUFFER DRM_IOCTL_VIA_FLUSH
The first ioctl sets up an area in AGP memory that will be used as the ring
    buffer. The second ioctl copies a command buffer from user space memory
    to the ring buffer. The third ioctl waits for engine idle until it
    returns.
The motivation for this patch is to avoid the wait for engine idle call
    before each buffer flush in the current DRI driver. With this patch,
    the DRI driver can continue to flush its buffer as long as there is
    free space in the ring buffer.
This patch adds an additional copy operation on the command buffer. This
    buffer copying is necessary to support multiple DRI clients rendering
    simultaneously. Otherwise, more CPU time will be spent in the busy loop
    waiting for engine idle between DRI context switch. Even in the single
    client case, the tradeoff is reasonable in comparision to the kernel
    call to check for free buffer space for the client to render directly
    to the ring buffer.
2004-08-24 01:44:37 +00:00
..
.cvsignore Have CVS ignore some files produced by the build. 2004-04-10 16:20:00 +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 - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
Kconfig ATI Rage 128 and Radeon DRM unconditionally depend on PCI 2004-07-21 09:36:16 +00:00
Makefile This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver: 2004-08-24 01:44:37 +00:00
Makefile.kernel This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver: 2004-08-24 01:44:37 +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 add x86_64 architecture defines from kernel (leave AMD64 defines in for 2004-07-20 11:26:13 +00:00
drmP.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_agpsupport.h first set of __user annotations from kernel (Al Viro) 2004-07-20 12:43:12 +00:00
drm_auth.h first set of __user annotations from kernel (Al Viro) 2004-07-20 12:43:12 +00:00
drm_bufs.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_compat.h 2.4 compat 2004-08-04 10:56:48 +00:00
drm_context.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_dma.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_drawable.h first set of __user annotations from kernel (Al Viro) 2004-07-20 12:43:12 +00:00
drm_drv.h This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver: 2004-08-24 01:44:37 +00:00
drm_fops.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_init.h Merged DRM documentation. 2003-05-27 00:37:33 +00:00
drm_ioctl.h sync up with current 2.6 kernel bk tree - mostly __user annotations 2004-07-25 08:47:38 +00:00
drm_irq.h sync up with current 2.6 kernel bk tree - mostly __user annotations 2004-07-25 08:47:38 +00:00
drm_lock.h fixes from kernel for 0 vs NULL - mika 2004-07-05 11:56:51 +00:00
drm_memory.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
drm_memory_debug.h patch from lk 2004-04-08 11:26:52 +00:00
drm_os_linux.h A few changes for recent redhat. 2004-06-10 12:48:35 +00:00
drm_pci.h more files for mach64 2004-04-12 05:44:16 +00:00
drm_proc.h fix for drm in /proc - from Jon Smirl 2004-08-03 09:21:11 +00:00
drm_scatter.h first set of __user annotations from kernel (Al Viro) 2004-07-20 12:43:12 +00:00
drm_stub.h Fix warning about unused ddev variable 2004-08-15 15:46:28 +00:00
drm_vm.h add x86_64 architecture defines from kernel (leave AMD64 defines in for 2004-07-20 11:26:13 +00:00
ffb.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
ffb_context.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
ffb_drv.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
ffb_drv.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
gamma.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
gamma_context.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
gamma_dma.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
gamma_drm.h Single/dual rasterizer quiescence patch for the glint/gamma DRI driver 2003-04-24 03:01:40 +00:00
gamma_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
gamma_drv.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
gamma_lists.h Rename drm_lists.h to gamma_lists.h 2003-04-22 12:14:59 +00:00
gamma_lock.h first set of __user annotations from kernel (Al Viro) 2004-07-20 12:43:12 +00:00
gamma_old_dma.h fixes for using userspace pointers found by sparse utility 2004-07-31 07:26:52 +00:00
i810.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i810_dma.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +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 Revert the janitorial - that works is now on the new branch 2003-06-19 00:09:52 +00:00
i810_drv.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i830.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i830_dma.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i830_drm.h Add __user annotations from kernel 2004-04-22 12:41:43 +00:00
i830_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
i830_drv.h Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
i830_irq.c sync up with current 2.6 kernel bk tree - mostly __user annotations 2004-07-25 08:47:38 +00:00
i915_drv.c i915 drm module 2004-06-10 12:47:50 +00:00
mach64_drv.c more files for mach64 2004-04-12 05:44:16 +00:00
mga_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
r128_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
radeon_drv.c - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them 2003-10-17 05:13:48 +00:00
savage.h centralise pci ids into one place and use scripts to generate files for 2004-04-21 12:13:31 +00:00
savage_dma.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +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 disable PCI DMA ioctls as they are not used currently until SAVAGE_CMD_DMA 2004-04-08 23:19:15 +00:00
savage_drv.h Merged the Savage DRM driver from the savage-2-0-0-branch into the trunk. 2004-02-22 16:20:16 +00:00
sis_drv.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +00:00
tdfx_drv.c Merged drmfntbl-0-0-1 2004-08-17 13:10:05 +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/                          *
************************************************************