drm/irq: Add drm_crtc_send_vblank_event()
authorThierry Reding <treding@nvidia.com>
Mon, 15 Dec 2014 13:47:18 +0000 (14:47 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 17 Dec 2014 13:27:33 +0000 (14:27 +0100)
commita4d7b30df5d10bca92f8f359fc56fb8db0410f89
treed3f2ad6c26670ddb586b76f0654a8b49ff6d2a1d
parent4e0cd68115620bc3236ff4e58e4c073948629b41
drm/irq: Add drm_crtc_send_vblank_event()

This function is the KMS native variant of drm_send_vblank_event(). It
takes a struct drm_crtc * instead of a struct drm_device * and an index
of the CRTC.

Eventually the goal is to access vblank data through the CRTC only so
that the per-CRTC data can be moved to struct drm_crtc.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/drm_irq.c
include/drm/drmP.h