linux-kernel-test/drivers/char/drm
Thomas Hellstrom d7d8aac79d drm: fix up mmap locking in preparation for ttm changes
This change is needed to protect againt disappearing maps which aren't common.
The map lists are protected using sturct_mutex but drm_mmap never locked it.

Signed-off-by: Dave Airlie <airlied@linux.ie>
2007-03-24 18:00:22 +11:00
..
ati_pcigart.c
drm_agpsupport.c drm: possible cleanups 2006-04-23 18:26:40 +10:00
drm_auth.c drm: fix return value in auth function 2006-09-22 05:32:32 +10:00
drm_bufs.c drm: bring bufs code from git tree. 2007-03-11 12:07:17 +11:00
drm_context.c
drm_core.h drm: add support for secondary vertical blank interrupt to DRM core 2006-12-07 15:53:28 +11:00
drm_dma.c
drm_drawable.c drm: drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended. 2006-12-07 15:53:29 +11:00
drm_drv.c drm: allow for more generic drm ioctls 2007-03-19 08:52:17 +11:00
drm_fops.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
drm_hashtab.c drm: add missing NULL assignment 2007-03-11 12:07:17 +11:00
drm_hashtab.h drm: port over use_vmalloc code from git hashtab 2007-03-11 12:07:17 +11:00
drm_ioc32.c [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
drm_ioctl.c drm: fixup setversion return codes.. 2006-09-22 05:32:33 +10:00
drm_irq.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
drm_lock.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
drm_memory_debug.h drm: remove drm_ioremap and drm_ioremapfree 2007-02-08 13:24:26 +11:00
drm_memory.c drm: remove drm_ioremap and drm_ioremapfree 2007-02-08 13:24:26 +11:00
drm_memory.h drm: remove drm_ioremap and drm_ioremapfree 2007-02-08 13:24:26 +11:00
drm_mm.c drm: remove unused exports 2007-03-11 12:07:16 +11:00
drm_os_linux.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
drm_pci.c
drm_pciids.h via: fix CX700 pci id 2007-03-11 12:08:18 +11:00
drm_proc.c drm: Use ARRAY_SIZE macro when appropriate 2007-03-11 12:07:16 +11:00
drm_sarea.h
drm_scatter.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
drm_sman.c drm: update core memory manager from git drm tree 2007-02-08 13:24:26 +11:00
drm_sman.h drm: remove FALSE/TRUE that snuck in with simple memory manager changes. 2006-09-22 05:32:32 +10:00
drm_stub.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
drm_sysfs.c drm: fix return value check 2006-12-11 18:28:45 +11:00
drm_vm.c drm: fix up mmap locking in preparation for ttm changes 2007-03-24 18:00:22 +11:00
drm.h drm: allow for more generic drm ioctls 2007-03-19 08:52:17 +11:00
drmP.h drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
ffb_context.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ffb_drv.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ffb_drv.h
i810_dma.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
i810_drm.h
i810_drv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
i810_drv.h i810/i830: use drm_core_ioremap instead of drm_ioremap 2007-02-08 13:24:26 +11:00
i830_dma.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
i830_drm.h
i830_drv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
i830_drv.h i810/i830: use drm_core_ioremap instead of drm_ioremap 2007-02-08 13:24:26 +11:00
i830_irq.c
i915_dma.c drm: i915: Add ioctl for scheduling buffer swaps at vertical blanks. 2006-12-07 15:53:29 +11:00
i915_drm.h drm: i915: Add SAREA fileds for determining which pipe to sync window buffer swaps to. 2006-12-07 15:53:30 +11:00
i915_drv.c drm: add support for secondary vertical blank interrupt to i915 2006-12-07 15:53:28 +11:00
i915_drv.h drm: i915 updates 2006-12-07 15:53:31 +11:00
i915_ioc32.c [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
i915_irq.c i915: Fix a DRM_ERROR that should be DRM_DEBUG. 2007-01-08 20:38:34 +11:00
i915_mem.c
Kconfig drm: add better explanation for i830/i915 2006-09-22 05:32:32 +10:00
Makefile drm: add drm simple memory manager support for SiS and VIA drivers 2006-09-22 05:32:31 +10:00
mga_dma.c
mga_drm.h
mga_drv.c drm: mga: set dev_priv_size 2006-10-24 21:52:23 +10:00
mga_drv.h
mga_ioc32.c [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
mga_irq.c
mga_state.c
mga_ucode.h
mga_warp.c
r128_cce.c
r128_drm.h drm: r128: comment aligment with drm git 2006-12-19 17:56:14 +11:00
r128_drv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
r128_drv.h drm: r128: comment aligment with drm git 2006-12-19 17:56:14 +11:00
r128_ioc32.c [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
r128_irq.c
r128_state.c drm: r128: comment aligment with drm git 2006-12-19 17:56:14 +11:00
r300_cmdbuf.c drm: Unify radeon offset checking. 2006-12-15 18:54:35 +11:00
r300_reg.h
radeon_cp.c drm/radeon: Fix u32 overflows when determining AGP base address in card space. 2007-03-11 12:07:17 +11:00
radeon_drm.h drm: update radeon to 1.25 add r200 vertex program support 2006-06-24 17:32:10 +10:00
radeon_drv.c drm: use radeon specific names for radeon flags 2006-09-22 05:32:34 +10:00
radeon_drv.h drm: Unify radeon offset checking. 2006-12-15 18:54:35 +11:00
radeon_ioc32.c [PATCH] struct path: convert drm 2006-12-08 08:28:44 -08:00
radeon_irq.c drm: fixup comment header style 2006-12-19 17:49:08 +11:00
radeon_mem.c drm: fixup comment header style 2006-12-19 17:49:08 +11:00
radeon_state.c drm: Unify radeon offset checking. 2006-12-15 18:54:35 +11:00
README.drm drm: update README.drm (bugzilla #7933) 2007-03-11 12:07:16 +11:00
savage_bci.c drm: savage: compat fix from drm git. 2006-12-19 17:20:02 +11:00
savage_drm.h
savage_drv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
savage_drv.h
savage_state.c fix return code in error case. 2006-10-25 09:40:40 -07:00
sis_drm.h
sis_drv.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
sis_drv.h drm: SiS 315 Awareness. 2006-09-22 05:32:31 +10:00
sis_mm.c drm: cleanups 2006-09-22 05:32:33 +10:00
tdfx_drv.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tdfx_drv.h
via_3d_reg.h
via_dma.c drm/via: Disable AGP DMA for chips with the new 3D engine. 2007-02-08 13:24:26 +11:00
via_dmablit.c [PATCH] Char: timers cleanup 2007-02-12 09:48:30 -08:00
via_dmablit.h
via_drm.h drm: realign via driver with drm git tree 2006-09-22 05:32:33 +10:00
via_drv.c drm: fix driver deadlock with AIGLX and reclaim_buffers_locked 2007-03-23 13:28:33 +11:00
via_drv.h via: allow for npot texture pitch alignment 2007-02-08 13:24:25 +11:00
via_irq.c via: add some new chipsets 2007-02-08 13:24:25 +11:00
via_map.c via: add some new chipsets 2007-02-08 13:24:25 +11:00
via_mm.c drm: realign via driver with drm git tree 2006-09-22 05:32:33 +10:00
via_verifier.c via: allow for npot texture pitch alignment 2007-02-08 13:24:25 +11:00
via_verifier.h via: allow for npot texture pitch alignment 2007-02-08 13:24:25 +11:00
via_video.c

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

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://dri.freedesktop.org/wiki/Documentation
    http://sourceforge.net/project/showfiles.php?group_id=387
    http://dri.sourceforge.net/doc/

For specific information about kernel-level support, see:

    The Direct Rendering Manager, Kernel Support for the Direct Rendering
    Infrastructure
    http://dri.sourceforge.net/doc/drm_low_level.html

    Hardware Locking for the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/hardware_locking_low_level.html

    A Security Analysis of the Direct Rendering Infrastructure
    http://dri.sourceforge.net/doc/security_low_level.html