OpenCloudOS-Kernel/drivers/gpu/drm/r128
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
..
Makefile drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r128_cce.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r128_drv.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
r128_drv.h drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
r128_ioc32.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00
r128_irq.c drm: Rework vblank-wait handling to allow interrupt reduction. 2008-10-18 07:10:11 +10:00
r128_state.c drm: reorganise drm tree to be more future proof. 2008-07-14 10:45:01 +10:00