hdmirx: fix picture abnormal [1/1]

PD#SWPL-153066

Problem:
no hdr packet result in picture abnormal.

Solution:
add txhd2 emp.

Verify:
txhd2

Change-Id: Id8a511eabb9aea7330df16c52b4dd76cfe8b5d78
Signed-off-by: yaoyu.xu <yaoyu.xu@amlogic.com>
This commit is contained in:
yaoyu.xu
2024-02-29 16:54:54 +08:00
committed by gerrit autosubmit
parent 76e8391454
commit dbdb928240
2 changed files with 3 additions and 1 deletions
@@ -1704,6 +1704,8 @@ void hdmirx_de_hactive(bool en, struct tvin_frontend_s *fe, enum tvin_port_type_
{
u8 port = rx_get_port_from_type(port_type);
if (rx_info.chip_id != CHIP_ID_TXHD2)
return;
hdmirx_wr_bits_top(TOP_VID_CNTL, _BIT(30), en, port);
}
@@ -2061,7 +2061,7 @@ reisr:hdmirx_top_intr_stat = hdmirx_rd_top(TOP_INTR_STAT, port);
if (hdmirx_top_intr_stat & (1 << 21))
need_check = true;
} else if (rx_info.chip_id >= CHIP_ID_T7 &&
rx_info.chip_id <= CHIP_ID_T5M) {//todo
rx_info.chip_id <= CHIP_ID_TXHD2) {//todo
if (hdmirx_top_intr_stat & (1 << 25))
need_check = true;
}