Commit 3b0a3c89 authored by Samuel Li's avatar Samuel Li Committed by Alex Deucher

Add Stoney support

(agd): rebase
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <michel.daenzer@amd.com>
Signed-off-by: default avatarSamuel Li <samuel.li@amd.com>
parent 9c8b7ebe
......@@ -78,4 +78,5 @@ static AMDGPUCardInfo AMDGPUCards[] = {
{ 0x9876, CHIP_FAMILY_CARRIZO },
{ 0x9877, CHIP_FAMILY_CARRIZO },
{ 0x7300, CHIP_FAMILY_FIJI },
{ 0x98E4, CHIP_FAMILY_STONEY },
};
......@@ -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 }
};
......@@ -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 }
};
......@@ -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 }
};
......@@ -66,6 +66,7 @@ typedef enum {
CHIP_FAMILY_TONGA,
CHIP_FAMILY_CARRIZO,
CHIP_FAMILY_FIJI,
CHIP_FAMILY_STONEY,
CHIP_FAMILY_LAST
} AMDGPUChipFamily;
......
......@@ -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
......@@ -77,3 +77,4 @@
"0x9876","CARRIZO_9876","CARRIZO","CARRIZO"
"0x9877","CARRIZO_9877","CARRIZO","CARRIZO"
"0x7300","FIJI_7300","FIJI","FIJI"
"0x98E4","STONEY_98E4","STONEY","STONEY"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment