Add gfx900 support
Add gfx900 device to the support Change-Id: I71f30ef43e5e0ef0e7b5f18205b6cc4767d9d861
This commit is contained in:
committed by
Felix Kuehling
parent
1025579c0b
commit
9ba2b68fdb
+10
-2
@@ -45,11 +45,12 @@ enum asic_family_type {
|
||||
CHIP_TONGA,
|
||||
CHIP_FIJI,
|
||||
CHIP_POLARIS10,
|
||||
CHIP_POLARIS11
|
||||
CHIP_POLARIS11,
|
||||
CHIP_VEGA10
|
||||
};
|
||||
|
||||
#define IS_VI(chip) ((chip) >= CHIP_CARRIZO && (chip) <= CHIP_POLARIS11)
|
||||
#define IS_DGPU(chip) (((chip) >= CHIP_TONGA && (chip) <= CHIP_POLARIS11) || \
|
||||
#define IS_DGPU(chip) (((chip) >= CHIP_TONGA && (chip) <= CHIP_VEGA10) || \
|
||||
(chip) == CHIP_HAWAII)
|
||||
|
||||
#define WG_CONTEXT_DATA_SIZE_PER_CU_VI 344576
|
||||
@@ -96,6 +97,11 @@ struct device_info polaris11_device_info = {
|
||||
.eop_buffer_size = TONGA_PAGE_SIZE,
|
||||
};
|
||||
|
||||
struct device_info vega10_device_info = {
|
||||
.asic_family = CHIP_VEGA10,
|
||||
.eop_buffer_size = 4096,
|
||||
};
|
||||
|
||||
struct device_id
|
||||
{
|
||||
uint16_t dev_id;
|
||||
@@ -174,6 +180,8 @@ struct device_id supported_devices[] = {
|
||||
{ 0x67EB, &polaris11_device_info },
|
||||
{ 0x67EF, &polaris11_device_info },
|
||||
{ 0x67FF, &polaris11_device_info },
|
||||
{ 0x6860, &vega10_device_info },
|
||||
{ 0x687F, &vega10_device_info },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user