]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita983da71fabf4c27ce3eafe91d1d96b63066be07
treeb5ba583a0c9b6ef28504b135227faec5dbd4d9af
parente2a50cf2ead0ceee8387a96041339756d5262a46
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