From: Thierry Reding Date: Tue, 16 Dec 2014 12:08:47 +0000 (+0100) Subject: drm/irq: Add drm_crtc_vblank_count() X-Git-Tag: fixes-v4.0-rc1~372^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96d3f91eb263d478777bb9bff1b1300e0c08c29e;p=pandora-kernel.git drm/irq: Add drm_crtc_vblank_count() This function is the KMS native variant of drm_vblank_count(). 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 Signed-off-by: Thierry Reding --- Reading git-diff-tree failed