]> 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)
commitc9a2a57c2aa528400c5393392c416bd15bf1a523
treeb5ba583a0c9b6ef28504b135227faec5dbd4d9af
parentff08a3579009ea79b7473131123ab4f6e54a6546
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