hdmitx: fix no output when plugin dvi equipment

PD#167811: hdmitx: fix no output when plugin dvi equipment

In uboot,hdmitx only output hdmi video stream. When plugin dvi
equipments, we choose dvi stream after reading edid.

Change-Id: Ic4dce29e98b9da58e8b79ffec3de933965b23ea3
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
Yi Zhou
2018-06-05 16:57:36 +08:00
committed by Yixun Lan
parent fe20edf1d3
commit 16dae8ae66

View File

@@ -3078,6 +3078,12 @@ static void hdmitx_hpd_plugin_handler(struct work_struct *work)
rx_repeat_hpd_state(1);
hdmitx_get_edid(hdev);
hdmi_physcial_size_update(hdev);
if (hdev->RXCap.IEEEOUI != 0x000c03)
hdev->HWOp.CntlConfig(hdev,
CONF_HDMI_DVI_MODE, DVI_MODE);
else
hdev->HWOp.CntlConfig(hdev,
CONF_HDMI_DVI_MODE, HDMI_MODE);
mutex_lock(&getedid_mutex);
hdev->HWOp.CntlMisc(hdev, MISC_I2C_REACTIVE, 0);
mutex_unlock(&getedid_mutex);