drm: Add drm_crtc_vblank_waitqueue()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 22 May 2014 16:36:03 +0000 (19:36 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:26 +0000 (17:43 +0200)
commit020178a1bcadf20b9d057988984f374c905d542e
tree18ce192d4d9719fad6416ede0a25bcc2d74fa622
parentb95af8bee524974768681b2b92235e1e1e21bf1a
drm: Add drm_crtc_vblank_waitqueue()

Add a small static inline helper to grab the vblank wait queue based on
the drm_crtc.

This is useful for drivers to do internal vblank waits using
wait_event() & co.

v2: Pimp commit message (Daniel)
    Add kernel doc (Daniel)

Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Documentation/DocBook/drm.tmpl
include/drm/drmP.h