git: 98d59d2e0d8c - main - snd_hda: Add some ATI HDMI codec IDs.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 21:29:34 UTC
The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=98d59d2e0d8c61d145796b723021a90daf4439d9

commit 98d59d2e0d8c61d145796b723021a90daf4439d9
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-02-09 21:27:15 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-02-09 21:29:23 +0000

    snd_hda: Add some ATI HDMI codec IDs.
    
    Submitted by:   Dmitry Luhtionov <dmitryluhtionov@gmail.com>
    MFC after:      1 week
---
 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 058eb63e268d..dc5a03e9807c 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 2c05033aa3ad..86ed64dec0e3 100644
--- a/sys/dev/sound/pci/hda/hdac.h
+++ b/sys/dev/sound/pci/hda/hdac.h
@@ -149,6 +149,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)
@@ -168,6 +169,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