From nobody Sun Nov 01 13:38:52 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jHbXF2mpLz6yGxt for ; Sun, 01 Nov 2026 13:38:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jHbXF0pjVz4QTj for ; Sun, 01 Nov 2026 13:38:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793540333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oJW5P8XS0l/MIuvZ4M5llAKkwkGAwES+ejXXpwfOqWA=; b=OzENx47tHTvN/2qU+uj/M9PiBBsguP+Y4n5cJ1/py3xz7kMDakoY4uiFcbWkxo1j1OYiMg rnzoIjcGWSJ/iEafegfP0Os6dYB2swKe9pgt2ytEOBww4/v6KaHPqJPpeTyVCfzYLQkEjH Bvxh13sfYjc2BTAs6sCXGFovY2WNpoX2M6NncT3IpjxavxaGiklBgeD7dyfI+sslYjARgZ 7UOjFoJVeGsVcBFUXbz/ynoWqK0pCDyev5kRxrweGlxeQbC+8Ne0whZXWAlGGlF21Wxj7r dNHW+SLcFOvO08sMc7D7lHGZWn0L7Eb/A92diRQRvAjIQwkzV4Ga5mEbRi94bQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793540333; b=CXJtcIhBebvEm6bA0Xdd38nImDJW3CCGAzn/hlOKFIKuXlf6AOy4rwbzVV+GgaW1nwionV tewLMf+a8H6iCXy0geOlvRYSAeeB3fTd8cUVIsKkViYZVVogSq14MXE9F81GYa+nqJRxgn ALMJ0dblxat5CyIEItPOUN6fzEruUwica0nbE/NmUM+7Eq27xmI9XxWOhyuIQyB2/j3mEC zXuO4q6S6daLGJdvvpYEdZJNpyqNMP55SYK7a1khKOoj9W0dVkPdtISj2jGoBWCp7dNFVm 0grkWOStl5flZYq/y4038/LtONSos3v4N+MTa0FujDRNIx4Q5HMN0C+0keAdJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793540333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oJW5P8XS0l/MIuvZ4M5llAKkwkGAwES+ejXXpwfOqWA=; b=s1GCXZbG9lLuh0JaeK9eUpffCkazVsPkce17GK/UgjgXi2xlz+oanVvGdOo9OaAf7IwRuS IP4qSMR8zt5teEKctQII1Dy43AZXP0ZUThC5Iuon8GY7LtGbj7sQXjdOlaCHfn+RZNqAWC yJKnLh2Iv1gFq4J+HEaR7Nf1wuEnEyM7J5b2yUKmla9Yd1gfLJ3gmdcqOBpxCFdnorp83O zqM8An75E/TathJcYfHQv7F1IhbeIQAMb7d4eqn5OKhSoK/AhoiZlOAmGlZgAjIQlkTCNY jG+MFyAx2s3PkLyDJgaaTC6JCJpC9cgOVPtak5N57Jq1upZC+2TaWlfdz2/GiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jHbXD72s2z11dY for ; Sun, 01 Nov 2026 13:38:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 31fd9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 01 Nov 2026 13:38:52 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: David Bidner From: Christos Margiolis Subject: git: a1b3329affb9 - stable/15 - snd_hda: use the pin ELD to select DisplayPort audio framing List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: christos X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: a1b3329affb949ce5d14f8af373b215faa51cdcc Auto-Submitted: auto-generated Date: Sun, 01 Nov 2026 13:38:52 +0000 Message-Id: <6ae740ec.31fd9.7f0f8d40@gitrepo.freebsd.org> The branch stable/15 has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=a1b3329affb949ce5d14f8af373b215faa51cdcc commit a1b3329affb949ce5d14f8af373b215faa51cdcc Author: David Bidner AuthorDate: 2026-10-03 14:04:32 +0000 Commit: Christos Margiolis CommitDate: 2026-11-01 13:38:25 +0000 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. 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 Reviewed by: christos MFC after: 2 weeks Pull-Request: https://github.com/freebsd/freebsd-src/pull/2463 (cherry picked from commit 29449b3e468cb1673814dc6452e82035b3c2a628) --- 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 c03cbc216030..0f81d114eb30 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,