drm/bridge: synopsys: dw-hdmi-qp: Increase the delay time when change resolution

Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: I720b6b9938aa485301049760589bb73733d060bc
This commit is contained in:
Algea Cao
2022-01-11 09:49:47 +08:00
committed by Tao Huang
parent 5d53a6553d
commit 8e6b342cd5

View File

@@ -1323,10 +1323,15 @@ static void hdmi_set_op_mode(struct dw_hdmi_qp *hdmi,
{
int frl_rate;
/* set sink frl mode disable and wait sink ready */
hdmi_writel(hdmi, 0, FLT_CONFIG0);
if (dw_hdmi_support_scdc(hdmi, &connector->display_info))
drm_scdc_writeb(hdmi->ddc, 0x31, 0);
msleep(20);
/*
* some TVs must wait a while before switching frl mode resolution,
* or the signal may not be recognized.
*/
msleep(200);
if (!link_cfg->frl_mode) {
dev_info(hdmi->dev, "dw hdmi qp use tmds mode\n");
hdmi_modb(hdmi, 0, OPMODE_FRL, LINK_CONFIG0);