mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
hdmitx: add parsing for non-standard dv edid [1/1]
PD#SWPL-1968 Problem: some error edid need to be parsed Solution: add parsing for non-standard dv edid Verify: t962e (txlx) Change-Id: Ia952ed59650fd0b1c665ca03175a38c1cf3ae5bb Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
This commit is contained in:
@@ -799,11 +799,15 @@ static void Edid_ParsingVendSpec(struct rx_cap *pRXCap,
|
||||
}
|
||||
|
||||
if (ieeeoui != DV_IEEE_OUI) {
|
||||
dv->block_flag = ERROR_LENGTH;
|
||||
dv->block_flag = ERROR_OUI;
|
||||
return;
|
||||
}
|
||||
dv->ieeeoui = ieeeoui;
|
||||
dv->ver = (dat[pos] >> 5) & 0x7;
|
||||
if ((dv->ver) > 2) {
|
||||
dv->block_flag = ERROR_VER;
|
||||
return;
|
||||
}
|
||||
/* Refer to DV 2.9 Page 27 */
|
||||
if (dv->ver == 0) {
|
||||
if (dv->length == 0x19) {
|
||||
|
||||
@@ -168,6 +168,7 @@ enum block_type {
|
||||
ERROR_NULL = 0,
|
||||
ERROR_LENGTH,
|
||||
ERROR_OUI,
|
||||
ERROR_VER,
|
||||
CORRECT,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user