Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/char/drm
Dave Airlie cf65f1623d drm: fix quiescent locking
A fix for a locking bug which is triggered when a client tries to lock with
flag DMA_QUIESCENT (typically the X server), but gets interrupted by a signal.
The locking IOCTL should then return an error, but if DMA_QUIESCENT succeeds
it returns 0, and the client falsely thinks it has the lock. In addition
The client waits for DMA_QUISCENT and possibly DMA_READY without having the lock.

From: Thomas Hellstrom
Signed-off-by: Dave Airlie <airlied@linux.ie>
2005-11-24 21:41:14 +11:00
..
ati_pcigart.c [PATCH] drm fixup pci gart settings 2005-11-09 07:55:51 -08:00
drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_agpsupport.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_auth.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_bufs.c drm: fix warning on 64-bit platforms.. 2005-10-24 18:41:39 +10:00
drm_context.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
drm_core.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
drm_dma.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_drawable.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_drv.c merge Linus head tree into my drm tree and fix up conflicts 2005-10-20 18:21:33 +10:00
drm_fops.c drm: remove unused components of drm structures 2005-10-24 18:45:11 +10:00
drm_init.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_ioc32.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_ioctl.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_lock.c drm: fix quiescent locking 2005-11-24 21:41:14 +11:00
drm_memory.c drm: add __GFP_COMP to the drm_alloc_pages 2005-11-23 22:09:13 +11:00
drm_memory.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_memory_debug.h drm: add __GFP_COMP to the drm_alloc_pages 2005-11-23 22:09:13 +11:00
drm_os_linux.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_pci.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_pciids.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_proc.c merge Linus head tree into my drm tree and fix up conflicts 2005-10-20 18:21:33 +10:00
drm_sarea.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_scatter.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
drm_stub.c merge Linus head tree into my drm tree and fix up conflicts 2005-10-20 18:21:33 +10:00
drm_sysfs.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
drm_vm.c merge linus head to drm-mm branch 2005-10-22 15:25:01 +10:00
drmP.h drm: remove unused components of drm structures 2005-10-24 18:45:11 +10:00
ffb_context.c [PATCH] kfree cleanup: drivers/char 2005-11-07 07:54:02 -08:00
ffb_drv.c [PATCH] kfree cleanup: drivers/char 2005-11-07 07:54:02 -08:00
ffb_drv.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
i810_dma.c drm: fix some lindent damage 2005-09-25 15:07:24 +10:00
i810_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
i810_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i810_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i830_dma.c drm: fix some lindent damage 2005-09-25 15:07:24 +10:00
i830_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
i830_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i830_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i830_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
i915_dma.c drm: fix some lindent damage 2005-09-25 15:07:24 +10:00
i915_drm.h Add missing license texts from Tungsten Graphics. 2005-06-23 22:46:46 +10:00
i915_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i915_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
i915_ioc32.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
i915_irq.c drm: misc cleanup 2005-07-07 21:03:38 +10:00
i915_mem.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
Kconfig drm: add savage driver 2005-08-07 15:43:54 +10:00
Makefile drm: add initial r300 3D support. 2005-08-16 20:43:16 +10:00
mga_dma.c merge Linus head tree into my drm tree and fix up conflicts 2005-10-20 18:21:33 +10:00
mga_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
mga_drv.c I think that if a PCI bus is a root bus, attached to a host bridge not a 2005-11-23 21:45:43 +11:00
mga_drv.h merge linus head to drm-mm branch 2005-10-22 15:24:35 +10:00
mga_ioc32.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
mga_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
mga_state.c merge linus head to drm-mm branch 2005-10-22 15:24:35 +10:00
mga_ucode.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
mga_warp.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r128_cce.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r128_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r128_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
r128_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
r128_ioc32.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r128_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r128_state.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
r300_cmdbuf.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
r300_reg.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
radeon_cp.c Merge master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 2005-11-01 21:49:07 -08:00
radeon_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
radeon_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
radeon_drv.h drm: move is_pci to the end of the structure 2005-11-23 22:12:59 +11:00
radeon_ioc32.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
radeon_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
radeon_mem.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
radeon_state.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
README.drm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
savage_bci.c drm: fix some lindent damage 2005-09-25 15:07:24 +10:00
savage_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
savage_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
savage_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
savage_state.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
sis_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
sis_drv.c drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
sis_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
sis_ds.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
sis_ds.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
sis_mm.c drm: fix some lindent damage 2005-09-25 15:07:24 +10:00
tdfx_drv.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
tdfx_drv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
via_3d_reg.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_dma.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_drm.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_drv.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_drv.h drm: fix all sparse warning on 32-bit x86 2005-09-30 18:37:36 +10:00
via_ds.c [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_ds.h [PATCH] drm: via: fix sparse warnings 2005-07-27 16:25:54 -07:00
via_irq.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_map.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_mm.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_mm.h drm: Add via unichrome support 2005-06-28 22:48:56 +10:00
via_verifier.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_verifier.h drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00
via_video.c drm: lindent the drm directory. 2005-09-25 14:28:13 +10:00

************************************************************
* 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/                          *
************************************************************