From nobody Thu Jan 16 13:10:52 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 4YYjsm41mvz5kR1M; Thu, 16 Jan 2025 13:10:52 +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 4YYjsm3HYFz44K6; Thu, 16 Jan 2025 13:10:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737033052; 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=FjPVXF1c+o1IAhjLekuykmhydHYl5lGwDGZqKuDnWTw=; b=Cp24wxLd0JHQQOD2rHPyBw70dyftEdYM+byjSG3B7VJJMHVT8QcQHvLFXKB8JNVTCkN0D4 8Y/OLlJINqTi9r5phYRSC5f0jLXODsxO7N74llDF0JZKvjDHVYCxye/PpjM5ofl32bS9Vc JyWQuc/a4PLdCdWiFP76f7lbz0VGW2eWwC+P7FWGFciYUIgCF0/9tKEhhUQdNcgv7E7ZcW 6Ag1/4lIe22C3hQDEzjo57tKI4cBblgiw4tgXX8s/VzcvDN00qJ0XWoZpIlNoQnJSqhdyQ x2WV0tCHaKKRN6smxM93dRkc6qzNGXTWja58f8mRzhFbpwa9TO9tidRd7JTe5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737033052; 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=FjPVXF1c+o1IAhjLekuykmhydHYl5lGwDGZqKuDnWTw=; b=rxig5kyBM3c45a9MQTf7koYSXmd1+ieajpFpfh+ZtELLhe0fZEfAZsiYfnc2Ues1mHZOlE dqYAlQHyz6M2RkF+P93om8682BlzVAbdPtDHzzLyfhdIBDq8J0wrQmVW++0oVC5/7i5n+C wHZHzj5op0H/lgKNKkf06Hk3SUM8FwekoaSpXSs0VG+oF5iO8OyVDV9WVdjIEJil0rgoJQ 5Eb7/jLF/nF0UK1L4ZeuOcy6AMDtktE0U9tbBQ6hgSAToI7mv5+3stqM6Ba1rRCo0gnYKp TzeycPvqoP181w2U8j5l3VtH08Ro75knRzTL3Ik/XchM3+sV/b7H2NVtSk8rEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737033052; a=rsa-sha256; cv=none; b=VkBwLg2eabHYqfCR6hSo0zNU/HeYtRT7VcANQ6ydoOOqRwuyu/BAB/dQHHpkm0E79PsBZG gxQS311XOR6+A3JJs958SoGBa3xK4O4uH9bg/QN1ro1rw4u3ce/42pFtolM2Xlvp/wLF5e YyPO1zYPaP8Iljmv46lqNv8pUEBdr0Q89hptegL2h5KdqAp1tWMf58mOSLuiWo5sZZ9uYM 3BG1xB7E1G1VunSp0atBCchUv0xe5XXyktLk5sXH571rPCX+HdwuAzLtD8NxPv51apxSNZ s+ZAnbciOzKtyKDrM6vSNN0eD3XmuATqAEYOX/WkmSPBlVMrYn0yf0gb/TXNbw== 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 4YYjsm2pn7zZhJ; Thu, 16 Jan 2025 13:10:52 +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 50GDAq34040204; Thu, 16 Jan 2025 13:10:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50GDAqwp040201; Thu, 16 Jan 2025 13:10:52 GMT (envelope-from git) Date: Thu, 16 Jan 2025 13:10:52 GMT Message-Id: <202501161310.50GDAqwp040201@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: f538407b1ac2 - stable/14 - hda: Add patch for Framework Laptop Intel 13th gen 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: f538407b1ac238abda529d653d01ea6cc88dad27 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=f538407b1ac238abda529d653d01ea6cc88dad27 commit f538407b1ac238abda529d653d01ea6cc88dad27 Author: Daniel Schaefer AuthorDate: 2025-01-04 15:53:37 +0000 Commit: Ed Maste CommitDate: 2025-01-16 13:10:33 +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 (cherry picked from commit 48b9d78a0a9d795cfdeb56895a27309aadd50c77) --- 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) \