OSDN Git Service

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)
commitaa46154355e1e81ef746470d2e88bdb283508bff
tree22ffb17a459f166b2c96d36f5a61795e59dab82e
parent33f2069fb6a9c2d6509accc39521d3f4d6369576
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