linux/drivers/gpu/drm
Jesse Barnes 0a3e67a4ca drm: Rework vblank-wait handling to allow interrupt reduction.
Previously, drivers supporting vblank interrupt waits would run the interrupt
all the time, or all the time that any 3d client was running, preventing the
CPU from sleeping for long when the system was otherwise idle.  Now, interrupts
are disabled any time that no client is waiting on a vblank event. The new
method uses vblank counters on the chipsets when the interrupts are turned
off, rather than counting interrupts, so that we can continue to present
accurate vblank numbers.

Co-author: Michel Dänzer <michel@tungstengraphics.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-10-18 07:10:11 +10:00
..
i810 drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i830 drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
i915 drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
mga drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
r128 drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
radeon drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
savage drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
sis SiS DRM: fix a pointer cast warning 2008-10-18 07:10:10 +10:00
tdfx drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
via drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
ati_pcigart.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_agpsupport.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_auth.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_bufs.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_context.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_dma.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_drawable.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_drv.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
drm_fops.c drm/cred: wrap task credential accesses in the drm driver. 2008-10-18 07:10:11 +10:00
drm_hashtab.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_ioctl.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_irq.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
drm_lock.c drm: don't set the signal blocker on the master process. 2008-08-25 06:35:33 +10:00
drm_memory.c drm/radeon: fixup issue with radeon and PAT support. 2008-07-15 15:48:05 +10:00
drm_mm.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_pci.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_proc.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_scatter.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_sman.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_stub.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
drm_sysfs.c drm: fix sysfs error path. 2008-10-18 07:10:11 +10:00
drm_vm.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
Kconfig FB_SIS=m, DRM_SIS=y is not a legal configuration. 2008-10-18 07:10:11 +10:00
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
README.drm drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00

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