FreeBSD Bugzilla – Attachment 275340 Details for
Bug 299094
snd_hda: use the pin ELD to select DisplayPort audio framing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Read the ELD from the output pin to select the correct audio framing.
0001-snd_hda-fix-DisplayPort-audio-framing.patch (text/plain), 1.38 KB, created by
David Bidner
on 2026-10-03 14:43:18 UTC
(
hide
)
Description:
Read the ELD from the output pin to select the correct audio framing.
Filename:
MIME Type:
Creator:
David Bidner
Created:
2026-10-03 14:43:18 UTC
Size:
1.38 KB
patch
obsolete
>From a2deba440cd3a4ca458e71eab253748547ffb9a4 Mon Sep 17 00:00:00 2001 >From: David Bidner <david@crap.solutions> >Date: Sat, 3 Oct 2026 16:04:32 +0200 >Subject: [PATCH] snd_hda: use the pin ELD to select DisplayPort audio framing > >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. >--- > sys/dev/sound/pci/hda/hdaa.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c >index 38dfb4c..8f0d766 100644 >--- a/sys/dev/sound/pci/hda/hdaa.c >+++ b/sys/dev/sound/pci/hda/hdaa.c >@@ -2008,8 +2008,8 @@ hdaa_audio_setup(struct hdaa_chan *ch) > /* Write HDMI/DisplayPort audio infoframe. */ > hda_command(ch->devinfo->dev, > HDA_CMD_SET_HDMI_DIP_INDEX(0, nid, 0x00)); >- if (w->eld != NULL && w->eld_len >= 6 && >- ((w->eld[5] >> 2) & 0x3) == 1) { /* DisplayPort */ >+ if (wp->eld != NULL && wp->eld_len >= 6 && >+ ((wp->eld[5] >> 2) & 0x3) == 1) { /* DisplayPort */ > hda_command(ch->devinfo->dev, > HDA_CMD_SET_HDMI_DIP_DATA(0, nid, 0x84)); > hda_command(ch->devinfo->dev, > >base-commit: 765615997a3a3ab649505d58087b7375736fdff7
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 299094
: 275340