HDMI: Implement pcm-per-pin
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ALSA: hda: Gate ELD usage only by whether ELD is validsound/ | +1 | 0 replies | |
| 2/6 | ALSA: hda: Allow multple SPDIF controls per codecsound/ sound/ sound/ +2 more | +87 | 0 replies | |
| 3/6 | ALSA: hda: Virtualize SPDIF out controlssound/ sound/ sound/ +9 more | +69 | 0 replies | |
| 4/6 | ALSA: hda: Separate generic and non-generic implementationssound/ | +66 | 0 replies | |
| 5/6 | ALSA: hda: hdmi_eld_update_pcm_info: update a stream in placesound/ sound/ sound/ | +36 | 0 replies | |
| 6/6 | ALSA: hda: HDMI: Support codecs with fewer cvts than pinssound/ sound/ sound/ | +350 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] HDMI: Implement pcm-per-pin
This patchset implements a PCM-per-pin-widget model for all HDMI codecs that use the generic codec support. For most existing codecs, there is 1 pin and 1 converter per codec, so this change should have no functional impact. For some codecs (e.g. GeForce 520, Intel Ibex Peak) there are fewer converters than pins, and the default routing is for all pins to be mux'd from a single codec, so this patch allows:
a) Multiple PCMs to be used at once (1 per converter). Previously, only 1 PCM was created due to the default muxing.
b) A direct mapping from PCM device to pin, and hence to ELD data and connected monitor. This should enable simpler/better decisions re: which audio formats are supported for that PCM, since only 1 ELD has to be considered (previously, I think the ELDs other than from the first pin were simply ignored)
The very first change in the series is actually somewhat unrelated, but I noticed it while working on this, and I believe it's a correct change.
Stephen Warren (6):
ALSA: hda: Gate ELD usage only by whether ELD is valid
ALSA: hda: Allow multple SPDIF controls per codec
ALSA: hda: Virtualize SPDIF out controls
ALSA: hda: Separate generic and non-generic implementations
ALSA: hda: hdmi_eld_update_pcm_info: update a stream in place
ALSA: hda: HDMI: Support codecs with fewer cvts than pins
sound/pci/hda/hda_codec.c | 139 ++++++--- sound/pci/hda/hda_codec.h | 16 +- sound/pci/hda/hda_eld.c | 46 ++-- sound/pci/hda/hda_intel.c | 5 +- sound/pci/hda/hda_local.h | 8 +- sound/pci/hda/patch_analog.c | 4 +- sound/pci/hda/patch_ca0110.c | 3 +- sound/pci/hda/patch_cirrus.c | 3 +- sound/pci/hda/patch_cmedia.c | 4 +- sound/pci/hda/patch_conexant.c | 1 + sound/pci/hda/patch_hdmi.c | 704 ++++++++++++++++++++++++---------------- sound/pci/hda/patch_realtek.c | 1 + sound/pci/hda/patch_sigmatel.c | 4 +- sound/pci/hda/patch_via.c | 13 +- 14 files changed, 594 insertions(+), 357 deletions(-)