tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
PATCH 1/1 tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+
Declare the maximum four HDMI/DisplayPort outputs (PCM devices 3, 7, 8 and 9) so PipeWire can see every available port. The HDMI macro's built-in ControlExists check ensures devices are only created when the corresponding jack control exists, so SoCs with fewer outputs are unaffected.
Signed-off-by Sheetal <[email protected]>
--- ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf | 28 ++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-)
ucm2/Tegra/tegra-hda/tegra-hda-HiFi.conf +26 -2
@@ -1,10 +1,34 @@ Include.hdmi.File "/codecs/hda/hdmi.conf" -If.hdmi { +If.hdmi1 { Condition { Type AlwaysTrue } - True.Macro.hdmi.HDMI { + True.Macro.hdmi1.HDMI { Number 1 Device 3 Priority 1100 } } +If.hdmi2 { + Condition { Type AlwaysTrue } + True.Macro.hdmi2.HDMI { + Number 2 + Device 7 + Priority 1200 + } +} +If.hdmi3 { + Condition { Type AlwaysTrue } + True.Macro.hdmi3.HDMI { + Number 3 + Device 8 + Priority 1300 + } +} +If.hdmi4 { + Condition { Type AlwaysTrue } + True.Macro.hdmi4.HDMI { + Number 4 + Device 9 + Priority 1400 + } +}
Signature · 1 line
2.17.1
Jaroslav Kysela
AppliedQuoted 7 lines · Sheetal
Declare the maximum four HDMI/DisplayPort outputs (PCM devices 3, 7, 8 and 9) so PipeWire can see every available port. The HDMI macro's built-in ControlExists check ensures devices are only created when the corresponding jack control exists, so SoCs with fewer outputs are unaffected.
Signed-off-by Sheetal <[email protected]>
Applied. I prefer the github pull requests for UCM changes. Thank you.
Jaroslav
Signature · 2 lines
Jaroslav Kysela <[email protected]> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.