]> git.baikalelectronics.ru Git - kernel.git/commit
drm/irq: Add drm_crtc_vblank_count_and_time()
authorThierry Reding <treding@nvidia.com>
Thu, 24 Sep 2015 16:35:36 +0000 (18:35 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Sep 2015 18:27:17 +0000 (20:27 +0200)
commitae0f49db2820e832d4b1289298a3f1f983b11f1a
tree45fb6b49759d63d97e360ce6922101aa6765c9dd
parent08f21405e94b1edd595c510167729c3a22fdd9cd
drm/irq: Add drm_crtc_vblank_count_and_time()

This function is the KMS native variant of drm_vblank_count_and_time().
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.

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