]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03c3af3d674b26e888f939ccf9faed0383427b5b
tree99c238ea84c3843e37aeb405eeb0d038c73e8ecc
parentab60a277315ee4cdb6b2693f14f77348f2f559ec
drm: Update obsolete information from {enable/disable}_vblank hooks.

Since commit 159146faa421 ("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