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 Jianxin Pan
parent b315b2ba0b
commit 73536ef3f3
2 changed files with 7 additions and 1 deletions

View File

@@ -34,7 +34,7 @@
#include "hdmi_rx_edid.h"
#define RX_VER0 "ver.2018-12-13"
#define RX_VER0 "ver.2018/12/19"
/*
*
*

View File

@@ -410,6 +410,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,