From nobody Tue Sep 23 17:18:45 2025 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 4cWRXQ0x4gz68tw6; Tue, 23 Sep 2025 17:18:46 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cWRXQ0MtKz3Cm4; Tue, 23 Sep 2025 17:18:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758647926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h4WYfqd5HNUnkAo2NTKdYuVgrZoHGjuhxPYEKp0+Vvc=; b=EBu782JT2dyKEbXcBtkn6MXrgnUhwE89U8GE5z54cQqQYXT7fty0A1ZjUueDBrV3b3WbTY bCGvHOKMIExZrYmr89vNhp3ybMaFf8gI3va8iPVUqI5lgiejKVbNtH/rcGzDpdOvP7oFaG CeqzJtWqDf5TYZ0y9pBAZX4xwZfDnTWaMjjSb+uVZi7mFvOD1HvHa+3HpsL98hhZmaq7/Q UoMRP0J2URrDj4i8ac2IHiqFBnr9ES7IwR0bDJ0UEfYHzhHZGZHPqkn/eW6KlEUT34D+gS 6tB0x+RobTJOjYx5qUZcqg5kXI0jEgVHJLQejllH582veib3lna1kY8s5go9vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1758647926; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=h4WYfqd5HNUnkAo2NTKdYuVgrZoHGjuhxPYEKp0+Vvc=; b=PpOS2BuTDr7QLV4IM40fTT0n+Gp83oOciZ+z4h5Zl4cj9WESV4uNI1/ZuQJkuNceRf+Odc n/Qykmg9dLo+9TkI19Y610lWTgW6qA+NTHZlZ0k7uz1xmyHRmRVYG4HxluqOlXhVT9sm5I 7ZLsA8lQ9M/SSG7D0O+6vCu5D0IHA2eA6RkqRKuVHZL6BdBZp22gUWRdtd0s0BdFp6aXE3 nYlnsvfLNOYvLzmPfWwmmt17vHMXWDEHhzqbDVvt3pfaeUtH8SSKpoiyfK9rAzc++ZqMeJ vu6ljxs7+8dYvmsDEBS/4gUnW9KFxsNhGewibZr+7KzbOHzIwqeAh7og8/Eg+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1758647926; a=rsa-sha256; cv=none; b=OaH0ZrOPndN4d7k5djbxJw/7QW7Ymr+obxMNDxfbtJkq3y7RxziHNX2ynkt+f6ajMtJpzT Xg+fsQojzvpllthL46xwcrgCy9enowvmTyU1lTiiYFLU4y6WJlhjME9aSaW4hxlthPxUTG lk+p2vlhHc2Na7oIpjWayxLeY9TNK46+zHSnEjUgaye2Ga8YVt2qL1D/XozXKCEPW76PfZ VORrSl3oUl9a9aJg8MPOkgEUXYubJYnHWzYthJUyyqoZ7DsNrtK4MlnkRNnB76H3ehJ+8y RFPoUDIvBG2l7jMQQOGEPvZobaOmUtxiIa67cJlhbMfwKdijraYMpUsOr1tjLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cWRXP6n3Bzvb3; Tue, 23 Sep 2025 17:18:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58NHIjAL095737; Tue, 23 Sep 2025 17:18:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58NHIjYw095734; Tue, 23 Sep 2025 17:18:45 GMT (envelope-from git) Date: Tue, 23 Sep 2025 17:18:45 GMT Message-Id: <202509231718.58NHIjYw095734@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: ShengYi Hung Subject: git: c4f9b0df3fa7 - stable/15 - snd_hda: Add patch for Framework 16 AMD Ryzen AI 300 Series List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: aokblast X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: c4f9b0df3fa70f5a0414dde1518f764399ac5229 Auto-Submitted: auto-generated The branch stable/15 has been updated by aokblast: URL: https://cgit.FreeBSD.org/src/commit/?id=c4f9b0df3fa70f5a0414dde1518f764399ac5229 commit c4f9b0df3fa70f5a0414dde1518f764399ac5229 Author: ShengYi Hung AuthorDate: 2025-09-08 11:15:14 +0000 Commit: ShengYi Hung CommitDate: 2023-01-01 23:29:21 +0000 snd_hda: Add patch for Framework 16 AMD Ryzen AI 300 Series The new Framework 16 with ALC285 exhibits the same issue as the previous model. Therefore, we apply the same fix to the new model. Reviewed by: emaste, Daniel Schaefer Approved by: lwhsu (mentor) Sponsored by: The FreeBSD Foundation Sponsored by: Framework Computer Inc Differential Revision: https://reviews.freebsd.org/D52423 (cherry picked from commit 7f81b2519aebcf90d7e027122ca99b628ca81ed9) --- sys/dev/sound/pci/hda/hdaa_patches.c | 6 ++++-- sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index 8967cb49125c..91bb244578c7 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -362,8 +362,10 @@ hdac_pin_patch(struct hdaa_widget *w) patch_str = "as=3 seq=15 color=Black loc=Left"; break; } - } else if (id == HDA_CODEC_ALC295 && - subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) { + } else if ((id == HDA_CODEC_ALC295 && + subid == FRAMEWORK_LAPTOP_0005_SUBVENDOR) || + (id == HDA_CODEC_ALC285 && + subid == FRAMEWORK_LAPTOP_000D_SUBVENDOR)) { switch (nid) { case 20: /* diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 223434a214b1..ff3a1d0dcfb5 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -535,6 +535,7 @@ #define FRAMEWORK_LAPTOP_0003_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0003) #define FRAMEWORK_LAPTOP_0005_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0005) #define FRAMEWORK_LAPTOP_0006_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0006) +#define FRAMEWORK_LAPTOP_000D_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x000d) /* All codecs you can eat... */ #define HDA_CODEC_CONSTRUCT(vendor, id) \