[PATCH xf86-video-amdgpu 7/7] Remove generated header files
Michel Dänzer
michel at daenzer.net
Tue Nov 1 09:31:25 UTC 2016
From: Michel Dänzer <michel.daenzer at amd.com>
No longer used.
Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
src/Makefile.am | 7 --
src/amdgpu_chipinfo_gen.h | 194 ----------------------------------
src/amdgpu_chipset_gen.h | 216 --------------------------------------
src/amdgpu_pci_chipset_gen.h | 195 ----------------------------------
src/amdgpu_pci_device_match_gen.h | 195 ----------------------------------
src/amdgpu_probe.h | 29 -----
src/ati_pciids_gen.h | 191 ---------------------------------
src/pcidb/ati_pciids.csv | 192 ---------------------------------
src/pcidb/parse_pci_ids.pl | 82 ---------------
9 files changed, 1301 deletions(-)
delete mode 100644 src/amdgpu_chipinfo_gen.h
delete mode 100644 src/amdgpu_chipset_gen.h
delete mode 100644 src/amdgpu_pci_chipset_gen.h
delete mode 100644 src/amdgpu_pci_device_match_gen.h
delete mode 100644 src/ati_pciids_gen.h
delete mode 100644 src/pcidb/ati_pciids.csv
delete mode 100755 src/pcidb/parse_pci_ids.pl
diff --git a/src/Makefile.am b/src/Makefile.am
index 8cc1362..7468bba 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -68,12 +68,5 @@ EXTRA_DIST = \
amdgpu_version.h \
amdgpu_video.h \
simple_list.h \
- ati_pciids_gen.h \
- amdgpu_chipinfo_gen.h \
- amdgpu_chipset_gen.h \
- amdgpu_pci_chipset_gen.h \
- amdgpu_pci_device_match_gen.h \
- pcidb/ati_pciids.csv \
- pcidb/parse_pci_ids.pl \
amdgpu_dri2.h \
drmmode_display.h
diff --git a/src/amdgpu_chipinfo_gen.h b/src/amdgpu_chipinfo_gen.h
deleted file mode 100644
index 90b13bb..0000000
--- a/src/amdgpu_chipinfo_gen.h
+++ /dev/null
@@ -1,194 +0,0 @@
-/* This file is autogenerated please do not edit */
-static AMDGPUCardInfo AMDGPUCards[] = {
- { 0x6600, CHIP_FAMILY_OLAND },
- { 0x6601, CHIP_FAMILY_OLAND },
- { 0x6602, CHIP_FAMILY_OLAND },
- { 0x6603, CHIP_FAMILY_OLAND },
- { 0x6604, CHIP_FAMILY_OLAND },
- { 0x6605, CHIP_FAMILY_OLAND },
- { 0x6606, CHIP_FAMILY_OLAND },
- { 0x6607, CHIP_FAMILY_OLAND },
- { 0x6608, CHIP_FAMILY_OLAND },
- { 0x6610, CHIP_FAMILY_OLAND },
- { 0x6611, CHIP_FAMILY_OLAND },
- { 0x6613, CHIP_FAMILY_OLAND },
- { 0x6617, CHIP_FAMILY_OLAND },
- { 0x6620, CHIP_FAMILY_OLAND },
- { 0x6621, CHIP_FAMILY_OLAND },
- { 0x6623, CHIP_FAMILY_OLAND },
- { 0x6631, CHIP_FAMILY_OLAND },
- { 0x6660, CHIP_FAMILY_HAINAN },
- { 0x6663, CHIP_FAMILY_HAINAN },
- { 0x6664, CHIP_FAMILY_HAINAN },
- { 0x6665, CHIP_FAMILY_HAINAN },
- { 0x6667, CHIP_FAMILY_HAINAN },
- { 0x666F, CHIP_FAMILY_HAINAN },
- { 0x6780, CHIP_FAMILY_TAHITI },
- { 0x6784, CHIP_FAMILY_TAHITI },
- { 0x6788, CHIP_FAMILY_TAHITI },
- { 0x678A, CHIP_FAMILY_TAHITI },
- { 0x6790, CHIP_FAMILY_TAHITI },
- { 0x6791, CHIP_FAMILY_TAHITI },
- { 0x6792, CHIP_FAMILY_TAHITI },
- { 0x6798, CHIP_FAMILY_TAHITI },
- { 0x6799, CHIP_FAMILY_TAHITI },
- { 0x679A, CHIP_FAMILY_TAHITI },
- { 0x679B, CHIP_FAMILY_TAHITI },
- { 0x679E, CHIP_FAMILY_TAHITI },
- { 0x679F, CHIP_FAMILY_TAHITI },
- { 0x6800, CHIP_FAMILY_PITCAIRN },
- { 0x6801, CHIP_FAMILY_PITCAIRN },
- { 0x6802, CHIP_FAMILY_PITCAIRN },
- { 0x6806, CHIP_FAMILY_PITCAIRN },
- { 0x6808, CHIP_FAMILY_PITCAIRN },
- { 0x6809, CHIP_FAMILY_PITCAIRN },
- { 0x6810, CHIP_FAMILY_PITCAIRN },
- { 0x6811, CHIP_FAMILY_PITCAIRN },
- { 0x6816, CHIP_FAMILY_PITCAIRN },
- { 0x6817, CHIP_FAMILY_PITCAIRN },
- { 0x6818, CHIP_FAMILY_PITCAIRN },
- { 0x6819, CHIP_FAMILY_PITCAIRN },
- { 0x6820, CHIP_FAMILY_VERDE },
- { 0x6821, CHIP_FAMILY_VERDE },
- { 0x6822, CHIP_FAMILY_VERDE },
- { 0x6823, CHIP_FAMILY_VERDE },
- { 0x6824, CHIP_FAMILY_VERDE },
- { 0x6825, CHIP_FAMILY_VERDE },
- { 0x6826, CHIP_FAMILY_VERDE },
- { 0x6827, CHIP_FAMILY_VERDE },
- { 0x6828, CHIP_FAMILY_VERDE },
- { 0x6829, CHIP_FAMILY_VERDE },
- { 0x682A, CHIP_FAMILY_VERDE },
- { 0x682B, CHIP_FAMILY_VERDE },
- { 0x682C, CHIP_FAMILY_VERDE },
- { 0x682D, CHIP_FAMILY_VERDE },
- { 0x682F, CHIP_FAMILY_VERDE },
- { 0x6830, CHIP_FAMILY_VERDE },
- { 0x6831, CHIP_FAMILY_VERDE },
- { 0x6835, CHIP_FAMILY_VERDE },
- { 0x6837, CHIP_FAMILY_VERDE },
- { 0x6838, CHIP_FAMILY_VERDE },
- { 0x6839, CHIP_FAMILY_VERDE },
- { 0x683B, CHIP_FAMILY_VERDE },
- { 0x683D, CHIP_FAMILY_VERDE },
- { 0x683F, CHIP_FAMILY_VERDE },
- { 0x684C, CHIP_FAMILY_PITCAIRN },
- { 0x6640, CHIP_FAMILY_BONAIRE },
- { 0x6641, CHIP_FAMILY_BONAIRE },
- { 0x6646, CHIP_FAMILY_BONAIRE },
- { 0x6647, CHIP_FAMILY_BONAIRE },
- { 0x6649, CHIP_FAMILY_BONAIRE },
- { 0x6650, CHIP_FAMILY_BONAIRE },
- { 0x6651, CHIP_FAMILY_BONAIRE },
- { 0x6658, CHIP_FAMILY_BONAIRE },
- { 0x665C, CHIP_FAMILY_BONAIRE },
- { 0x665D, CHIP_FAMILY_BONAIRE },
- { 0x665F, CHIP_FAMILY_BONAIRE },
- { 0x9830, CHIP_FAMILY_KABINI },
- { 0x9831, CHIP_FAMILY_KABINI },
- { 0x9832, CHIP_FAMILY_KABINI },
- { 0x9833, CHIP_FAMILY_KABINI },
- { 0x9834, CHIP_FAMILY_KABINI },
- { 0x9835, CHIP_FAMILY_KABINI },
- { 0x9836, CHIP_FAMILY_KABINI },
- { 0x9837, CHIP_FAMILY_KABINI },
- { 0x9838, CHIP_FAMILY_KABINI },
- { 0x9839, CHIP_FAMILY_KABINI },
- { 0x983A, CHIP_FAMILY_KABINI },
- { 0x983B, CHIP_FAMILY_KABINI },
- { 0x983C, CHIP_FAMILY_KABINI },
- { 0x983D, CHIP_FAMILY_KABINI },
- { 0x983E, CHIP_FAMILY_KABINI },
- { 0x983F, CHIP_FAMILY_KABINI },
- { 0x9850, CHIP_FAMILY_MULLINS },
- { 0x9851, CHIP_FAMILY_MULLINS },
- { 0x9852, CHIP_FAMILY_MULLINS },
- { 0x9853, CHIP_FAMILY_MULLINS },
- { 0x9854, CHIP_FAMILY_MULLINS },
- { 0x9855, CHIP_FAMILY_MULLINS },
- { 0x9856, CHIP_FAMILY_MULLINS },
- { 0x9857, CHIP_FAMILY_MULLINS },
- { 0x9858, CHIP_FAMILY_MULLINS },
- { 0x9859, CHIP_FAMILY_MULLINS },
- { 0x985A, CHIP_FAMILY_MULLINS },
- { 0x985B, CHIP_FAMILY_MULLINS },
- { 0x985C, CHIP_FAMILY_MULLINS },
- { 0x985D, CHIP_FAMILY_MULLINS },
- { 0x985E, CHIP_FAMILY_MULLINS },
- { 0x985F, CHIP_FAMILY_MULLINS },
- { 0x1304, CHIP_FAMILY_KAVERI },
- { 0x1305, CHIP_FAMILY_KAVERI },
- { 0x1306, CHIP_FAMILY_KAVERI },
- { 0x1307, CHIP_FAMILY_KAVERI },
- { 0x1309, CHIP_FAMILY_KAVERI },
- { 0x130A, CHIP_FAMILY_KAVERI },
- { 0x130B, CHIP_FAMILY_KAVERI },
- { 0x130C, CHIP_FAMILY_KAVERI },
- { 0x130D, CHIP_FAMILY_KAVERI },
- { 0x130E, CHIP_FAMILY_KAVERI },
- { 0x130F, CHIP_FAMILY_KAVERI },
- { 0x1310, CHIP_FAMILY_KAVERI },
- { 0x1311, CHIP_FAMILY_KAVERI },
- { 0x1312, CHIP_FAMILY_KAVERI },
- { 0x1313, CHIP_FAMILY_KAVERI },
- { 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 },
- { 0x67A0, CHIP_FAMILY_HAWAII },
- { 0x67A1, CHIP_FAMILY_HAWAII },
- { 0x67A2, CHIP_FAMILY_HAWAII },
- { 0x67A8, CHIP_FAMILY_HAWAII },
- { 0x67A9, CHIP_FAMILY_HAWAII },
- { 0x67AA, CHIP_FAMILY_HAWAII },
- { 0x67B0, CHIP_FAMILY_HAWAII },
- { 0x67B1, CHIP_FAMILY_HAWAII },
- { 0x67B8, CHIP_FAMILY_HAWAII },
- { 0x67B9, CHIP_FAMILY_HAWAII },
- { 0x67BA, CHIP_FAMILY_HAWAII },
- { 0x67BE, CHIP_FAMILY_HAWAII },
- { 0x6900, CHIP_FAMILY_TOPAZ },
- { 0x6901, CHIP_FAMILY_TOPAZ },
- { 0x6902, CHIP_FAMILY_TOPAZ },
- { 0x6903, CHIP_FAMILY_TOPAZ },
- { 0x6907, CHIP_FAMILY_TOPAZ },
- { 0x6920, CHIP_FAMILY_TONGA },
- { 0x6921, CHIP_FAMILY_TONGA },
- { 0x6928, CHIP_FAMILY_TONGA },
- { 0x6929, CHIP_FAMILY_TONGA },
- { 0x692B, CHIP_FAMILY_TONGA },
- { 0x692F, CHIP_FAMILY_TONGA },
- { 0x6930, CHIP_FAMILY_TONGA },
- { 0x6938, CHIP_FAMILY_TONGA },
- { 0x6939, CHIP_FAMILY_TONGA },
- { 0x9870, CHIP_FAMILY_CARRIZO },
- { 0x9874, CHIP_FAMILY_CARRIZO },
- { 0x9875, CHIP_FAMILY_CARRIZO },
- { 0x9876, CHIP_FAMILY_CARRIZO },
- { 0x9877, CHIP_FAMILY_CARRIZO },
- { 0x7300, CHIP_FAMILY_FIJI },
- { 0x98E4, CHIP_FAMILY_STONEY },
- { 0x67E0, CHIP_FAMILY_POLARIS11 },
- { 0x67E3, CHIP_FAMILY_POLARIS11 },
- { 0x67E8, CHIP_FAMILY_POLARIS11 },
- { 0x67EB, CHIP_FAMILY_POLARIS11 },
- { 0x67EF, CHIP_FAMILY_POLARIS11 },
- { 0x67FF, CHIP_FAMILY_POLARIS11 },
- { 0x67E1, CHIP_FAMILY_POLARIS11 },
- { 0x67E7, CHIP_FAMILY_POLARIS11 },
- { 0x67E9, CHIP_FAMILY_POLARIS11 },
- { 0x67C0, CHIP_FAMILY_POLARIS10 },
- { 0x67C1, CHIP_FAMILY_POLARIS10 },
- { 0x67C2, CHIP_FAMILY_POLARIS10 },
- { 0x67C4, CHIP_FAMILY_POLARIS10 },
- { 0x67C7, CHIP_FAMILY_POLARIS10 },
- { 0x67DF, CHIP_FAMILY_POLARIS10 },
- { 0x67C8, CHIP_FAMILY_POLARIS10 },
- { 0x67C9, CHIP_FAMILY_POLARIS10 },
- { 0x67CA, CHIP_FAMILY_POLARIS10 },
- { 0x67CC, CHIP_FAMILY_POLARIS10 },
- { 0x67CF, CHIP_FAMILY_POLARIS10 },
-};
diff --git a/src/amdgpu_chipset_gen.h b/src/amdgpu_chipset_gen.h
deleted file mode 100644
index 1598941..0000000
--- a/src/amdgpu_chipset_gen.h
+++ /dev/null
@@ -1,216 +0,0 @@
-/* This file is autogenerated please do not edit */
-SymTabRec AMDGPUChipsets[] = {
- { PCI_CHIP_OLAND_6600, "OLAND" },
- { PCI_CHIP_OLAND_6601, "OLAND" },
- { PCI_CHIP_OLAND_6602, "OLAND" },
- { PCI_CHIP_OLAND_6603, "OLAND" },
- { PCI_CHIP_OLAND_6604, "OLAND" },
- { PCI_CHIP_OLAND_6605, "OLAND" },
- { PCI_CHIP_OLAND_6606, "OLAND" },
- { PCI_CHIP_OLAND_6607, "OLAND" },
- { PCI_CHIP_OLAND_6608, "OLAND" },
- { PCI_CHIP_OLAND_6610, "OLAND" },
- { PCI_CHIP_OLAND_6611, "OLAND" },
- { PCI_CHIP_OLAND_6613, "OLAND" },
- { PCI_CHIP_OLAND_6617, "OLAND" },
- { PCI_CHIP_OLAND_6620, "OLAND" },
- { PCI_CHIP_OLAND_6621, "OLAND" },
- { PCI_CHIP_OLAND_6623, "OLAND" },
- { PCI_CHIP_OLAND_6631, "OLAND" },
- { PCI_CHIP_HAINAN_6660, "HAINAN" },
- { PCI_CHIP_HAINAN_6663, "HAINAN" },
- { PCI_CHIP_HAINAN_6664, "HAINAN" },
- { PCI_CHIP_HAINAN_6665, "HAINAN" },
- { PCI_CHIP_HAINAN_6667, "HAINAN" },
- { PCI_CHIP_HAINAN_666F, "HAINAN" },
- { PCI_CHIP_TAHITI_6780, "TAHITI" },
- { PCI_CHIP_TAHITI_6784, "TAHITI" },
- { PCI_CHIP_TAHITI_6788, "TAHITI" },
- { PCI_CHIP_TAHITI_678A, "TAHITI" },
- { PCI_CHIP_TAHITI_6790, "TAHITI" },
- { PCI_CHIP_TAHITI_6791, "TAHITI" },
- { PCI_CHIP_TAHITI_6792, "TAHITI" },
- { PCI_CHIP_TAHITI_6798, "TAHITI" },
- { PCI_CHIP_TAHITI_6799, "TAHITI" },
- { PCI_CHIP_TAHITI_679A, "TAHITI" },
- { PCI_CHIP_TAHITI_679B, "TAHITI" },
- { PCI_CHIP_TAHITI_679E, "TAHITI" },
- { PCI_CHIP_TAHITI_679F, "TAHITI" },
- { PCI_CHIP_PITCAIRN_6800, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6801, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6802, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6806, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6808, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6809, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6810, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6811, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6816, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6817, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6818, "PITCAIRN" },
- { PCI_CHIP_PITCAIRN_6819, "PITCAIRN" },
- { PCI_CHIP_VERDE_6820, "VERDE" },
- { PCI_CHIP_VERDE_6821, "VERDE" },
- { PCI_CHIP_VERDE_6822, "VERDE" },
- { PCI_CHIP_VERDE_6823, "VERDE" },
- { PCI_CHIP_VERDE_6824, "VERDE" },
- { PCI_CHIP_VERDE_6825, "VERDE" },
- { PCI_CHIP_VERDE_6826, "VERDE" },
- { PCI_CHIP_VERDE_6827, "VERDE" },
- { PCI_CHIP_VERDE_6828, "VERDE" },
- { PCI_CHIP_VERDE_6829, "VERDE" },
- { PCI_CHIP_VERDE_682A, "VERDE" },
- { PCI_CHIP_VERDE_682B, "VERDE" },
- { PCI_CHIP_VERDE_682C, "VERDE" },
- { PCI_CHIP_VERDE_682D, "VERDE" },
- { PCI_CHIP_VERDE_682F, "VERDE" },
- { PCI_CHIP_VERDE_6830, "VERDE" },
- { PCI_CHIP_VERDE_6831, "VERDE" },
- { PCI_CHIP_VERDE_6835, "VERDE" },
- { PCI_CHIP_VERDE_6837, "VERDE" },
- { PCI_CHIP_VERDE_6838, "VERDE" },
- { PCI_CHIP_VERDE_6839, "VERDE" },
- { PCI_CHIP_VERDE_683B, "VERDE" },
- { PCI_CHIP_VERDE_683D, "VERDE" },
- { PCI_CHIP_VERDE_683F, "VERDE" },
- { PCI_CHIP_PITCAIRN_684C, "PITCAIRN" },
- { PCI_CHIP_BONAIRE_6640, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6641, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6646, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6647, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6649, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6650, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6651, "BONAIRE" },
- { PCI_CHIP_BONAIRE_6658, "BONAIRE" },
- { PCI_CHIP_BONAIRE_665C, "BONAIRE" },
- { PCI_CHIP_BONAIRE_665D, "BONAIRE" },
- { PCI_CHIP_BONAIRE_665F, "BONAIRE" },
- { PCI_CHIP_KABINI_9830, "KABINI" },
- { PCI_CHIP_KABINI_9831, "KABINI" },
- { PCI_CHIP_KABINI_9832, "KABINI" },
- { PCI_CHIP_KABINI_9833, "KABINI" },
- { PCI_CHIP_KABINI_9834, "KABINI" },
- { PCI_CHIP_KABINI_9835, "KABINI" },
- { PCI_CHIP_KABINI_9836, "KABINI" },
- { PCI_CHIP_KABINI_9837, "KABINI" },
- { PCI_CHIP_KABINI_9838, "KABINI" },
- { PCI_CHIP_KABINI_9839, "KABINI" },
- { PCI_CHIP_KABINI_983A, "KABINI" },
- { PCI_CHIP_KABINI_983B, "KABINI" },
- { PCI_CHIP_KABINI_983C, "KABINI" },
- { PCI_CHIP_KABINI_983D, "KABINI" },
- { PCI_CHIP_KABINI_983E, "KABINI" },
- { PCI_CHIP_KABINI_983F, "KABINI" },
- { PCI_CHIP_MULLINS_9850, "MULLINS" },
- { PCI_CHIP_MULLINS_9851, "MULLINS" },
- { PCI_CHIP_MULLINS_9852, "MULLINS" },
- { PCI_CHIP_MULLINS_9853, "MULLINS" },
- { PCI_CHIP_MULLINS_9854, "MULLINS" },
- { PCI_CHIP_MULLINS_9855, "MULLINS" },
- { PCI_CHIP_MULLINS_9856, "MULLINS" },
- { PCI_CHIP_MULLINS_9857, "MULLINS" },
- { PCI_CHIP_MULLINS_9858, "MULLINS" },
- { PCI_CHIP_MULLINS_9859, "MULLINS" },
- { PCI_CHIP_MULLINS_985A, "MULLINS" },
- { PCI_CHIP_MULLINS_985B, "MULLINS" },
- { PCI_CHIP_MULLINS_985C, "MULLINS" },
- { PCI_CHIP_MULLINS_985D, "MULLINS" },
- { PCI_CHIP_MULLINS_985E, "MULLINS" },
- { PCI_CHIP_MULLINS_985F, "MULLINS" },
- { PCI_CHIP_KAVERI_1304, "KAVERI" },
- { PCI_CHIP_KAVERI_1305, "KAVERI" },
- { PCI_CHIP_KAVERI_1306, "KAVERI" },
- { PCI_CHIP_KAVERI_1307, "KAVERI" },
- { PCI_CHIP_KAVERI_1309, "KAVERI" },
- { PCI_CHIP_KAVERI_130A, "KAVERI" },
- { PCI_CHIP_KAVERI_130B, "KAVERI" },
- { PCI_CHIP_KAVERI_130C, "KAVERI" },
- { PCI_CHIP_KAVERI_130D, "KAVERI" },
- { PCI_CHIP_KAVERI_130E, "KAVERI" },
- { PCI_CHIP_KAVERI_130F, "KAVERI" },
- { PCI_CHIP_KAVERI_1310, "KAVERI" },
- { PCI_CHIP_KAVERI_1311, "KAVERI" },
- { PCI_CHIP_KAVERI_1312, "KAVERI" },
- { PCI_CHIP_KAVERI_1313, "KAVERI" },
- { 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" },
- { PCI_CHIP_HAWAII_67A0, "HAWAII" },
- { PCI_CHIP_HAWAII_67A1, "HAWAII" },
- { PCI_CHIP_HAWAII_67A2, "HAWAII" },
- { PCI_CHIP_HAWAII_67A8, "HAWAII" },
- { PCI_CHIP_HAWAII_67A9, "HAWAII" },
- { PCI_CHIP_HAWAII_67AA, "HAWAII" },
- { PCI_CHIP_HAWAII_67B0, "HAWAII" },
- { PCI_CHIP_HAWAII_67B1, "HAWAII" },
- { PCI_CHIP_HAWAII_67B8, "HAWAII" },
- { PCI_CHIP_HAWAII_67B9, "HAWAII" },
- { PCI_CHIP_HAWAII_67BA, "HAWAII" },
- { PCI_CHIP_HAWAII_67BE, "HAWAII" },
- { PCI_CHIP_TOPAZ_6900, "TOPAZ" },
- { PCI_CHIP_TOPAZ_6901, "TOPAZ" },
- { PCI_CHIP_TOPAZ_6902, "TOPAZ" },
- { PCI_CHIP_TOPAZ_6903, "TOPAZ" },
- { PCI_CHIP_TOPAZ_6907, "TOPAZ" },
- { PCI_CHIP_TONGA_6920, "TONGA" },
- { PCI_CHIP_TONGA_6921, "TONGA" },
- { PCI_CHIP_TONGA_6928, "TONGA" },
- { PCI_CHIP_TONGA_6929, "TONGA" },
- { PCI_CHIP_TONGA_692B, "TONGA" },
- { PCI_CHIP_TONGA_692F, "TONGA" },
- { PCI_CHIP_TONGA_6930, "TONGA" },
- { PCI_CHIP_TONGA_6938, "TONGA" },
- { PCI_CHIP_TONGA_6939, "TONGA" },
- { PCI_CHIP_CARRIZO_9870, "CARRIZO" },
- { PCI_CHIP_CARRIZO_9874, "CARRIZO" },
- { PCI_CHIP_CARRIZO_9875, "CARRIZO" },
- { PCI_CHIP_CARRIZO_9876, "CARRIZO" },
- { PCI_CHIP_CARRIZO_9877, "CARRIZO" },
- { PCI_CHIP_FIJI_7300, "FIJI" },
- { PCI_CHIP_STONEY_98E4, "STONEY" },
- { PCI_CHIP_POLARIS11_67E0, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67E3, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67E8, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67EB, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67EF, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67FF, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67E1, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67E7, "POLARIS11" },
- { PCI_CHIP_POLARIS11_67E9, "POLARIS11" },
- { PCI_CHIP_POLARIS10_67C0, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C1, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C2, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C4, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C7, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67DF, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C8, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67C9, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67CA, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67CC, "POLARIS10" },
- { PCI_CHIP_POLARIS10_67CF, "POLARIS10" },
- { -1, NULL }
-};
-
-SymTabRec AMDGPUUniqueChipsets[] = {
- { 0, "OLAND" },
- { 0, "HAINAN" },
- { 0, "TAHITI" },
- { 0, "PITCAIRN" },
- { 0, "VERDE" },
- { 0, "BONAIRE" },
- { 0, "KABINI" },
- { 0, "MULLINS" },
- { 0, "KAVERI" },
- { 0, "HAWAII" },
- { 0, "TOPAZ" },
- { 0, "TONGA" },
- { 0, "CARRIZO" },
- { 0, "FIJI" },
- { 0, "STONEY" },
- { 0, "POLARIS11" },
- { 0, "POLARIS10" },
- { -1, NULL }
-};
diff --git a/src/amdgpu_pci_chipset_gen.h b/src/amdgpu_pci_chipset_gen.h
deleted file mode 100644
index 3d54a02..0000000
--- a/src/amdgpu_pci_chipset_gen.h
+++ /dev/null
@@ -1,195 +0,0 @@
-/* This file is autogenerated please do not edit */
-static PciChipsets AMDGPUPciChipsets[] = {
- { PCI_CHIP_OLAND_6600, PCI_CHIP_OLAND_6600, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6601, PCI_CHIP_OLAND_6601, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6602, PCI_CHIP_OLAND_6602, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6603, PCI_CHIP_OLAND_6603, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6604, PCI_CHIP_OLAND_6604, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6605, PCI_CHIP_OLAND_6605, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6606, PCI_CHIP_OLAND_6606, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6607, PCI_CHIP_OLAND_6607, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6608, PCI_CHIP_OLAND_6608, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6610, PCI_CHIP_OLAND_6610, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6611, PCI_CHIP_OLAND_6611, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6613, PCI_CHIP_OLAND_6613, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6617, PCI_CHIP_OLAND_6617, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6620, PCI_CHIP_OLAND_6620, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6621, PCI_CHIP_OLAND_6621, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6623, PCI_CHIP_OLAND_6623, RES_SHARED_VGA },
- { PCI_CHIP_OLAND_6631, PCI_CHIP_OLAND_6631, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_6660, PCI_CHIP_HAINAN_6660, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_6663, PCI_CHIP_HAINAN_6663, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_6664, PCI_CHIP_HAINAN_6664, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_6665, PCI_CHIP_HAINAN_6665, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_6667, PCI_CHIP_HAINAN_6667, RES_SHARED_VGA },
- { PCI_CHIP_HAINAN_666F, PCI_CHIP_HAINAN_666F, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6780, PCI_CHIP_TAHITI_6780, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6784, PCI_CHIP_TAHITI_6784, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6788, PCI_CHIP_TAHITI_6788, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_678A, PCI_CHIP_TAHITI_678A, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6790, PCI_CHIP_TAHITI_6790, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6791, PCI_CHIP_TAHITI_6791, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6792, PCI_CHIP_TAHITI_6792, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6798, PCI_CHIP_TAHITI_6798, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_6799, PCI_CHIP_TAHITI_6799, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_679A, PCI_CHIP_TAHITI_679A, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_679B, PCI_CHIP_TAHITI_679B, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_679E, PCI_CHIP_TAHITI_679E, RES_SHARED_VGA },
- { PCI_CHIP_TAHITI_679F, PCI_CHIP_TAHITI_679F, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6800, PCI_CHIP_PITCAIRN_6800, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6801, PCI_CHIP_PITCAIRN_6801, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6802, PCI_CHIP_PITCAIRN_6802, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6806, PCI_CHIP_PITCAIRN_6806, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6808, PCI_CHIP_PITCAIRN_6808, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6809, PCI_CHIP_PITCAIRN_6809, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6810, PCI_CHIP_PITCAIRN_6810, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6811, PCI_CHIP_PITCAIRN_6811, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6816, PCI_CHIP_PITCAIRN_6816, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6817, PCI_CHIP_PITCAIRN_6817, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6818, PCI_CHIP_PITCAIRN_6818, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_6819, PCI_CHIP_PITCAIRN_6819, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6820, PCI_CHIP_VERDE_6820, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6821, PCI_CHIP_VERDE_6821, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6822, PCI_CHIP_VERDE_6822, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6823, PCI_CHIP_VERDE_6823, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6824, PCI_CHIP_VERDE_6824, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6825, PCI_CHIP_VERDE_6825, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6826, PCI_CHIP_VERDE_6826, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6827, PCI_CHIP_VERDE_6827, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6828, PCI_CHIP_VERDE_6828, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6829, PCI_CHIP_VERDE_6829, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_682A, PCI_CHIP_VERDE_682A, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_682B, PCI_CHIP_VERDE_682B, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_682C, PCI_CHIP_VERDE_682C, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_682D, PCI_CHIP_VERDE_682D, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_682F, PCI_CHIP_VERDE_682F, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6830, PCI_CHIP_VERDE_6830, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6831, PCI_CHIP_VERDE_6831, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6835, PCI_CHIP_VERDE_6835, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6837, PCI_CHIP_VERDE_6837, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6838, PCI_CHIP_VERDE_6838, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_6839, PCI_CHIP_VERDE_6839, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_683B, PCI_CHIP_VERDE_683B, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_683D, PCI_CHIP_VERDE_683D, RES_SHARED_VGA },
- { PCI_CHIP_VERDE_683F, PCI_CHIP_VERDE_683F, RES_SHARED_VGA },
- { PCI_CHIP_PITCAIRN_684C, PCI_CHIP_PITCAIRN_684C, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6640, PCI_CHIP_BONAIRE_6640, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6641, PCI_CHIP_BONAIRE_6641, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6646, PCI_CHIP_BONAIRE_6646, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6647, PCI_CHIP_BONAIRE_6647, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6649, PCI_CHIP_BONAIRE_6649, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6650, PCI_CHIP_BONAIRE_6650, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6651, PCI_CHIP_BONAIRE_6651, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_6658, PCI_CHIP_BONAIRE_6658, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_665C, PCI_CHIP_BONAIRE_665C, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_665D, PCI_CHIP_BONAIRE_665D, RES_SHARED_VGA },
- { PCI_CHIP_BONAIRE_665F, PCI_CHIP_BONAIRE_665F, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9830, PCI_CHIP_KABINI_9830, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9831, PCI_CHIP_KABINI_9831, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9832, PCI_CHIP_KABINI_9832, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9833, PCI_CHIP_KABINI_9833, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9834, PCI_CHIP_KABINI_9834, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9835, PCI_CHIP_KABINI_9835, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9836, PCI_CHIP_KABINI_9836, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9837, PCI_CHIP_KABINI_9837, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9838, PCI_CHIP_KABINI_9838, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_9839, PCI_CHIP_KABINI_9839, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983A, PCI_CHIP_KABINI_983A, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983B, PCI_CHIP_KABINI_983B, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983C, PCI_CHIP_KABINI_983C, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983D, PCI_CHIP_KABINI_983D, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983E, PCI_CHIP_KABINI_983E, RES_SHARED_VGA },
- { PCI_CHIP_KABINI_983F, PCI_CHIP_KABINI_983F, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9850, PCI_CHIP_MULLINS_9850, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9851, PCI_CHIP_MULLINS_9851, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9852, PCI_CHIP_MULLINS_9852, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9853, PCI_CHIP_MULLINS_9853, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9854, PCI_CHIP_MULLINS_9854, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9855, PCI_CHIP_MULLINS_9855, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9856, PCI_CHIP_MULLINS_9856, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9857, PCI_CHIP_MULLINS_9857, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9858, PCI_CHIP_MULLINS_9858, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_9859, PCI_CHIP_MULLINS_9859, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985A, PCI_CHIP_MULLINS_985A, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985B, PCI_CHIP_MULLINS_985B, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985C, PCI_CHIP_MULLINS_985C, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985D, PCI_CHIP_MULLINS_985D, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985E, PCI_CHIP_MULLINS_985E, RES_SHARED_VGA },
- { PCI_CHIP_MULLINS_985F, PCI_CHIP_MULLINS_985F, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1304, PCI_CHIP_KAVERI_1304, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1305, PCI_CHIP_KAVERI_1305, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1306, PCI_CHIP_KAVERI_1306, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1307, PCI_CHIP_KAVERI_1307, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1309, PCI_CHIP_KAVERI_1309, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130A, PCI_CHIP_KAVERI_130A, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130B, PCI_CHIP_KAVERI_130B, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130C, PCI_CHIP_KAVERI_130C, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130D, PCI_CHIP_KAVERI_130D, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130E, PCI_CHIP_KAVERI_130E, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_130F, PCI_CHIP_KAVERI_130F, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1310, PCI_CHIP_KAVERI_1310, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1311, PCI_CHIP_KAVERI_1311, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1312, PCI_CHIP_KAVERI_1312, RES_SHARED_VGA },
- { PCI_CHIP_KAVERI_1313, PCI_CHIP_KAVERI_1313, RES_SHARED_VGA },
- { 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 },
- { PCI_CHIP_HAWAII_67A0, PCI_CHIP_HAWAII_67A0, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67A1, PCI_CHIP_HAWAII_67A1, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67A2, PCI_CHIP_HAWAII_67A2, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67A8, PCI_CHIP_HAWAII_67A8, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67A9, PCI_CHIP_HAWAII_67A9, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67AA, PCI_CHIP_HAWAII_67AA, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67B0, PCI_CHIP_HAWAII_67B0, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67B1, PCI_CHIP_HAWAII_67B1, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67B8, PCI_CHIP_HAWAII_67B8, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67B9, PCI_CHIP_HAWAII_67B9, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67BA, PCI_CHIP_HAWAII_67BA, RES_SHARED_VGA },
- { PCI_CHIP_HAWAII_67BE, PCI_CHIP_HAWAII_67BE, RES_SHARED_VGA },
- { PCI_CHIP_TOPAZ_6900, PCI_CHIP_TOPAZ_6900, RES_SHARED_VGA },
- { PCI_CHIP_TOPAZ_6901, PCI_CHIP_TOPAZ_6901, RES_SHARED_VGA },
- { PCI_CHIP_TOPAZ_6902, PCI_CHIP_TOPAZ_6902, RES_SHARED_VGA },
- { PCI_CHIP_TOPAZ_6903, PCI_CHIP_TOPAZ_6903, RES_SHARED_VGA },
- { PCI_CHIP_TOPAZ_6907, PCI_CHIP_TOPAZ_6907, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6920, PCI_CHIP_TONGA_6920, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6921, PCI_CHIP_TONGA_6921, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6928, PCI_CHIP_TONGA_6928, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6929, PCI_CHIP_TONGA_6929, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_692B, PCI_CHIP_TONGA_692B, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_692F, PCI_CHIP_TONGA_692F, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6930, PCI_CHIP_TONGA_6930, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6938, PCI_CHIP_TONGA_6938, RES_SHARED_VGA },
- { PCI_CHIP_TONGA_6939, PCI_CHIP_TONGA_6939, RES_SHARED_VGA },
- { PCI_CHIP_CARRIZO_9870, PCI_CHIP_CARRIZO_9870, RES_SHARED_VGA },
- { PCI_CHIP_CARRIZO_9874, PCI_CHIP_CARRIZO_9874, RES_SHARED_VGA },
- { PCI_CHIP_CARRIZO_9875, PCI_CHIP_CARRIZO_9875, RES_SHARED_VGA },
- { PCI_CHIP_CARRIZO_9876, PCI_CHIP_CARRIZO_9876, RES_SHARED_VGA },
- { PCI_CHIP_CARRIZO_9877, PCI_CHIP_CARRIZO_9877, RES_SHARED_VGA },
- { PCI_CHIP_FIJI_7300, PCI_CHIP_FIJI_7300, RES_SHARED_VGA },
- { PCI_CHIP_STONEY_98E4, PCI_CHIP_STONEY_98E4, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E0, PCI_CHIP_POLARIS11_67E0, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E3, PCI_CHIP_POLARIS11_67E3, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E8, PCI_CHIP_POLARIS11_67E8, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67EB, PCI_CHIP_POLARIS11_67EB, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67EF, PCI_CHIP_POLARIS11_67EF, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67FF, PCI_CHIP_POLARIS11_67FF, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E1, PCI_CHIP_POLARIS11_67E1, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E7, PCI_CHIP_POLARIS11_67E7, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS11_67E9, PCI_CHIP_POLARIS11_67E9, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C0, PCI_CHIP_POLARIS10_67C0, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C1, PCI_CHIP_POLARIS10_67C1, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C2, PCI_CHIP_POLARIS10_67C2, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C4, PCI_CHIP_POLARIS10_67C4, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C7, PCI_CHIP_POLARIS10_67C7, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67DF, PCI_CHIP_POLARIS10_67DF, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C8, PCI_CHIP_POLARIS10_67C8, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67C9, PCI_CHIP_POLARIS10_67C9, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67CA, PCI_CHIP_POLARIS10_67CA, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67CC, PCI_CHIP_POLARIS10_67CC, RES_SHARED_VGA },
- { PCI_CHIP_POLARIS10_67CF, PCI_CHIP_POLARIS10_67CF, RES_SHARED_VGA },
- { -1, -1, RES_UNDEFINED }
-};
diff --git a/src/amdgpu_pci_device_match_gen.h b/src/amdgpu_pci_device_match_gen.h
deleted file mode 100644
index 721397c..0000000
--- a/src/amdgpu_pci_device_match_gen.h
+++ /dev/null
@@ -1,195 +0,0 @@
-/* This file is autogenerated please do not edit */
-static const struct pci_id_match amdgpu_device_match[] = {
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6600, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6601, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6602, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6603, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6604, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6605, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6606, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6607, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6608, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6610, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6611, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6613, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6617, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6620, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6621, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6623, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_OLAND_6631, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_6660, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_6663, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_6664, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_6665, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_6667, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAINAN_666F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6780, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6784, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6788, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_678A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6790, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6791, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6792, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6798, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_6799, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_679A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_679B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_679E, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TAHITI_679F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6800, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6801, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6802, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6806, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6808, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6809, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6810, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6811, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6816, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6817, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6818, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_6819, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6820, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6821, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6822, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6823, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6824, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6825, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6826, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6827, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6828, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6829, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_682A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_682B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_682C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_682D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_682F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6830, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6831, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6835, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6837, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6838, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_6839, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_683B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_683D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_VERDE_683F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_PITCAIRN_684C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6640, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6641, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6646, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6647, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6649, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6650, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6651, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_6658, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_665C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_665D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_BONAIRE_665F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9830, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9831, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9832, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9833, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9834, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9835, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9836, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9837, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9838, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_9839, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983E, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KABINI_983F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9850, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9851, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9852, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9853, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9854, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9855, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9856, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9857, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9858, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_9859, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985E, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_MULLINS_985F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1304, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1305, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1306, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1307, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1309, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130A, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130C, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130D, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130E, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_130F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1310, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1311, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1312, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_KAVERI_1313, 0 ),
- 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 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67A0, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67A1, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67A2, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67A8, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67A9, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67AA, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67B0, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67B1, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67B8, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67B9, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67BA, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_HAWAII_67BE, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TOPAZ_6900, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TOPAZ_6901, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TOPAZ_6902, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TOPAZ_6903, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TOPAZ_6907, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6920, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6921, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6928, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6929, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_692B, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_692F, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6930, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6938, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_TONGA_6939, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_CARRIZO_9870, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_CARRIZO_9874, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_CARRIZO_9875, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_CARRIZO_9876, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_CARRIZO_9877, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_FIJI_7300, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_STONEY_98E4, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E0, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E3, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E8, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67EB, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67EF, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67FF, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E1, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E7, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS11_67E9, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C0, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C1, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C2, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C4, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C7, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67DF, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C8, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67C9, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67CA, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67CC, 0 ),
- ATI_DEVICE_MATCH( PCI_CHIP_POLARIS10_67CF, 0 ),
- { 0, 0, 0 }
-};
diff --git a/src/amdgpu_probe.h b/src/amdgpu_probe.h
index e6af3a2..047a24a 100644
--- a/src/amdgpu_probe.h
+++ b/src/amdgpu_probe.h
@@ -54,35 +54,6 @@
extern DriverRec AMDGPU;
-typedef enum {
- CHIP_FAMILY_UNKNOW,
- CHIP_FAMILY_LEGACY,
- CHIP_FAMILY_AMDGPU,
- CHIP_FAMILY_TAHITI,
- CHIP_FAMILY_PITCAIRN,
- CHIP_FAMILY_VERDE,
- CHIP_FAMILY_OLAND,
- CHIP_FAMILY_HAINAN,
- CHIP_FAMILY_BONAIRE,
- CHIP_FAMILY_KAVERI,
- CHIP_FAMILY_KABINI,
- CHIP_FAMILY_HAWAII,
- CHIP_FAMILY_MULLINS,
- CHIP_FAMILY_TOPAZ,
- CHIP_FAMILY_TONGA,
- CHIP_FAMILY_CARRIZO,
- CHIP_FAMILY_FIJI,
- CHIP_FAMILY_STONEY,
- CHIP_FAMILY_POLARIS10,
- CHIP_FAMILY_POLARIS11,
- CHIP_FAMILY_LAST
-} AMDGPUChipFamily;
-
-typedef struct {
- uint32_t pci_device_id;
- AMDGPUChipFamily chip_family;
-} AMDGPUCardInfo;
-
typedef struct {
Bool HasCRTC2; /* All cards except original Radeon */
diff --git a/src/ati_pciids_gen.h b/src/ati_pciids_gen.h
deleted file mode 100644
index 08fd12c..0000000
--- a/src/ati_pciids_gen.h
+++ /dev/null
@@ -1,191 +0,0 @@
-#define PCI_CHIP_OLAND_6600 0x6600
-#define PCI_CHIP_OLAND_6601 0x6601
-#define PCI_CHIP_OLAND_6602 0x6602
-#define PCI_CHIP_OLAND_6603 0x6603
-#define PCI_CHIP_OLAND_6604 0x6604
-#define PCI_CHIP_OLAND_6605 0x6605
-#define PCI_CHIP_OLAND_6606 0x6606
-#define PCI_CHIP_OLAND_6607 0x6607
-#define PCI_CHIP_OLAND_6608 0x6608
-#define PCI_CHIP_OLAND_6610 0x6610
-#define PCI_CHIP_OLAND_6611 0x6611
-#define PCI_CHIP_OLAND_6613 0x6613
-#define PCI_CHIP_OLAND_6617 0x6617
-#define PCI_CHIP_OLAND_6620 0x6620
-#define PCI_CHIP_OLAND_6621 0x6621
-#define PCI_CHIP_OLAND_6623 0x6623
-#define PCI_CHIP_OLAND_6631 0x6631
-#define PCI_CHIP_HAINAN_6660 0x6660
-#define PCI_CHIP_HAINAN_6663 0x6663
-#define PCI_CHIP_HAINAN_6664 0x6664
-#define PCI_CHIP_HAINAN_6665 0x6665
-#define PCI_CHIP_HAINAN_6667 0x6667
-#define PCI_CHIP_HAINAN_666F 0x666F
-#define PCI_CHIP_TAHITI_6780 0x6780
-#define PCI_CHIP_TAHITI_6784 0x6784
-#define PCI_CHIP_TAHITI_6788 0x6788
-#define PCI_CHIP_TAHITI_678A 0x678A
-#define PCI_CHIP_TAHITI_6790 0x6790
-#define PCI_CHIP_TAHITI_6791 0x6791
-#define PCI_CHIP_TAHITI_6792 0x6792
-#define PCI_CHIP_TAHITI_6798 0x6798
-#define PCI_CHIP_TAHITI_6799 0x6799
-#define PCI_CHIP_TAHITI_679A 0x679A
-#define PCI_CHIP_TAHITI_679B 0x679B
-#define PCI_CHIP_TAHITI_679E 0x679E
-#define PCI_CHIP_TAHITI_679F 0x679F
-#define PCI_CHIP_PITCAIRN_6800 0x6800
-#define PCI_CHIP_PITCAIRN_6801 0x6801
-#define PCI_CHIP_PITCAIRN_6802 0x6802
-#define PCI_CHIP_PITCAIRN_6806 0x6806
-#define PCI_CHIP_PITCAIRN_6808 0x6808
-#define PCI_CHIP_PITCAIRN_6809 0x6809
-#define PCI_CHIP_PITCAIRN_6810 0x6810
-#define PCI_CHIP_PITCAIRN_6811 0x6811
-#define PCI_CHIP_PITCAIRN_6816 0x6816
-#define PCI_CHIP_PITCAIRN_6817 0x6817
-#define PCI_CHIP_PITCAIRN_6818 0x6818
-#define PCI_CHIP_PITCAIRN_6819 0x6819
-#define PCI_CHIP_VERDE_6820 0x6820
-#define PCI_CHIP_VERDE_6821 0x6821
-#define PCI_CHIP_VERDE_6822 0x6822
-#define PCI_CHIP_VERDE_6823 0x6823
-#define PCI_CHIP_VERDE_6824 0x6824
-#define PCI_CHIP_VERDE_6825 0x6825
-#define PCI_CHIP_VERDE_6826 0x6826
-#define PCI_CHIP_VERDE_6827 0x6827
-#define PCI_CHIP_VERDE_6828 0x6828
-#define PCI_CHIP_VERDE_6829 0x6829
-#define PCI_CHIP_VERDE_682A 0x682A
-#define PCI_CHIP_VERDE_682B 0x682B
-#define PCI_CHIP_VERDE_682C 0x682C
-#define PCI_CHIP_VERDE_682D 0x682D
-#define PCI_CHIP_VERDE_682F 0x682F
-#define PCI_CHIP_VERDE_6830 0x6830
-#define PCI_CHIP_VERDE_6831 0x6831
-#define PCI_CHIP_VERDE_6835 0x6835
-#define PCI_CHIP_VERDE_6837 0x6837
-#define PCI_CHIP_VERDE_6838 0x6838
-#define PCI_CHIP_VERDE_6839 0x6839
-#define PCI_CHIP_VERDE_683B 0x683B
-#define PCI_CHIP_VERDE_683D 0x683D
-#define PCI_CHIP_VERDE_683F 0x683F
-#define PCI_CHIP_PITCAIRN_684C 0x684C
-#define PCI_CHIP_BONAIRE_6640 0x6640
-#define PCI_CHIP_BONAIRE_6641 0x6641
-#define PCI_CHIP_BONAIRE_6646 0x6646
-#define PCI_CHIP_BONAIRE_6647 0x6647
-#define PCI_CHIP_BONAIRE_6649 0x6649
-#define PCI_CHIP_BONAIRE_6650 0x6650
-#define PCI_CHIP_BONAIRE_6651 0x6651
-#define PCI_CHIP_BONAIRE_6658 0x6658
-#define PCI_CHIP_BONAIRE_665C 0x665C
-#define PCI_CHIP_BONAIRE_665D 0x665D
-#define PCI_CHIP_BONAIRE_665F 0x665F
-#define PCI_CHIP_KABINI_9830 0x9830
-#define PCI_CHIP_KABINI_9831 0x9831
-#define PCI_CHIP_KABINI_9832 0x9832
-#define PCI_CHIP_KABINI_9833 0x9833
-#define PCI_CHIP_KABINI_9834 0x9834
-#define PCI_CHIP_KABINI_9835 0x9835
-#define PCI_CHIP_KABINI_9836 0x9836
-#define PCI_CHIP_KABINI_9837 0x9837
-#define PCI_CHIP_KABINI_9838 0x9838
-#define PCI_CHIP_KABINI_9839 0x9839
-#define PCI_CHIP_KABINI_983A 0x983A
-#define PCI_CHIP_KABINI_983B 0x983B
-#define PCI_CHIP_KABINI_983C 0x983C
-#define PCI_CHIP_KABINI_983D 0x983D
-#define PCI_CHIP_KABINI_983E 0x983E
-#define PCI_CHIP_KABINI_983F 0x983F
-#define PCI_CHIP_MULLINS_9850 0x9850
-#define PCI_CHIP_MULLINS_9851 0x9851
-#define PCI_CHIP_MULLINS_9852 0x9852
-#define PCI_CHIP_MULLINS_9853 0x9853
-#define PCI_CHIP_MULLINS_9854 0x9854
-#define PCI_CHIP_MULLINS_9855 0x9855
-#define PCI_CHIP_MULLINS_9856 0x9856
-#define PCI_CHIP_MULLINS_9857 0x9857
-#define PCI_CHIP_MULLINS_9858 0x9858
-#define PCI_CHIP_MULLINS_9859 0x9859
-#define PCI_CHIP_MULLINS_985A 0x985A
-#define PCI_CHIP_MULLINS_985B 0x985B
-#define PCI_CHIP_MULLINS_985C 0x985C
-#define PCI_CHIP_MULLINS_985D 0x985D
-#define PCI_CHIP_MULLINS_985E 0x985E
-#define PCI_CHIP_MULLINS_985F 0x985F
-#define PCI_CHIP_KAVERI_1304 0x1304
-#define PCI_CHIP_KAVERI_1305 0x1305
-#define PCI_CHIP_KAVERI_1306 0x1306
-#define PCI_CHIP_KAVERI_1307 0x1307
-#define PCI_CHIP_KAVERI_1309 0x1309
-#define PCI_CHIP_KAVERI_130A 0x130A
-#define PCI_CHIP_KAVERI_130B 0x130B
-#define PCI_CHIP_KAVERI_130C 0x130C
-#define PCI_CHIP_KAVERI_130D 0x130D
-#define PCI_CHIP_KAVERI_130E 0x130E
-#define PCI_CHIP_KAVERI_130F 0x130F
-#define PCI_CHIP_KAVERI_1310 0x1310
-#define PCI_CHIP_KAVERI_1311 0x1311
-#define PCI_CHIP_KAVERI_1312 0x1312
-#define PCI_CHIP_KAVERI_1313 0x1313
-#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
-#define PCI_CHIP_HAWAII_67A0 0x67A0
-#define PCI_CHIP_HAWAII_67A1 0x67A1
-#define PCI_CHIP_HAWAII_67A2 0x67A2
-#define PCI_CHIP_HAWAII_67A8 0x67A8
-#define PCI_CHIP_HAWAII_67A9 0x67A9
-#define PCI_CHIP_HAWAII_67AA 0x67AA
-#define PCI_CHIP_HAWAII_67B0 0x67B0
-#define PCI_CHIP_HAWAII_67B1 0x67B1
-#define PCI_CHIP_HAWAII_67B8 0x67B8
-#define PCI_CHIP_HAWAII_67B9 0x67B9
-#define PCI_CHIP_HAWAII_67BA 0x67BA
-#define PCI_CHIP_HAWAII_67BE 0x67BE
-#define PCI_CHIP_TOPAZ_6900 0x6900
-#define PCI_CHIP_TOPAZ_6901 0x6901
-#define PCI_CHIP_TOPAZ_6902 0x6902
-#define PCI_CHIP_TOPAZ_6903 0x6903
-#define PCI_CHIP_TOPAZ_6907 0x6907
-#define PCI_CHIP_TONGA_6920 0x6920
-#define PCI_CHIP_TONGA_6921 0x6921
-#define PCI_CHIP_TONGA_6928 0x6928
-#define PCI_CHIP_TONGA_6929 0x6929
-#define PCI_CHIP_TONGA_692B 0x692B
-#define PCI_CHIP_TONGA_692F 0x692F
-#define PCI_CHIP_TONGA_6930 0x6930
-#define PCI_CHIP_TONGA_6938 0x6938
-#define PCI_CHIP_TONGA_6939 0x6939
-#define PCI_CHIP_CARRIZO_9870 0x9870
-#define PCI_CHIP_CARRIZO_9874 0x9874
-#define PCI_CHIP_CARRIZO_9875 0x9875
-#define PCI_CHIP_CARRIZO_9876 0x9876
-#define PCI_CHIP_CARRIZO_9877 0x9877
-#define PCI_CHIP_FIJI_7300 0x7300
-#define PCI_CHIP_STONEY_98E4 0x98E4
-#define PCI_CHIP_POLARIS11_67E0 0x67E0
-#define PCI_CHIP_POLARIS11_67E3 0x67E3
-#define PCI_CHIP_POLARIS11_67E8 0x67E8
-#define PCI_CHIP_POLARIS11_67EB 0x67EB
-#define PCI_CHIP_POLARIS11_67EF 0x67EF
-#define PCI_CHIP_POLARIS11_67FF 0x67FF
-#define PCI_CHIP_POLARIS11_67E1 0x67E1
-#define PCI_CHIP_POLARIS11_67E7 0x67E7
-#define PCI_CHIP_POLARIS11_67E9 0x67E9
-#define PCI_CHIP_POLARIS10_67C0 0x67C0
-#define PCI_CHIP_POLARIS10_67C1 0x67C1
-#define PCI_CHIP_POLARIS10_67C2 0x67C2
-#define PCI_CHIP_POLARIS10_67C4 0x67C4
-#define PCI_CHIP_POLARIS10_67C7 0x67C7
-#define PCI_CHIP_POLARIS10_67DF 0x67DF
-#define PCI_CHIP_POLARIS10_67C8 0x67C8
-#define PCI_CHIP_POLARIS10_67C9 0x67C9
-#define PCI_CHIP_POLARIS10_67CA 0x67CA
-#define PCI_CHIP_POLARIS10_67CC 0x67CC
-#define PCI_CHIP_POLARIS10_67CF 0x67CF
diff --git a/src/pcidb/ati_pciids.csv b/src/pcidb/ati_pciids.csv
deleted file mode 100644
index 3c572bf..0000000
--- a/src/pcidb/ati_pciids.csv
+++ /dev/null
@@ -1,192 +0,0 @@
-"#pciid","define","family","name"
-"0x6600","OLAND_6600","OLAND","OLAND"
-"0x6601","OLAND_6601","OLAND","OLAND"
-"0x6602","OLAND_6602","OLAND","OLAND"
-"0x6603","OLAND_6603","OLAND","OLAND"
-"0x6604","OLAND_6604","OLAND","OLAND"
-"0x6605","OLAND_6605","OLAND","OLAND"
-"0x6606","OLAND_6606","OLAND","OLAND"
-"0x6607","OLAND_6607","OLAND","OLAND"
-"0x6608","OLAND_6608","OLAND","OLAND"
-"0x6610","OLAND_6610","OLAND","OLAND"
-"0x6611","OLAND_6611","OLAND","OLAND"
-"0x6613","OLAND_6613","OLAND","OLAND"
-"0x6617","OLAND_6617","OLAND","OLAND"
-"0x6620","OLAND_6620","OLAND","OLAND"
-"0x6621","OLAND_6621","OLAND","OLAND"
-"0x6623","OLAND_6623","OLAND","OLAND"
-"0x6631","OLAND_6631","OLAND","OLAND"
-"0x6660","HAINAN_6660","HAINAN","HAINAN"
-"0x6663","HAINAN_6663","HAINAN","HAINAN"
-"0x6664","HAINAN_6664","HAINAN","HAINAN"
-"0x6665","HAINAN_6665","HAINAN","HAINAN"
-"0x6667","HAINAN_6667","HAINAN","HAINAN"
-"0x666F","HAINAN_666F","HAINAN","HAINAN"
-"0x6780","TAHITI_6780","TAHITI","TAHITI"
-"0x6784","TAHITI_6784","TAHITI","TAHITI"
-"0x6788","TAHITI_6788","TAHITI","TAHITI"
-"0x678A","TAHITI_678A","TAHITI","TAHITI"
-"0x6790","TAHITI_6790","TAHITI","TAHITI"
-"0x6791","TAHITI_6791","TAHITI","TAHITI"
-"0x6792","TAHITI_6792","TAHITI","TAHITI"
-"0x6798","TAHITI_6798","TAHITI","TAHITI"
-"0x6799","TAHITI_6799","TAHITI","TAHITI"
-"0x679A","TAHITI_679A","TAHITI","TAHITI"
-"0x679B","TAHITI_679B","TAHITI","TAHITI"
-"0x679E","TAHITI_679E","TAHITI","TAHITI"
-"0x679F","TAHITI_679F","TAHITI","TAHITI"
-"0x6800","PITCAIRN_6800","PITCAIRN","PITCAIRN"
-"0x6801","PITCAIRN_6801","PITCAIRN","PITCAIRN"
-"0x6802","PITCAIRN_6802","PITCAIRN","PITCAIRN"
-"0x6806","PITCAIRN_6806","PITCAIRN","PITCAIRN"
-"0x6808","PITCAIRN_6808","PITCAIRN","PITCAIRN"
-"0x6809","PITCAIRN_6809","PITCAIRN","PITCAIRN"
-"0x6810","PITCAIRN_6810","PITCAIRN","PITCAIRN"
-"0x6811","PITCAIRN_6811","PITCAIRN","PITCAIRN"
-"0x6816","PITCAIRN_6816","PITCAIRN","PITCAIRN"
-"0x6817","PITCAIRN_6817","PITCAIRN","PITCAIRN"
-"0x6818","PITCAIRN_6818","PITCAIRN","PITCAIRN"
-"0x6819","PITCAIRN_6819","PITCAIRN","PITCAIRN"
-"0x6820","VERDE_6820","VERDE","VERDE"
-"0x6821","VERDE_6821","VERDE","VERDE"
-"0x6822","VERDE_6822","VERDE","VERDE"
-"0x6823","VERDE_6823","VERDE","VERDE"
-"0x6824","VERDE_6824","VERDE","VERDE"
-"0x6825","VERDE_6825","VERDE","VERDE"
-"0x6826","VERDE_6826","VERDE","VERDE"
-"0x6827","VERDE_6827","VERDE","VERDE"
-"0x6828","VERDE_6828","VERDE","VERDE"
-"0x6829","VERDE_6829","VERDE","VERDE"
-"0x682A","VERDE_682A","VERDE","VERDE"
-"0x682B","VERDE_682B","VERDE","VERDE"
-"0x682C","VERDE_682C","VERDE","VERDE"
-"0x682D","VERDE_682D","VERDE","VERDE"
-"0x682F","VERDE_682F","VERDE","VERDE"
-"0x6830","VERDE_6830","VERDE","VERDE"
-"0x6831","VERDE_6831","VERDE","VERDE"
-"0x6835","VERDE_6835","VERDE","VERDE"
-"0x6837","VERDE_6837","VERDE","VERDE"
-"0x6838","VERDE_6838","VERDE","VERDE"
-"0x6839","VERDE_6839","VERDE","VERDE"
-"0x683B","VERDE_683B","VERDE","VERDE"
-"0x683D","VERDE_683D","VERDE","VERDE"
-"0x683F","VERDE_683F","VERDE","VERDE"
-"0x684C","PITCAIRN_684C","PITCAIRN","PITCAIRN"
-"0x6640","BONAIRE_6640","BONAIRE","BONAIRE"
-"0x6641","BONAIRE_6641","BONAIRE","BONAIRE"
-"0x6646","BONAIRE_6646","BONAIRE","BONAIRE"
-"0x6647","BONAIRE_6647","BONAIRE","BONAIRE"
-"0x6649","BONAIRE_6649","BONAIRE","BONAIRE"
-"0x6650","BONAIRE_6650","BONAIRE","BONAIRE"
-"0x6651","BONAIRE_6651","BONAIRE","BONAIRE"
-"0x6658","BONAIRE_6658","BONAIRE","BONAIRE"
-"0x665C","BONAIRE_665C","BONAIRE","BONAIRE"
-"0x665D","BONAIRE_665D","BONAIRE","BONAIRE"
-"0x665F","BONAIRE_665F","BONAIRE","BONAIRE"
-"0x9830","KABINI_9830","KABINI","KABINI"
-"0x9831","KABINI_9831","KABINI","KABINI"
-"0x9832","KABINI_9832","KABINI","KABINI"
-"0x9833","KABINI_9833","KABINI","KABINI"
-"0x9834","KABINI_9834","KABINI","KABINI"
-"0x9835","KABINI_9835","KABINI","KABINI"
-"0x9836","KABINI_9836","KABINI","KABINI"
-"0x9837","KABINI_9837","KABINI","KABINI"
-"0x9838","KABINI_9838","KABINI","KABINI"
-"0x9839","KABINI_9839","KABINI","KABINI"
-"0x983A","KABINI_983A","KABINI","KABINI"
-"0x983B","KABINI_983B","KABINI","KABINI"
-"0x983C","KABINI_983C","KABINI","KABINI"
-"0x983D","KABINI_983D","KABINI","KABINI"
-"0x983E","KABINI_983E","KABINI","KABINI"
-"0x983F","KABINI_983F","KABINI","KABINI"
-"0x9850","MULLINS_9850","MULLINS","MULLINS"
-"0x9851","MULLINS_9851","MULLINS","MULLINS"
-"0x9852","MULLINS_9852","MULLINS","MULLINS"
-"0x9853","MULLINS_9853","MULLINS","MULLINS"
-"0x9854","MULLINS_9854","MULLINS","MULLINS"
-"0x9855","MULLINS_9855","MULLINS","MULLINS"
-"0x9856","MULLINS_9856","MULLINS","MULLINS"
-"0x9857","MULLINS_9857","MULLINS","MULLINS"
-"0x9858","MULLINS_9858","MULLINS","MULLINS"
-"0x9859","MULLINS_9859","MULLINS","MULLINS"
-"0x985A","MULLINS_985A","MULLINS","MULLINS"
-"0x985B","MULLINS_985B","MULLINS","MULLINS"
-"0x985C","MULLINS_985C","MULLINS","MULLINS"
-"0x985D","MULLINS_985D","MULLINS","MULLINS"
-"0x985E","MULLINS_985E","MULLINS","MULLINS"
-"0x985F","MULLINS_985F","MULLINS","MULLINS"
-"0x1304","KAVERI_1304","KAVERI","KAVERI"
-"0x1305","KAVERI_1305","KAVERI","KAVERI"
-"0x1306","KAVERI_1306","KAVERI","KAVERI"
-"0x1307","KAVERI_1307","KAVERI","KAVERI"
-"0x1309","KAVERI_1309","KAVERI","KAVERI"
-"0x130A","KAVERI_130A","KAVERI","KAVERI"
-"0x130B","KAVERI_130B","KAVERI","KAVERI"
-"0x130C","KAVERI_130C","KAVERI","KAVERI"
-"0x130D","KAVERI_130D","KAVERI","KAVERI"
-"0x130E","KAVERI_130E","KAVERI","KAVERI"
-"0x130F","KAVERI_130F","KAVERI","KAVERI"
-"0x1310","KAVERI_1310","KAVERI","KAVERI"
-"0x1311","KAVERI_1311","KAVERI","KAVERI"
-"0x1312","KAVERI_1312","KAVERI","KAVERI"
-"0x1313","KAVERI_1313","KAVERI","KAVERI"
-"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"
-"0x67A0","HAWAII_67A0","HAWAII","HAWAII"
-"0x67A1","HAWAII_67A1","HAWAII","HAWAII"
-"0x67A2","HAWAII_67A2","HAWAII","HAWAII"
-"0x67A8","HAWAII_67A8","HAWAII","HAWAII"
-"0x67A9","HAWAII_67A9","HAWAII","HAWAII"
-"0x67AA","HAWAII_67AA","HAWAII","HAWAII"
-"0x67B0","HAWAII_67B0","HAWAII","HAWAII"
-"0x67B1","HAWAII_67B1","HAWAII","HAWAII"
-"0x67B8","HAWAII_67B8","HAWAII","HAWAII"
-"0x67B9","HAWAII_67B9","HAWAII","HAWAII"
-"0x67BA","HAWAII_67BA","HAWAII","HAWAII"
-"0x67BE","HAWAII_67BE","HAWAII","HAWAII"
-"0x6900","TOPAZ_6900","TOPAZ","TOPAZ"
-"0x6901","TOPAZ_6901","TOPAZ","TOPAZ"
-"0x6902","TOPAZ_6902","TOPAZ","TOPAZ"
-"0x6903","TOPAZ_6903","TOPAZ","TOPAZ"
-"0x6907","TOPAZ_6907","TOPAZ","TOPAZ"
-"0x6920","TONGA_6920","TONGA","TONGA"
-"0x6921","TONGA_6921","TONGA","TONGA"
-"0x6928","TONGA_6928","TONGA","TONGA"
-"0x6929","TONGA_6929","TONGA","TONGA"
-"0x692B","TONGA_692B","TONGA","TONGA"
-"0x692F","TONGA_692F","TONGA","TONGA"
-"0x6930","TONGA_6930","TONGA","TONGA"
-"0x6938","TONGA_6938","TONGA","TONGA"
-"0x6939","TONGA_6939","TONGA","TONGA"
-"0x9870","CARRIZO_9870","CARRIZO","CARRIZO"
-"0x9874","CARRIZO_9874","CARRIZO","CARRIZO"
-"0x9875","CARRIZO_9875","CARRIZO","CARRIZO"
-"0x9876","CARRIZO_9876","CARRIZO","CARRIZO"
-"0x9877","CARRIZO_9877","CARRIZO","CARRIZO"
-"0x7300","FIJI_7300","FIJI","FIJI"
-"0x98E4","STONEY_98E4","STONEY","STONEY"
-"0x67E0","POLARIS11_67E0","POLARIS11","POLARIS11"
-"0x67E3","POLARIS11_67E3","POLARIS11","POLARIS11"
-"0x67E8","POLARIS11_67E8","POLARIS11","POLARIS11"
-"0x67EB","POLARIS11_67EB","POLARIS11","POLARIS11"
-"0x67EF","POLARIS11_67EF","POLARIS11","POLARIS11"
-"0x67FF","POLARIS11_67FF","POLARIS11","POLARIS11"
-"0x67E1","POLARIS11_67E1","POLARIS11","POLARIS11"
-"0x67E7","POLARIS11_67E7","POLARIS11","POLARIS11"
-"0x67E9","POLARIS11_67E9","POLARIS11","POLARIS11"
-"0x67C0","POLARIS10_67C0","POLARIS10","POLARIS10"
-"0x67C1","POLARIS10_67C1","POLARIS10","POLARIS10"
-"0x67C2","POLARIS10_67C2","POLARIS10","POLARIS10"
-"0x67C4","POLARIS10_67C4","POLARIS10","POLARIS10"
-"0x67C7","POLARIS10_67C7","POLARIS10","POLARIS10"
-"0x67DF","POLARIS10_67DF","POLARIS10","POLARIS10"
-"0x67C8","POLARIS10_67C8","POLARIS10","POLARIS10"
-"0x67C9","POLARIS10_67C9","POLARIS10","POLARIS10"
-"0x67CA","POLARIS10_67CA","POLARIS10","POLARIS10"
-"0x67CC","POLARIS10_67CC","POLARIS10","POLARIS10"
-"0x67CF","POLARIS10_67CF","POLARIS10","POLARIS10"
diff --git a/src/pcidb/parse_pci_ids.pl b/src/pcidb/parse_pci_ids.pl
deleted file mode 100755
index 1234d79..0000000
--- a/src/pcidb/parse_pci_ids.pl
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/usr/bin/perl
-#
-# Copyright 2007 Red Hat Inc.
-# This crappy script written by Dave Airlie to avoid hassle of adding
-# ids in every place.
-#
-use strict;
-use warnings;
-use Text::CSV_XS;
-
-my $file = $ARGV[0];
-
-my $atioutfile = 'ati_pciids_gen.h';
-my $amdgpupcichipsetfile = 'amdgpu_pci_chipset_gen.h';
-my $amdgpupcidevicematchfile = 'amdgpu_pci_device_match_gen.h';
-my $amdgpuchipsetfile = 'amdgpu_chipset_gen.h';
-my $amdgpuchipinfofile = 'amdgpu_chipinfo_gen.h';
-
-my %uniquechipsets;
-my @uniquearray;
-my $numunique = 0;
-
-my $csv = Text::CSV_XS->new();
-
-open (CSV, "<", $file) or die $!;
-
-open (ATIOUT, ">", $atioutfile) or die;
-open (PCICHIPSET, ">", $amdgpupcichipsetfile) or die;
-open (PCIDEVICEMATCH, ">", $amdgpupcidevicematchfile) or die;
-open (AMDGPUCHIPSET, ">", $amdgpuchipsetfile) or die;
-open (AMDGPUCHIPINFO, ">", $amdgpuchipinfofile) or die;
-
-print AMDGPUCHIPSET "/* This file is autogenerated please do not edit */\n";
-print AMDGPUCHIPSET "SymTabRec AMDGPUChipsets[] = {\n";
-print PCICHIPSET "/* This file is autogenerated please do not edit */\n";
-print PCICHIPSET "static PciChipsets AMDGPUPciChipsets[] = {\n";
-print PCIDEVICEMATCH "/* This file is autogenerated please do not edit */\n";
-print PCIDEVICEMATCH "static const struct pci_id_match amdgpu_device_match[] = {\n";
-print AMDGPUCHIPINFO "/* This file is autogenerated please do not edit */\n";
-print AMDGPUCHIPINFO "static AMDGPUCardInfo AMDGPUCards[] = {\n";
-while (<CSV>) {
- if ($csv->parse($_)) {
- my @columns = $csv->fields();
-
- if ((substr($columns[0], 0, 1) ne "#")) {
-
- print ATIOUT "#define PCI_CHIP_$columns[1] $columns[0]\n";
-
- if (($columns[2] ne "R128") && ($columns[2] ne "MACH64") && ($columns[2] ne "MACH32")) {
- print PCICHIPSET " { PCI_CHIP_$columns[1], PCI_CHIP_$columns[1], RES_SHARED_VGA },\n";
-
- print PCIDEVICEMATCH " ATI_DEVICE_MATCH( PCI_CHIP_$columns[1], 0 ),\n";
-
- print AMDGPUCHIPSET " { PCI_CHIP_$columns[1], \"$columns[3]\" },\n";
- if (!$uniquechipsets{$columns[3]}) {
- $uniquearray[$numunique] = $columns[3];
- $uniquechipsets{$columns[3]} = ++$numunique;
- }
-
- print AMDGPUCHIPINFO " { $columns[0], CHIP_FAMILY_$columns[2] },\n";
- }
- }
- } else {
- my $err = $csv->error_input;
- print "Failed to parse line: $err";
- }
-}
-
-print AMDGPUCHIPINFO "};\n";
-print AMDGPUCHIPSET " { -1, NULL }\n};\n\nSymTabRec AMDGPUUniqueChipsets[] = {\n";
-foreach (@uniquearray) {
- print AMDGPUCHIPSET " { 0, \"$_\" },\n";
-}
-print AMDGPUCHIPSET " { -1, NULL }\n};\n";
-print PCICHIPSET " { -1, -1, RES_UNDEFINED }\n};\n";
-print PCIDEVICEMATCH " { 0, 0, 0 }\n};\n";
-close CSV;
-close ATIOUT;
-close PCICHIPSET;
-close PCIDEVICEMATCH;
-close AMDGPUCHIPSET;
-close AMDGPUCHIPINFO;
--
2.10.2
More information about the amd-gfx
mailing list