libhsakmt: add yellow carp support

This patch is to add yellow carp support on thunk.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Change-Id: Icfecc3fd1f472c9924f934c6a5352448356d83df


[ROCm/ROCR-Runtime commit: a55551309c]
Este commit está contenido en:
Aaron Liu
2021-01-25 18:09:40 +08:00
cometido por Aaron Liu
padre bb0146488f
commit 09d3f9749c
Se han modificado 3 ficheros con 9 adiciones y 0 borrados
+1
Ver fichero
@@ -142,6 +142,7 @@ enum asic_family_type {
CHIP_VANGOGH, /* 21 */
CHIP_ALDEBARAN, /* 22 */
CHIP_BEIGE_GOBY, /* 23 */
CHIP_YELLOW_CARP, /* 24 */
CHIP_LAST
};
+1
Ver fichero
@@ -2134,6 +2134,7 @@ HSAKMT_STATUS get_block_properties(uint32_t node_id,
case CHIP_NAVI10:
case CHIP_NAVI14:
case CHIP_VANGOGH:
case CHIP_YELLOW_CARP:
*block = navi_blocks[block_id];
break;
default:
+7
Ver fichero
@@ -199,6 +199,12 @@ const struct device_info beige_goby_device_info = {
.doorbell_size = DOORBELL_SIZE_GFX9,
};
const struct device_info yellow_carp_device_info = {
.asic_family = CHIP_YELLOW_CARP,
.eop_buffer_size = 4096,
.doorbell_size = DOORBELL_SIZE_GFX9,
};
static const struct device_info *dev_lookup_table[] = {
[CHIP_KAVERI] = &kaveri_device_info,
[CHIP_HAWAII] = &hawaii_device_info,
@@ -224,6 +230,7 @@ static const struct device_info *dev_lookup_table[] = {
[CHIP_DIMGREY_CAVEFISH] = &dimgrey_cavefish_device_info,
[CHIP_VANGOGH] = &vangogh_device_info,
[CHIP_BEIGE_GOBY] = &beige_goby_device_info,
[CHIP_YELLOW_CARP] = &yellow_carp_device_info,
};
struct queue {