From nobody Wed Oct 14 11:59:59 2026 X-Original-To: dev-commits-src-main@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 4j4VBX425rz6vPkT for ; Wed, 14 Oct 2026 12:00:04 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j4VBX2sfTz3FTv for ; Wed, 14 Oct 2026 12:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791979204; 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=s0BaCZ5DPlEE0y7XQC7VFt9wfOn8zUeM+FWAI87N3Xo=; b=npfmoFsl+833tTYa5G3VBl7RLA9PQYpFm+Bi1H/8SdOMMAypkKNbZSDFMVok2i0GWu5T0V dK3vsC1WuALRC7/tITEZ6vR1BTwXLu6WqZhZ9T6ZUtjXjZUZOVpgq/FO4gyY1siqZc4p49 zqbAgrDC/UWUxLZOKKqt2rK4dQBAibAUfjSmcS/KMZqkX9S40qVi9dOJ+F+M96ZYsIRH3H 67LETT2zx02WM482n/iwxpTkrOxNIOExxMxIvsTxMt6GL/UfVu2kROTKaT94s16IpUeAqB xLAPeNzaNvxo+vkJ2KKekOuj1bsIQOW/qhSKTERE9dE47pOf+cN98rZJhTuvsA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791979204; b=qYPa03ULWbywkStAZTObrFimLLYUHg6mZKPUwjpiQs6HO7TS4AesD2T1OYWqscYUjdk7vn cCbchTevI03ujkTfctLQoKT/SiLPz+4ac2cjqxawep3YxTR6Un1bA2W5FHN/D+i0JHl1Ii nBsySGbBthCgkf4cRmC2Q3RC2SUHYIgRfzQv7PtPmKtTPQO0vQEjW9o2EVCJKAxh2TeZxh ADEZdCiVcHsW1/rtxz/OXZsT85c9j4HisXuxRrzX0yXd0q+9Q4Qf+x5Trr+ZmgHIR+hYO2 IjgpCi/hm5msGBBQ/QEVuAwWYfSQs7Z/kH6OkQi+j4lXB18SdfCuIGnsDyyZxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791979204; 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=s0BaCZ5DPlEE0y7XQC7VFt9wfOn8zUeM+FWAI87N3Xo=; b=M/rjAkO5WODO/XgpHoMCIRsB0wwelTHuWOttR+OQSHD66xfaVZbutMK+Ij0GJUuP28WWAB mNGcp9soSqofvMl6/a164v9YojmGU5YGuoOCQf8CJatrpovk/+fXob8BWeGZb/bplKXY8q o5K07u9kAvbmTFYddJ3W6p2p8KqgPIvdFrTiyJPf89Znl5fJDfhfSe8E/my+NiifRYNi2/ kNwHQ9OWEDSm5WLU6fI5xuujp9BVw4GTayG9HjKWJQvW+6Y1AXRJkX2aS4pwf1GNMBtdVP UPkNlgYc5J5QE4bTQ+EsYucitBMrXuvr7soWAU8sUTgkPJaly0L7OU0BD71q7w== 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 4j4VBX1dH5z11tT for ; Wed, 14 Oct 2026 12:00:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3b562 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 14 Oct 2026 11:59:59 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: David Bidner From: Christos Margiolis Subject: git: 29449b3e468c - main - snd_hda: use the pin ELD to select DisplayPort audio framing List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: Commit messages for the main branch 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/main X-Git-Reftype: branch X-Git-Commit: 29449b3e468cb1673814dc6452e82035b3c2a628 Auto-Submitted: auto-generated Date: Wed, 14 Oct 2026 11:59:59 +0000 Message-Id: <6acf6ebf.3b562.385cd4f9@gitrepo.freebsd.org> The branch main has been updated by christos: URL: https://cgit.FreeBSD.org/src/commit/?id=29449b3e468cb1673814dc6452e82035b3c2a628 commit 29449b3e468cb1673814dc6452e82035b3c2a628 Author: David Bidner AuthorDate: 2026-10-03 14:04:32 +0000 Commit: Christos Margiolis CommitDate: 2026-10-14 11:57:40 +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 --- 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 38dfb4cc7759..8f0d76669548 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,