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)
commit83326a73a1f2933295d30667ab4996b1b1099708
tree399075e399148376b0a3af380e051c5d33210b7e
parent4d3b3c93bcc153d32ffa1c3df8b9d71586283ceb
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