i915: Add ioctl for scheduling buffer swaps at vertical blanks.
authorMichel Dänzer <michel@tungstengraphics.com>
Fri, 25 Aug 2006 17:01:05 +0000 (19:01 +0200)
committerMichel Dänzer <michel@tungstengraphics.com>
Fri, 29 Sep 2006 10:55:08 +0000 (12:55 +0200)
commitda75d59cd65764c6076ab9b96ad8195ed71ed80b
tree4a7925d19df301a2e6a75067d66ef3b371a890e3
parentd7389a9758944ab0d241d3c1108adfeeec9eee76
i915: Add ioctl for scheduling buffer swaps at vertical blanks.

This uses the core facility to schedule a driver callback that will be called
ASAP after the given vertical blank interrupt with the HW lock held.
(cherry picked from 257771fa290b62d4d2ad896843cf3a207978d0bb commit)
shared-core/i915_dma.c
shared-core/i915_drm.h
shared-core/i915_drv.h
shared-core/i915_irq.c