audio: Add HBR audio info for HDMI input [2/3]

PD#SWPL-3435

Problem:
  P321 doesn't support DTS HD decoding

Solution:
  In HDMI RX module, we add a new field to
  indicate whether the input audio is HBR.
  With this info, hal can enable the PAO
  mode  to decode the HBR audio.

Verify:
  P321

Change-Id: I6fd180e6636905f5119fe1d313214d4b56d07d5e
Signed-off-by: yujie.wu <yujie.wu@amlogic.com>

Conflicts:
	drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_drv.h
	drivers/amlogic/media/vin/tvin/hdmirx/hdmi_rx_hw.c
This commit is contained in:
yujie.wu
2019-01-21 17:25:19 +08:00
committed by Luke Go
parent 44f7a81ee0
commit 2247e37c4b
7 changed files with 96 additions and 23 deletions

View File

@@ -464,7 +464,7 @@ struct dfe_adcpll_para {
struct rx_audio_stat_s {
/*audio packets received*/
bool aud_rcv_flag;
int aud_rcv_packet;
/*audio stable status*/
bool aud_stb_flag;
/*audio sample rate*/

View File

@@ -71,6 +71,10 @@ extern int aml_get_atmos_audio_edid(
struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol);
extern int aml_get_hdmiin_audio_packet(
struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol);
#endif
#endif