drm: DRM_I915_VBLANK_SWAP ioctl: Take drm_vblank_seq_type_t instead
author=?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com>
Tue, 24 Oct 2006 13:38:54 +0000 (23:38 +1000)
committerairlied <airlied@linux.ie>
Thu, 7 Dec 2006 04:53:30 +0000 (15:53 +1100)
of pipe number.

Handle relative as well as absolute target sequence numbers.

Return error if target sequence has already passed, so userspace can deal with
this situation as it sees fit.

On success, return the sequence number of the vertical blank when the buffer
swap is expected to take place.

Also add DRM_IOCTL_I915_VBLANK_SWAP definition for userspace code that may want
to use ioctl() instead of drmCommandWriteRead().

Signed-off-by: Dave Airlie <airlied@linux.ie>

No differences found