From nobody Sun Jan 05 13:48:00 2025 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 4YQzCh4tK0z5jj8k; Sun, 05 Jan 2025 13:48:00 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YQzCh2mdtz4njf; Sun, 5 Jan 2025 13:48:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736084880; 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=K7OJNpoIz11uDN2csr65lI+WkHCprEuf89BrGiUdqEs=; b=Y7/h6mlWvBAQ0684zEzw0y+zU7mbch78tEKeoYJU1Lgl/UTUf0YN0aNFZoNwpjy+bI/Bq9 MQ5UArkDKOvO0EMnnzPOM9tceVxpYBlInPLQCAF/azkpg9cRNh3AOFt5dOmlCgLXF4dKb3 6ukYkP4IPqg6AznFnEG4sNY4Eo8gr/+3LBZVRTNxd9MzR2NxYTJvZu3FRGNl55gSnj35nG B3frdjk5F1TplyB9YRFYAjl8reKvhLrAjgxd94L8aakqk1N7FaVFZMgG3WMJvQDOQWeIpP tU0qz0OOjsN3cYg97jnTfp9CE5mqKz8UpWrDR8UsYnKv3UoKodtHVk96Ipp5Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736084880; 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=K7OJNpoIz11uDN2csr65lI+WkHCprEuf89BrGiUdqEs=; b=OU0KeuGja2905+qfEKF9qnIF6zzKRYA0RhxotglQy/vThSX9Bx+2gJH7kgpMjePX93A8Du nB+o+ClizyXNKm91L90z9C86kxDWPCIpD+tu165lRBHGX07QTevfrTBp/CTxt0UTD57GRP 8VoQvqrDIDFxiXksgLP3JM9MXIwL9qD2ORyvTRD3RduZZhmm7xj+xUXMwBnoWe3jyWeSRN k0vU+gWU6WedCUR3WkP5yFk7vfD19upijFw1WhY1xquLh7wQjtQikUUppztVkdOYcEo9ZO 4RAn6YVuvAi4ZVumwIbTAH4i32n6iD3AsTsL5UfYfR60aLYQY0k7/CV81IcGbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736084880; a=rsa-sha256; cv=none; b=ZLubRelb4i2OCtQhTj9wgHHL1JLa3dhhhC0Nk78tPlzoW9Anhp5vmS7xIev4s3AhlkjSMK gzGlNAfoKqERzM38SAIjNuHOJGb9k732339rspSGQ0CfHFR/u+1fTK+AQsnXfiou0IBxup mBvzr11suyyopEY6t2eMA9PjIn48FmmD6zgWVtjVNgty9ydx0/Y8sP/9ff4dKhQw5rBFH7 x7aNhX4GIy+bKvO0AfQB8pRHiWuJKaYTVAoLKnGcF5Kzz55kptOcEBSfxzvYWG0vkL8LeW 3kPgRRyJRCW6u6kwpQ9X62NkbHSdvKvvpyFfXmH1yA7UIyqBlzibX4zp2bo+dg== 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 4YQzCh2N7RzhPv; Sun, 05 Jan 2025 13:48:00 +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 505Dm0Jf026669; Sun, 5 Jan 2025 13:48:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 505Dm0I8026666; Sun, 5 Jan 2025 13:48:00 GMT (envelope-from git) Date: Sun, 5 Jan 2025 13:48:00 GMT Message-Id: <202501051348.505Dm0I8026666@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: 48b9d78a0a9d - main - hda: Add patch for Framework Laptop Intel 13th gen List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 48b9d78a0a9d795cfdeb56895a27309aadd50c77 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=48b9d78a0a9d795cfdeb56895a27309aadd50c77 commit 48b9d78a0a9d795cfdeb56895a27309aadd50c77 Author: Daniel Schaefer AuthorDate: 2025-01-04 15:53:37 +0000 Commit: Ed Maste CommitDate: 2025-01-05 13:23:04 +0000 hda: Add patch for Framework Laptop Intel 13th gen It uses the same audio codec as 12th gen (PCI ID 0x0002). Actually everything is the same, except the CPU. Signed-off-by: Daniel Schaefer --- sys/dev/sound/pci/hda/hdaa_patches.c | 3 ++- sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/hda/hdaa_patches.c b/sys/dev/sound/pci/hda/hdaa_patches.c index d425e3c0080b..3c063deb0822 100644 --- a/sys/dev/sound/pci/hda/hdaa_patches.c +++ b/sys/dev/sound/pci/hda/hdaa_patches.c @@ -330,7 +330,8 @@ hdac_pin_patch(struct hdaa_widget *w) } } else if (id == HDA_CODEC_IDT92HD95B && (subid == FRAMEWORK_LAPTOP_0001_SUBVENDOR || - subid == FRAMEWORK_LAPTOP_0002_SUBVENDOR)) { + subid == FRAMEWORK_LAPTOP_0002_SUBVENDOR || + subid == FRAMEWORK_LAPTOP_0003_SUBVENDOR)) { switch (nid) { case 10: patch_str = "as=1 seq=15 color=Black loc=Left"; diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index d00ad4e4705c..f0e72f091a85 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -528,6 +528,7 @@ #define FRAMEWORK_VENDORID 0xf111 #define FRAMEWORK_LAPTOP_0001_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0001) #define FRAMEWORK_LAPTOP_0002_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0002) +#define FRAMEWORK_LAPTOP_0003_SUBVENDOR HDA_MODEL_CONSTRUCT(FRAMEWORK, 0x0003) /* All codecs you can eat... */ #define HDA_CODEC_CONSTRUCT(vendor, id) \