drm/sun4i: crtc: Call drm_crtc_vblank_on / drm_crtc_vblank_off
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 21 Feb 2018 12:57:03 +0000 (13:57 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 6 Mar 2018 15:27:54 +0000 (16:27 +0100)
commitfd00c4ee76f0b509ce79ffbc1f5a682fbdd84efd
treeb5ba583a0c9b6ef28504b135227faec5dbd4d9af
parent5af894bd20fa16970378cae8ff55917294e0d9dd
drm/sun4i: crtc: Call drm_crtc_vblank_on / drm_crtc_vblank_off

Make sure that the CRTC code will call the enable/disable_vblank hooks.

Otherwise, since the refcounting will be off, we might end up in a
situation where the vblank management functions are called while the CRTC
is off.

Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180221125703.4595-3-maxime.ripard@bootlin.com
drivers/gpu/drm/sun4i/sun4i_crtc.c