[PATCH 08/11] drm/imx: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Also, slightly changes the behavior to always put the vblank irq, even if userspace did not request a vblank event. As far as I can tell, the previous code would leak a vblank irq refcnt if userspace requested a pageflip without event. Signed-off-by: Rob Clark --- drivers/stag

[PATCH 08/11] drm/imx: use drm_send_vblank_event() helper

2012-10-08 Thread Rob Clark
From: Rob Clark Also, slightly changes the behavior to always put the vblank irq, even if userspace did not request a vblank event. As far as I can tell, the previous code would leak a vblank irq refcnt if userspace requested a pageflip without event. Signed-off-by: Rob Clark --- drivers/stag