hdmirx: add DRM RCV detection. [1/1]

PD#SWPL-3117

Problem:
Cannot get the HDR packets/

Solution:
add HDR RCV detection, Low priority than EMP.

Verify:
txlx tl1

Change-Id: I364fc942840b6eef465df16b89fd0a9fd0ccb3ff
Signed-off-by: Lei Yang <lei.yang@amlogic.com>
This commit is contained in:
Lei Yang
2018-12-19 15:17:17 +08:00
committed by Luke Go
parent 4023718fff
commit b036c6c67d

View File

@@ -411,6 +411,12 @@ static int hdmi_rx_ctrl_irq_handler(void)
rx_pr("[irq] EMP_RCV %#x\n",
intr_pedc);
emp_handle_flag = true;
} else if (rx_get_bits(intr_pedc,
DRM_RCV_EN_TXLX) != 0) {
if (log_level & 0x400)
rx_pr("[irq] DRM_RCV_EN %#x\n",
intr_pedc);
drm_handle_flag = true;
}
} else if (rx.chip_id == CHIP_ID_TXLX) {
if (rx_get_bits(intr_pedc,