libhsakmt: Add Vega M support

While this may not be supported in the runtime, the kernel/firmware
support it

Change-Id: I7fe4536a6b3055f39e25f453060e899938645d91
Signed-off-by: Kent Russell <kent.russell@amd.com>
This commit is contained in:
Kent Russell
2019-03-21 06:05:08 -04:00
parent c7439a0039
commit 1304a92e17
4 changed files with 13 additions and 0 deletions
+7
View File
@@ -98,6 +98,12 @@ const struct device_info polaris12_device_info = {
.doorbell_size = DOORBELL_SIZE_GFX8,
};
const struct device_info vegam_device_info = {
.asic_family = CHIP_VEGAM,
.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,
@@ -132,6 +138,7 @@ static const struct device_info *dev_lookup_table[] = {
[CHIP_POLARIS10] = &polaris10_device_info,
[CHIP_POLARIS11] = &polaris11_device_info,
[CHIP_POLARIS12] = &polaris12_device_info,
[CHIP_VEGAM] = &vegam_device_info,
[CHIP_VEGA10] = &vega10_device_info,
[CHIP_VEGA12] = &vega12_device_info,
[CHIP_VEGA20] = &vega20_device_info,