]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ingenic: Add ingenic_drm_bridge_atomic_enable and disable
authorChristophe Branchereau <cbranchereau@gmail.com>
Mon, 21 Mar 2022 13:36:49 +0000 (14:36 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Tue, 5 Apr 2022 20:41:35 +0000 (21:41 +0100)
commit06f2f865dd9d80a49e0daa8739314a45b6029b61
tree22ffb17a459f166b2c96d36f5a61795e59dab82e
parentd8224b978b0f2e377d5c7ada434966577b20b0a0
drm/ingenic: Add ingenic_drm_bridge_atomic_enable and disable

ingenic_drm_bridge_atomic_enable allows the CRTC to be enabled after
panels have slept out, and before their display is turned on, solving
a graphical bug on the newvision nv3502c.

Also add ingenic_drm_bridge_atomic_disable to balance it out.

Signed-off-by: Christophe Branchereau <cbranchereau@gmail.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Acked-by: Artur Rojek <contact@artur-rojek.eu>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321133651.291592-2-cbranchereau@gmail.com
drivers/gpu/drm/ingenic/ingenic-drm-drv.c