mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
hdmitx: disable encryption hdcp1.4 fail [1/1]
PD#SWPL-2302 Problem: Play online video,half an hour later, the TV shows a pink screen and the sound is normal. Solution: Check hdcp1.4 status and disable encryption when fail. Verify: S922X Change-Id: I6ce51824726b267d140750f9e9d80aa8bb921cac Signed-off-by: Kaifu Hu <kaifu.hu@amlogic.com>
This commit is contained in:
@@ -4637,6 +4637,10 @@ static void hdcptx_events_handle(unsigned long arg)
|
||||
st_flag = hdmitx_rd_reg(HDMITX_DWC_A_APIINTSTAT);
|
||||
pr_info("hdcp14: instat: 0x%x\n", st_flag);
|
||||
}
|
||||
|
||||
if (st_flag & (1 << 6)) {
|
||||
hdmitx_set_reg_bits(HDMITX_DWC_A_HDCPCFG1, 1, 1, 1);
|
||||
}
|
||||
if (st_flag & (1 << 7)) {
|
||||
hdmitx_wr_reg(HDMITX_DWC_A_APIINTCLR, 1 << 7);
|
||||
hdmitx_hdcp_opr(3);
|
||||
|
||||
Reference in New Issue
Block a user