]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Move hdmi reset to bind
authorDom Cobley <popcornmix@gmail.com>
Mon, 11 Jan 2021 14:22:56 +0000 (15:22 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 28 Jan 2021 09:27:20 +0000 (10:27 +0100)
commit36527fc0c10802664b613dd487e9a75f4dd33a5c
tree029fcdfaef8a35327ee9cf53406817138cab50ea
parentb6ffe98688dee8f624f3b9bc628a1fa394e3c8bd
drm/vc4: hdmi: Move hdmi reset to bind

The hdmi reset got moved to a later point in the commit 7726040cfcb6
("drm/vc4: hdmi: Add reset callback").

However, the reset now occurs after vc4_hdmi_cec_init and so tramples
the setup of registers like HDMI_CEC_CNTRL_1

This only affects pi0-3 as on pi4 the cec registers are in a separate
block

Fixes: 7726040cfcb6 ("drm/vc4: hdmi: Add reset callback")
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Tested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Link: https://patchwork.freedesktop.org/patch/msgid/20210111142309.193441-3-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c