drm: Update obsolete information from {enable/disable}_vblank hooks.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 1 Jun 2016 15:35:42 +0000 (16:35 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 2 Jun 2016 06:27:40 +0000 (08:27 +0200)
commit3377900791ea48a638fb9b70869258332951271d
tree99c238ea84c3843e37aeb405eeb0d038c73e8ecc
parenta0909cc574a94213423d45ffa12df2564e78679f
drm: Update obsolete information from {enable/disable}_vblank hooks.

Since commit 4dfd64862ff8 ("drm: Use vblank timestamps to guesstimate
how many vblanks were missed"), the DRM framework can cope with devices
that don't have a hardware counter for vsync events without having
to keep the vsync interrupts enabled all the time. Drivers handling
such hardware should use drm_vblank_no_hw_counter() function for
their ->get_vblank_counter hook.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464795342-32297-1-git-send-email-Liviu.Dudau@arm.com
include/drm/drmP.h