diff options
| author | David Bidner <david@crap.solutions> | 2026-10-03 14:04:32 +0000 |
|---|---|---|
| committer | Christos Margiolis <christos@FreeBSD.org> | 2026-10-14 11:57:40 +0000 |
| commit | 29449b3e468cb1673814dc6452e82035b3c2a628 (patch) | |
| tree | 058989c08576dd13d47a48471605fa49c6d7a062 /sys/modules/alq | |
| parent | fe90f180047bc2cb4d15d4a31033741add5f5d10 (diff) | |
hdaa_audio_setup() reads the converter widget's ELD when choosing
between HDMI and DisplayPort audio infoframes. ELD is stored on the
output pin, so the converter has no ELD and the driver selects HDMI
framing even when the connected display uses DisplayPort.
Read the ELD from the output pin to select the correct audio framing.
The equivalent change was tested on DragonFly BSD with an Intel Kaby
Lake display-audio codec and an LG HDR 4K monitor connected over
DisplayPort. Before the change, converter node 2 had no ELD, while
output pin 5 had an 83-byte ELD identifying DisplayPort. Captured driver
commands programmed HDMI audio infoframe bytes (84 01 0a 70 01 00 00
00). After applying the change and rebooting, the commands used the
existing DisplayPort form (84 1b 44 01 00 00 00), and console tones and
desktop audio were audible.
PR: 299094
Signed-off-by: David Bidner <david@crap.solutions>
Reviewed by: christos
MFC after: 2 weeks
Pull-Request: https://github.com/freebsd/freebsd-src/pull/2463
Diffstat (limited to 'sys/modules/alq')
0 files changed, 0 insertions, 0 deletions
