mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
hdmirx: fix soundless issue [1/1]
PD#SWPL-149931 Problem: soundless issue for kernel5.15 Solution: 1. Do not clear audio packet in vsync 2. design2.0 needs to enable audio data fifo Verify: T5D Change-Id: Ib1a162f82d2f223ffc4dec86ef17c3c524d094c8 Signed-off-by: Lei Yang <lei.yang@amlogic.com>
This commit is contained in:
@@ -62,7 +62,8 @@
|
||||
//2023.11.16 rm gb check when dvi input
|
||||
//2023.11.29 set main_port_open when resume
|
||||
//2023.12.12 t3x no open port limit when reboot
|
||||
#define RX_VER0 "ver.2023/12/12"
|
||||
//2024.01.04 fix soundless issue for 2.0 ip
|
||||
#define RX_VER0 "ver.2024/01/04"
|
||||
|
||||
/*print type*/
|
||||
#define COR1_LOG 0x10000
|
||||
|
||||
@@ -2488,17 +2488,6 @@ static int top_init(u8 port)
|
||||
data32 |= (8192 << 0); /* [23: 0] ref_cycles */
|
||||
hdmirx_wr_top(TOP_METER_HDMI_CNTL, data32, port);
|
||||
|
||||
data32 = 0;
|
||||
data32 |= (0 << 31);// [31] free_clk_en
|
||||
data32 |= (0 << 15);// [15] hbr_spdif_en
|
||||
data32 |= (0 << 8);// [8] tmds_ch2_clk_inv
|
||||
data32 |= (0 << 7);// [7] tmds_ch1_clk_inv
|
||||
data32 |= (0 << 6);// [6] tmds_ch0_clk_inv
|
||||
data32 |= (0 << 5);// [5] pll4x_cfg
|
||||
data32 |= (0 << 4);// [4] force_pll4x
|
||||
data32 |= (0 << 3);// [3] phy_clk_inv
|
||||
hdmirx_wr_top(TOP_CLK_CNTL, data32, port);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
||||
@@ -719,7 +719,7 @@ void rx_pkt_initial(u8 port)
|
||||
memset(&rx_pkt[i].multi_vs_info[j++], 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].avi_info, 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].spd_info, 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].aud_pktinfo, 0, sizeof(struct pd_infoframe_s));
|
||||
//memset(&rx_pkt[i].aud_pktinfo, 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].mpegs_info, 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].ntscvbi_info, 0, sizeof(struct pd_infoframe_s));
|
||||
memset(&rx_pkt[i].drm_info, 0, sizeof(struct pd_infoframe_s));
|
||||
|
||||
Reference in New Issue
Block a user