[PATCH xf86-video-amdgpu] Add missing Kaveri PCI ID (1318)

Michel Dänzer michel at daenzer.net
Mon Aug 29 07:14:55 UTC 2016


From: Michel Dänzer <michel.daenzer at amd.com>

Found by comparing src/pcidb/ati_pciids.csv with xf86-video-ati.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 src/amdgpu_chipinfo_gen.h         | 1 +
 src/amdgpu_chipset_gen.h          | 1 +
 src/amdgpu_pci_chipset_gen.h      | 1 +
 src/amdgpu_pci_device_match_gen.h | 1 +
 src/ati_pciids_gen.h              | 1 +
 src/pcidb/ati_pciids.csv          | 1 +
 6 files changed, 6 insertions(+)

diff --git a/src/amdgpu_chipinfo_gen.h b/src/amdgpu_chipinfo_gen.h
index 5b7b220..90b13bb 100644
--- a/src/amdgpu_chipinfo_gen.h
+++ b/src/amdgpu_chipinfo_gen.h
@@ -134,6 +134,7 @@ static AMDGPUCardInfo AMDGPUCards[] = {
  { 0x1315, CHIP_FAMILY_KAVERI },
  { 0x1316, CHIP_FAMILY_KAVERI },
  { 0x1317, CHIP_FAMILY_KAVERI },
+ { 0x1318, CHIP_FAMILY_KAVERI },
  { 0x131B, CHIP_FAMILY_KAVERI },
  { 0x131C, CHIP_FAMILY_KAVERI },
  { 0x131D, CHIP_FAMILY_KAVERI },
diff --git a/src/amdgpu_chipset_gen.h b/src/amdgpu_chipset_gen.h
index e0b75c4..30e5d24 100644
--- a/src/amdgpu_chipset_gen.h
+++ b/src/amdgpu_chipset_gen.h
@@ -134,6 +134,7 @@ SymTabRec AMDGPUChipsets[] = {
   { PCI_CHIP_KAVERI_1315, "KAVERI" },
   { PCI_CHIP_KAVERI_1316, "KAVERI" },
   { PCI_CHIP_KAVERI_1317, "KAVERI" },
+  { PCI_CHIP_KAVERI_1318, "KAVERI" },
   { PCI_CHIP_KAVERI_131B, "KAVERI" },
   { PCI_CHIP_KAVERI_131C, "KAVERI" },
   { PCI_CHIP_KAVERI_131D, "KAVERI" },
diff --git a/src/amdgpu_pci_chipset_gen.h b/src/amdgpu_pci_chipset_gen.h
index 2048e6b..3d54a02 100644
--- a/src/amdgpu_pci_chipset_gen.h
+++ b/src/amdgpu_pci_chipset_gen.h
@@ -134,6 +134,7 @@ static PciChipsets AMDGPUPciChipsets[] = {
  { PCI_CHIP_KAVERI_1315, PCI_CHIP_KAVERI_1315, RES_SHARED_VGA },
  { PCI_CHIP_KAVERI_1316, PCI_CHIP_KAVERI_1316, RES_SHARED_VGA },
  { PCI_CHIP_KAVERI_1317, PCI_CHIP_KAVERI_1317, RES_SHARED_VGA },
+ { PCI_CHIP_KAVERI_1318, PCI_CHIP_KAVERI_1318, RES_SHARED_VGA },
  { PCI_CHIP_KAVERI_131B, PCI_CHIP_KAVERI_131B, RES_SHARED_VGA },
  { PCI_CHIP_KAVERI_131C, PCI_CHIP_KAVERI_131C, RES_SHARED_VGA },
  { PCI_CHIP_KAVERI_131D, PCI_CHIP_KAVERI_131D, RES_SHARED_VGA },
diff --git a/src/amdgpu_pci_device_match_gen.h b/src/amdgpu_pci_device_match_gen.h
index ba254ca..721397c 100644
--- a/src/amdgpu_pci_device_match_gen.h
+++ b/src/amdgpu_pci_device_match_gen.h
@@ -134,6 +134,7 @@ static const struct pci_id_match amdgpu_device_match[] = {
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1315, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1316, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1317, 0 ),
+ ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1318, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_131B, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_131C, 0 ),
  ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_131D, 0 ),
diff --git a/src/ati_pciids_gen.h b/src/ati_pciids_gen.h
index bfb836f..08fd12c 100644
--- a/src/ati_pciids_gen.h
+++ b/src/ati_pciids_gen.h
@@ -132,6 +132,7 @@
 #define PCI_CHIP_KAVERI_1315 0x1315
 #define PCI_CHIP_KAVERI_1316 0x1316
 #define PCI_CHIP_KAVERI_1317 0x1317
+#define PCI_CHIP_KAVERI_1318 0x1318
 #define PCI_CHIP_KAVERI_131B 0x131B
 #define PCI_CHIP_KAVERI_131C 0x131C
 #define PCI_CHIP_KAVERI_131D 0x131D
diff --git a/src/pcidb/ati_pciids.csv b/src/pcidb/ati_pciids.csv
index 932d2f1..3c572bf 100644
--- a/src/pcidb/ati_pciids.csv
+++ b/src/pcidb/ati_pciids.csv
@@ -133,6 +133,7 @@
 "0x1315","KAVERI_1315","KAVERI","KAVERI"
 "0x1316","KAVERI_1316","KAVERI","KAVERI"
 "0x1317","KAVERI_1317","KAVERI","KAVERI"
+"0x1318","KAVERI_1318","KAVERI","KAVERI"
 "0x131B","KAVERI_131B","KAVERI","KAVERI"
 "0x131C","KAVERI_131C","KAVERI","KAVERI"
 "0x131D","KAVERI_131D","KAVERI","KAVERI"
-- 
2.9.3



More information about the amd-gfx mailing list