diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2010-08-03 06:28:58 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-03 06:53:36 -0400 |
commit | ea87d1c493aba9cf3f645eae0d6d9c0fd44d3189 (patch) | |
tree | aade327fe17501e0bd52bf4ae1dc02f84ccbe26f /sound/pci/hda/hda_codec.h | |
parent | 32c168c892e2c6936c714d1653ba5e19e07d5c26 (diff) |
ALSA: hda - Add support for HDMI HBR passthrough
Passing IEC 61937 encapsulated compressed audio at bitrates over 6.144
Mbps (i.e. more than a single 2-channel 16-bit 192kHz IEC 60958 link)
over HDMI requires the use of HBR Audio Stream Packets instead of Audio
Sample Packets.
Enable HBR mode when the stream has 8 channels and the Non-PCM bit is
set.
If the audio converter is not connected to any HBR-capable pins, return
-EINVAL in prepare().
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 4797416aa3d9..48b33671e727 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -364,6 +364,9 @@ enum { | |||
364 | #define AC_DIG2_CC (0x7f<<0) | 364 | #define AC_DIG2_CC (0x7f<<0) |
365 | 365 | ||
366 | /* Pin widget control - 8bit */ | 366 | /* Pin widget control - 8bit */ |
367 | #define AC_PINCTL_EPT (0x3<<0) | ||
368 | #define AC_PINCTL_EPT_NATIVE 0 | ||
369 | #define AC_PINCTL_EPT_HBR 3 | ||
367 | #define AC_PINCTL_VREFEN (0x7<<0) | 370 | #define AC_PINCTL_VREFEN (0x7<<0) |
368 | #define AC_PINCTL_VREF_HIZ 0 /* Hi-Z */ | 371 | #define AC_PINCTL_VREF_HIZ 0 /* Hi-Z */ |
369 | #define AC_PINCTL_VREF_50 1 /* 50% */ | 372 | #define AC_PINCTL_VREF_50 1 /* 50% */ |