hdmitx: cts HF1-66 test fail [1/2]
PD#SWPL-196173
Problem:
cts HF1-66 test fail, the edid only support 480p and 576p,
but the UI display 720p and 1080p, select 720p and 1080p
will test fail
Solution:
before: will set default vic when edid has one block
now: set the default vic only when no vic or edid invalid
Verify:
s7d
Test:
DRM-TX-142
Change-Id: I270d0e339681b007c8b3da20983721f93de3ce91
Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
diff --git a/drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_edid_parse.c b/drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_edid_parse.c
index a0f6df3..928c1f3 100644
--- a/drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_edid_parse.c
+++ b/drivers/amlogic/media/vout/hdmitx/hdmitx_common/hdmitx_edid_parse.c
@@ -2610,6 +2610,10 @@
cta_block_count = hdmitx_edid_get_cta_block_count(EDID_buf);
+ /*
+ * only one block, need parse continue, at the end of parse, it will determine
+ * whether to use the default vic
+ */
if (cta_block_count == 0) {
HDMITX_INFO("EDID BlockCount=0\n");
/*
@@ -2631,7 +2635,6 @@
prxcap->ieeeoui = HDMI_IEEE_OUI;
if (zero_numbers > 120)
prxcap->ieeeoui = HDMI_IEEE_OUI;
- hdmitx_edid_set_default_vic(prxcap);
}
}