]> 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)
commit7fc6b06fbeb45b8a54a1c7eff6d251e132bf3d8b
tree45fb6b49759d63d97e360ce6922101aa6765c9dd
parent8fc01808ea03cc2df53c1a027b783177651a5fd8
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