Skip to contentSkip to conversation

tegra-hda: Add HDMI/DP outputs 2-4 for Tegra186+

PATCH Applied Sheetal 2 participants 2 messages Apr 16 Tegra architecture support

lore
Share & tools
lore

Sheetal

author
#0 lore raw

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.

---
 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
index 3277f6d..f26941b 100644
@@ -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
#1 lore raw
Quoted 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.

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.