[PATCH 0/3] drm: Add CRTC-id based ioctls for vblank query/event

2017-07-31 Thread Keith Packard
Here's an updated series for the proposed new IOCTLs. Major changes since last time: * Leave driver API with 32-bit vblank counts * Use ktime_t instead of struct timespec. * Check for MODESETTING before using modesetting APIs * Ensure vblank is running in new get_sequence ioctl There are othe

[PATCH 0/3] drm: Add CRTC-id based ioctls for vblank query/event

2017-07-05 Thread Keith Packard
This patch series provides a new interface which fixes three issues with the current VBLANK_WAIT ioctl: 1) CRTC indices to select a target. 2) 32-bits of count resolution. 3) Microsecond time resolution. The first makes it quite difficult to use this interface from a leased DRM device; without