[PATCH 1/5] drm/irq: Add drm_crtc_vblank_reset

2015-02-23 Thread Daniel Vetter
On Sun, Feb 15, 2015 at 04:08:31PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Friday 13 February 2015 21:03:42 Daniel Vetter wrote: > > At driver load we need to tell the vblank code about the state of the > > pipes, so that the logic around reject vblank_get

[PATCH 1/5] drm/irq: Add drm_crtc_vblank_reset

2015-02-15 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Friday 13 February 2015 21:03:42 Daniel Vetter wrote: > At driver load we need to tell the vblank code about the state of the > pipes, so that the logic around reject vblank_get when the pipe is off > works correctly. > > Thus far i915 used drm_vblank_off,

[PATCH 1/5] drm/irq: Add drm_crtc_vblank_reset

2015-02-13 Thread Daniel Vetter
At driver load we need to tell the vblank code about the state of the pipes, so that the logic around reject vblank_get when the pipe is off works correctly. Thus far i915 used drm_vblank_off, but one of the side-effects of it is that it also saves the vblank counter. And for that it calls down in