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.
Link: https://lore.kernel.org/alsa-devel/20260416090600.2237882-1-sheetal@nvidia.com/
Signed-off-by: Sheetal <sheetal@nvidia.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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
+ }
+}