From nobody Sat Sep 10 01:08:00 2022 X-Original-To: dev-commits-src-branches@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 4MPZV91nbGz4brWV; Sat, 10 Sep 2022 01:08:01 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MPZV91LLBz3n7X; Sat, 10 Sep 2022 01:08:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662772081; 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=BEdEGsW253iN7Ep77BIm12OV2g0OwKQC7OQTmSahIIM=; b=yo+vzVBCSXapSJG7aBEKIANI2PZTQFlZGsvT+4gfb7FGkJy/9vCnhQXy1BQfptIjhAwDkc /yLIPmpRErEB1cMffCbQUnawmaTi0rxES0Z/KGp71VArLE3CvWuDRKOGx4uti+4GXTOw36 CPaEzFLagttdN9VNTZXPOH2SIX52ghkaN49mGNmns8RFF5xqUMCzX+0H/cdkz7CObRijoB jFYGZGxEJBgY7h5dBV/c5uDMdfgh0EGfPdGfh+gvMYZDyNxqQa2XLeNloyMOa3UsGy8qce Gf8uPkOI2Af9woT+1FkOd7/aXe6qKFS8JGbs0E2mRbG8sYGwCODBegXbe+P+GA== 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 4MPZV90PcKz1NH0; Sat, 10 Sep 2022 01:08:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28A180Ib030927; Sat, 10 Sep 2022 01:08:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28A180He030926; Sat, 10 Sep 2022 01:08:00 GMT (envelope-from git) Date: Sat, 10 Sep 2022 01:08:00 GMT Message-Id: <202209100108.28A180He030926@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Neel Chauhan Subject: git: 8db127525ec4 - stable/12 - snd_hda: Add the full Intel AlderLake HD Audio PCI IDs List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: nc X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 8db127525ec4b39ed5609bc027c7c50b7316d3b8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662772081; 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=BEdEGsW253iN7Ep77BIm12OV2g0OwKQC7OQTmSahIIM=; b=bMO+nlW8n9jHc5/6zVngIALzdm0UBJK86HX0Og2m0HtWsbbvdJtfTvs/0qxZ8aHCpNEF7o gW1hmRb26nemT/z8OFXaZgflQX/H5b7npaL4ET6gTxcrhXXAZngVqV5qUEhMk8Ul9YZxJ+ IuI9wkLF6hvMEsJ2ZLyG6JUJUUxVWqQRYse8OWGpPcDXKIPwrHjUspEcmk7zw2qTkMsXZk G37TETcJvsjE/9kWGIK9O50RrM8DbIpT/qWpBeUxs590RvY2LRSRllqoUQ2kDkAbW7a84U Y61JGw7EAeTj1QzW9T9pooTR3OEXJvEWAsGvTqm32ZwJBagvTE4/Ogml77Vkqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662772081; a=rsa-sha256; cv=none; b=gmwFvygAX+jI6xwFQb2lZ6MczDcHUjYDgJB0CncTatijCxFbp/YL9DnpznHeSn0kGUSdeq F0VovOSv1BaND0lZFSXdOcbqsAJhvShPCqpdS5Xow2dFZfiLJHRsH/G8Sq4WtMzL6zqVCc RbovG3fvXk9KFlPyg8UwSXH1YFwxWuxHG5A25ToXsKtVJumATGdjJWod/ZR7yYWyadK6iB CuVq50BkMa129uigDj7PsPZUGa2cX9nPWhAJnxo81SyrzGQN22PfiPeYoetkrJfBGHeBTX 0Er8mYwmmTm75VwBQknw8HWTM7dmb31g13F1IrnFlTimUm9UvwcGZ980ZFfsSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by nc (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8db127525ec4b39ed5609bc027c7c50b7316d3b8 commit 8db127525ec4b39ed5609bc027c7c50b7316d3b8 Author: Neel Chauhan AuthorDate: 2022-09-07 02:35:02 +0000 Commit: Neel Chauhan CommitDate: 2022-09-10 01:07:56 +0000 snd_hda: Add the full Intel AlderLake HD Audio PCI IDs This is based off the Linux file sound/hda/intel-dsp-config.c. Reviewed by: imp (src) Tested on: HP Spectre x360 16-f0023dx MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D36476 (cherry picked from commit 22ecfc580b4834e3e9871944de62ce0c5ff0cd38) --- sys/dev/sound/pci/hda/hdac.c | 8 ++++++++ sys/dev/sound/pci/hda/hdac.h | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index a9d13f1a03e6..49f4849ce8a7 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -114,6 +114,14 @@ static const struct { { HDA_INTEL_TGLK, "Intel Tiger Lake", 0, 0 }, { HDA_INTEL_GMLK, "Intel Gemini Lake", 0, 0 }, { HDA_INTEL_ALLK, "Intel Alder Lake", 0, 0 }, + { HDA_INTEL_ALLKM, "Intel Alder Lake-M", 0, 0 }, + { HDA_INTEL_ALLKN, "Intel Alder Lake-N", 0, 0 }, + { HDA_INTEL_ALLKP1, "Intel Alder Lake-P", 0, 0 }, + { HDA_INTEL_ALLKP2, "Intel Alder Lake-P", 0, 0 }, + { HDA_INTEL_ALLKPS, "Intel Alder Lake-PS", 0, 0 }, + { HDA_INTEL_ALLKPS, "Intel Alder Lake-PS", 0, 0 }, + { HDA_INTEL_RPTLK1, "Intel Raptor Lake-P", 0, 0 }, + { HDA_INTEL_RPTLK2, "Intel Raptor Lake-P", 0, 0 }, { HDA_INTEL_82801F, "Intel 82801F", 0, 0 }, { HDA_INTEL_63XXESB, "Intel 631x/632xESB", 0, 0 }, { HDA_INTEL_82801G, "Intel 82801G", 0, 0 }, diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index cc3f020aed69..075e575ab017 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -71,6 +71,13 @@ #define HDA_INTEL_BXTNP HDA_MODEL_CONSTRUCT(INTEL, 0x5a98) #define HDA_INTEL_MACBOOKPRO92 HDA_MODEL_CONSTRUCT(INTEL, 0x7270) #define HDA_INTEL_ALLK HDA_MODEL_CONSTRUCT(INTEL, 0x7ad0) +#define HDA_INTEL_ALLKM HDA_MODEL_CONSTRUCT(INTEL, 0x51cc) +#define HDA_INTEL_ALLKN HDA_MODEL_CONSTRUCT(INTEL, 0x54c8) +#define HDA_INTEL_ALLKP1 HDA_MODEL_CONSTRUCT(INTEL, 0x51c8) +#define HDA_INTEL_ALLKP2 HDA_MODEL_CONSTRUCT(INTEL, 0x51cd) +#define HDA_INTEL_ALLKPS HDA_MODEL_CONSTRUCT(INTEL, 0x51c9) +#define HDA_INTEL_RPTLK1 HDA_MODEL_CONSTRUCT(INTEL, 0x51ca) +#define HDA_INTEL_RPTLK2 HDA_MODEL_CONSTRUCT(INTEL, 0x51cb) #define HDA_INTEL_SCH HDA_MODEL_CONSTRUCT(INTEL, 0x811b) #define HDA_INTEL_LPT1 HDA_MODEL_CONSTRUCT(INTEL, 0x8c20) #define HDA_INTEL_LPT2 HDA_MODEL_CONSTRUCT(INTEL, 0x8c21)