summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Li <samuel.li@amd.com>2015-10-22 12:50:21 -0400
committerAlex Deucher <alexander.deucher@amd.com>2015-10-23 11:04:59 -0400
commit3b0a3c89b53b3ebe21a9d703a4dbff6e57c65a57 (patch)
tree5fb7f41daf95da7c206a2736cdabf90405c92235 /src
parent9c8b7ebe15eec7abd5dc10ad6ccecbc57225494a (diff)
Add Stoney support
(agd): rebase Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Samuel Li <samuel.li@amd.com>
Diffstat (limited to 'src')
-rw-r--r--src/amdgpu_chipinfo_gen.h1
-rw-r--r--src/amdgpu_chipset_gen.h1
-rw-r--r--src/amdgpu_pci_chipset_gen.h1
-rw-r--r--src/amdgpu_pci_device_match_gen.h1
-rw-r--r--src/amdgpu_probe.h1
-rw-r--r--src/ati_pciids_gen.h1
-rw-r--r--src/pcidb/ati_pciids.csv1
7 files changed, 7 insertions, 0 deletions
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"