hdmitx: detach vinfo before mode setting done [1/1]

PD#SWPL-18673

Problem:
when hotplug cable very quickly, the pin contact may
be loose and edid read wrong, system will output
default 1080p+rgb signal, after the pin contact
ok and edid read ok, DV module send DV signal, the
output mode and DV signal may not match, cause
TV show green screen.

Solution:
only attach vinfo after hdmi mode setting done.

Verify:
AC214

Change-Id: Ice60d44f55ed377dbab4bef4639d67c263a6bbb6
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
This commit is contained in:
Hang Cheng
2019-12-27 11:38:16 +08:00
committed by Luke Go
parent 2f73ddbe66
commit 51b1fb9858

View File

@@ -4355,6 +4355,7 @@ static void hdmitx_hpd_plugin_handler(struct work_struct *work)
/* start reading E-EDID */
if (hdev->repeater_tx)
rx_repeat_hpd_state(1);
edidinfo_detach_to_vinfo(hdev);
hdmitx_get_edid(hdev);
hdev->cedst_policy = hdev->cedst_en & hdev->rxcap.scdc_present;
hdmi_physcial_size_update(hdev);