[Intel-gfx] [RFC] drm: add a mechanism for drivers to schedule vblank callbacks

2014-12-02 Thread Matt Roper
On Wed, Nov 19, 2014 at 05:47:08PM -0200, Paulo Zanoni wrote: > From: Paulo Zanoni > > The drivers need a way to schedule functions to be ran after a certain > number of vblanks. The i915.ko driver has plenty of examples where > this could be used, such as for unpinning buffers after a modeset.

[RFC] drm: add a mechanism for drivers to schedule vblank callbacks

2014-11-19 Thread Paulo Zanoni
From: Paulo Zanoni The drivers need a way to schedule functions to be ran after a certain number of vblanks. The i915.ko driver has plenty of examples where this could be used, such as for unpinning buffers after a modeset. Since the vblank wait IOCTL does basically