From fc216a36684188618fb683028d328788f0d51094 Mon Sep 17 00:00:00 2001 From: Aaron Liu Date: Fri, 23 Jul 2021 06:27:37 +0800 Subject: [PATCH] libhsakmt: expand control stack size limit for all gfx103x Expand check control stack size for Beige Goby, Van Gogh and Yellow Carp. Signed-off-by: Aaron Liu Change-Id: I6c8345bbb751eb9179fc740fe1674504b4295a5f --- src/queues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queues.c b/src/queues.c index 3de137bf40..a4a7df6070 100644 --- a/src/queues.c +++ b/src/queues.c @@ -475,7 +475,7 @@ static bool update_ctx_save_restore_size(uint32_t nodeid, struct queue *q) q->ctl_stack_size = PAGE_ALIGN_UP(sizeof(HsaUserContextSaveAreaHeader) + ctl_stack_size); if (q->dev_info->asic_family >= CHIP_NAVI10 && - q->dev_info->asic_family <= CHIP_DIMGREY_CAVEFISH) { + q->dev_info->asic_family <= CHIP_YELLOW_CARP) { /* HW design limits control stack size to 0x7000. * This is insufficient for theoretical PM4 cases * but sufficient for AQL, limited by SPI events.