hdmirx: optimize for hdcp22 [1/1]

PD#SWPL-13130

Problem:
on LG UBK80-N DVD, hdcp22 auth passed before esm reset,
auth status will be reset, result in black screen

Solution:
delay hdcp22 auth to after esm reset

Verify:
TXLX

Change-Id: I4e7fe60cf3117712eea5f8b1eec65d544b557a48
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
This commit is contained in:
Hang Cheng
2019-08-22 17:29:49 +08:00
committed by Tao Zeng
parent 52b05ba04b
commit bcfaffd3b6
2 changed files with 5 additions and 3 deletions

View File

@@ -47,7 +47,7 @@
*
*
*/
#define RX_VER2 "ver.2019/07/30"
#define RX_VER2 "ver.2019/08/22"
/*print type*/
#define LOG_EN 0x01

View File

@@ -1701,7 +1701,8 @@ void control_reset(void)
void rx_esm_tmdsclk_en(bool en)
{
hdmirx_wr_bits_top(TOP_CLK_CNTL, HDCP22_TMDSCLK_EN, en);
if (hdcp22_on)
hdmirx_hdcp22_hpd(en);
if (log_level & HDCP_LOG)
rx_pr("%s:%d\n", __func__, en);
}
@@ -1992,7 +1993,8 @@ void hdmirx_20_init(void)
/* hdcp2.2 ctl */
if (hdcp22_on)
hdmirx_wr_dwc(DWC_HDCP22_CONTROL, 0x1000);
/* set hdcp_hpd high later */
hdmirx_wr_dwc(DWC_HDCP22_CONTROL, 0);
else
hdmirx_wr_dwc(DWC_HDCP22_CONTROL, 2);
}