[PATCH xf86-video-amdgpu] Add Stoney support
Alex Deucher
alexdeucher at gmail.com
Thu Oct 22 09:52:05 PDT 2015
From: Samuel Li <samuel.li at amd.com>
(agd): rebase
Signed-off-by: Samuel Li <samuel.li 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/amdgpu_probe.h | 1 +
src/ati_pciids_gen.h | 1 +
src/pcidb/ati_pciids.csv | 1 +
7 files changed, 7 insertions(+)
diff --git a/src/amdgpu_chipinfo_gen.h b/src/amdgpu_chipinfo_gen.h
index 6969e1e..dab8746 100644
--- a/src/amdgpu_chipinfo_gen.h
+++ b/src/amdgpu_chipinfo_gen.h
@@ -78,4 +78,5 @@ static AMDGPUCardInfo AMDGPUCards[] = {
{ 0x9876, CHIP_FAMILY_CARRIZO },
{ 0x9877, CHIP_FAMILY_CARRIZO },
{ 0x7300, CHIP_FAMILY_FIJI },
+ { 0x98E4, CHIP_FAMILY_STONEY },
};
diff --git a/src/amdgpu_chipset_gen.h b/src/amdgpu_chipset_gen.h
index 94d2df5..a8683e0 100644
--- a/src/amdgpu_chipset_gen.h
+++ b/src/amdgpu_chipset_gen.h
@@ -78,5 +78,6 @@ SymTabRec AMDGPUChipsets[] = {
{ PCI_CHIP_CARRIZO_9876, "CARRIZO" },
{ PCI_CHIP_CARRIZO_9877, "CARRIZO" },
{ PCI_CHIP_FIJI_7300, "FIJI" },
+ { PCI_CHIP_STONEY_98E4, "STONEY" },
{ -1, NULL }
};
diff --git a/src/amdgpu_pci_chipset_gen.h b/src/amdgpu_pci_chipset_gen.h
index 6ffb7db..fc16b62 100644
--- a/src/amdgpu_pci_chipset_gen.h
+++ b/src/amdgpu_pci_chipset_gen.h
@@ -78,5 +78,6 @@ static PciChipsets AMDGPUPciChipsets[] = {
{ 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 },
{ -1, -1, RES_UNDEFINED }
};
diff --git a/src/amdgpu_pci_device_match_gen.h b/src/amdgpu_pci_device_match_gen.h
index 4a198ac..1c00759 100644
--- a/src/amdgpu_pci_device_match_gen.h
+++ b/src/amdgpu_pci_device_match_gen.h
@@ -78,5 +78,6 @@ static const struct pci_id_match amdgpu_device_match[] = {
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 ),
{ 0, 0, 0 }
};
diff --git a/src/amdgpu_probe.h b/src/amdgpu_probe.h
index 4b4fefb..5194f4c 100644
--- a/src/amdgpu_probe.h
+++ b/src/amdgpu_probe.h
@@ -66,6 +66,7 @@ typedef enum {
CHIP_FAMILY_TONGA,
CHIP_FAMILY_CARRIZO,
CHIP_FAMILY_FIJI,
+ CHIP_FAMILY_STONEY,
CHIP_FAMILY_LAST
} AMDGPUChipFamily;
diff --git a/src/ati_pciids_gen.h b/src/ati_pciids_gen.h
index 933d727..76d161c 100644
--- a/src/ati_pciids_gen.h
+++ b/src/ati_pciids_gen.h
@@ -76,3 +76,4 @@
#define PCI_CHIP_CARRIZO_9876 0x9876
#define PCI_CHIP_CARRIZO_9877 0x9877
#define PCI_CHIP_FIJI_7300 0x7300
+#define PCI_CHIP_STONEY_98E4 0x98E4
diff --git a/src/pcidb/ati_pciids.csv b/src/pcidb/ati_pciids.csv
index 0f18611..21de3a9 100644
--- a/src/pcidb/ati_pciids.csv
+++ b/src/pcidb/ati_pciids.csv
@@ -77,3 +77,4 @@
"0x9876","CARRIZO_9876","CARRIZO","CARRIZO"
"0x9877","CARRIZO_9877","CARRIZO","CARRIZO"
"0x7300","FIJI_7300","FIJI","FIJI"
+"0x98E4","STONEY_98E4","STONEY","STONEY"
--
1.8.3.1
More information about the xorg-driver-ati
mailing list