]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ingenic: Use standard drm_atomic_helper_commit_tail
authorPaul Cercueil <paul@crapouillou.net>
Sun, 8 Aug 2021 13:45:21 +0000 (15:45 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Wed, 11 Aug 2021 13:49:15 +0000 (15:49 +0200)
commit2fcad9359903254f76175120bc2d80817655cd7c
tree399075e399148376b0a3af380e051c5d33210b7e
parentcd8cce4ee0f8730e22e10bd0acbdc5a411c8c7f2
drm/ingenic: Use standard drm_atomic_helper_commit_tail

By making the CRTC's .vblank_enable() function return an error when it
is known that the hardware won't deliver a VBLANK, we can drop the
ingenic_drm_atomic_helper_commit_tail() function and use the standard
drm_atomic_helper_commit_tail() function instead.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210808134526.119198-4-paul@crapouillou.net
drivers/gpu/drm/ingenic/ingenic-drm-drv.c