drm/rockchip: dw_hdmi-qp: Disable scramble when hdmi disable

Fix no signal when hdmi switch from hdmi2.0 tv to
hdmi1.4 tv.

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Ie90edcf737f204568bcac233acab9aa6046c20e3
This commit is contained in:
Algea Cao 2023-05-09 16:11:19 +08:00 committed by Tao Huang
parent 693eadca16
commit 09b3288dd7

View File

@ -2645,6 +2645,7 @@ static void dw_hdmi_qp_bridge_atomic_disable(struct drm_bridge *bridge,
if (hdmi->phy.ops->disable && !hdmi->frl_switch) {
hdmi_writel(hdmi, 0, FLT_CONFIG0);
hdmi_writel(hdmi, 0, SCRAMB_CONFIG0);
/* set sink frl mode disable */
if (hdmi->curr_conn && dw_hdmi_support_scdc(hdmi, &hdmi->curr_conn->display_info))
drm_scdc_writeb(hdmi->ddc, 0x31, 0);