git: 2dfb21cdd493 - stable/13 - snd_hda: Add some ATI HDMI codec IDs.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Wed, 16 Feb 2022 00:46:42 UTC
The branch stable/13 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=2dfb21cdd4930c66c33f0f7944ad4e579275319d

commit 2dfb21cdd4930c66c33f0f7944ad4e579275319d
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-02-09 21:27:15 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-02-16 00:46:12 +0000

    snd_hda: Add some ATI HDMI codec IDs.
    
    Submitted by:   Dmitry Luhtionov <dmitryluhtionov@gmail.com>
    MFC after:      1 week
    
    (cherry picked from commit 98d59d2e0d8c61d145796b723021a90daf4439d9)
---
 sys/dev/sound/pci/hda/hdac.c | 3 +++
 sys/dev/sound/pci/hda/hdac.h | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
index 39ad44027557..c7f5e9dd5b5c 100644
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -165,6 +165,7 @@ static const struct {
 	{ HDA_ATI_RS600,     "ATI RS600",	0, 0 },
 	{ HDA_ATI_RS690,     "ATI RS690",	0, 0 },
 	{ HDA_ATI_RS780,     "ATI RS780",	0, 0 },
+	{ HDA_ATI_RS880,     "ATI RS880",	0, 0 },
 	{ HDA_ATI_R600,      "ATI R600",	0, 0 },
 	{ HDA_ATI_RV610,     "ATI RV610",	0, 0 },
 	{ HDA_ATI_RV620,     "ATI RV620",	0, 0 },
@@ -183,6 +184,8 @@ static const struct {
 	{ HDA_ATI_RV940,     "ATI RV940",	0, 0 },
 	{ HDA_ATI_RV970,     "ATI RV970",	0, 0 },
 	{ HDA_ATI_R1000,     "ATI R1000",	0, 0 },
+	{ HDA_ATI_KABINI,    "ATI Kabini",	0, 0 },
+	{ HDA_ATI_TRINITY,   "ATI Trinity",	0, 0 },
 	{ HDA_AMD_X370,      "AMD X370",	0, 0 },
 	{ HDA_AMD_X570,      "AMD X570",	0, 0 },
 	{ HDA_AMD_STONEY,    "AMD Stoney",	0, 0 },
diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h
index f765bf61cb1a..d8894c8b3919 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -139,6 +139,7 @@
 #define HDA_ATI_RS600		HDA_MODEL_CONSTRUCT(ATI, 0x793b)
 #define HDA_ATI_RS690		HDA_MODEL_CONSTRUCT(ATI, 0x7919)
 #define HDA_ATI_RS780		HDA_MODEL_CONSTRUCT(ATI, 0x960f)
+#define HDA_ATI_RS880		HDA_MODEL_CONSTRUCT(ATI, 0x970f)
 #define HDA_ATI_R600		HDA_MODEL_CONSTRUCT(ATI, 0xaa00)
 #define HDA_ATI_RV630		HDA_MODEL_CONSTRUCT(ATI, 0xaa08)
 #define HDA_ATI_RV610		HDA_MODEL_CONSTRUCT(ATI, 0xaa10)
@@ -158,6 +159,8 @@
 #define HDA_ATI_RV930		HDA_MODEL_CONSTRUCT(ATI, 0xaa90)
 #define HDA_ATI_RV910		HDA_MODEL_CONSTRUCT(ATI, 0xaa98)
 #define HDA_ATI_R1000		HDA_MODEL_CONSTRUCT(ATI, 0xaaa0)
+#define HDA_ATI_KABINI		HDA_MODEL_CONSTRUCT(ATI, 0x9840)
+#define HDA_ATI_TRINITY		HDA_MODEL_CONSTRUCT(ATI, 0x9902)
 #define HDA_ATI_ALL		HDA_MODEL_CONSTRUCT(ATI, 0xffff)
 
 #define AMD_VENDORID		0x1022