drm/amdkfd: Added gfx904 and gfx803 for KFD.
Change-Id: I4406dc70c776926feaecca3f2146d65259a80517
Signed-off-by: Gang Ba <gaba@amd.com>
[ROCm/ROCR-Runtime commit: 52ec7f805e]
This commit is contained in:
@@ -92,12 +92,24 @@ const struct device_info polaris11_device_info = {
|
||||
.doorbell_size = DOORBELL_SIZE_GFX8,
|
||||
};
|
||||
|
||||
const struct device_info polaris12_device_info = {
|
||||
.asic_family = CHIP_POLARIS12,
|
||||
.eop_buffer_size = TONGA_PAGE_SIZE,
|
||||
.doorbell_size = DOORBELL_SIZE_GFX8,
|
||||
};
|
||||
|
||||
const struct device_info vega10_device_info = {
|
||||
.asic_family = CHIP_VEGA10,
|
||||
.eop_buffer_size = 4096,
|
||||
.doorbell_size = DOORBELL_SIZE_GFX9,
|
||||
};
|
||||
|
||||
const struct device_info vega12_device_info = {
|
||||
.asic_family = CHIP_VEGA12,
|
||||
.eop_buffer_size = 4096,
|
||||
.doorbell_size = DOORBELL_SIZE_GFX9,
|
||||
};
|
||||
|
||||
const struct device_info raven_device_info = {
|
||||
.asic_family = CHIP_RAVEN,
|
||||
.eop_buffer_size = 4096,
|
||||
@@ -119,7 +131,9 @@ static const struct device_info *dev_lookup_table[] = {
|
||||
[CHIP_FIJI] = &fiji_device_info,
|
||||
[CHIP_POLARIS10] = &polaris10_device_info,
|
||||
[CHIP_POLARIS11] = &polaris11_device_info,
|
||||
[CHIP_POLARIS12] = &polaris12_device_info,
|
||||
[CHIP_VEGA10] = &vega10_device_info,
|
||||
[CHIP_VEGA12] = &vega12_device_info,
|
||||
[CHIP_VEGA20] = &vega20_device_info,
|
||||
[CHIP_RAVEN] = &raven_device_info
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user