From 4d4b0d8d6bc99ef20179f036fef18045ad6ace3c Mon Sep 17 00:00:00 2001 From: Jay Cornwall Date: Wed, 21 Oct 2020 09:09:27 -0500 Subject: [PATCH] libhsakmt: Limit control stack size on gfx1032 Add to workaround list. Change-Id: I01855d3404203760507879db5af23455407ac450 Signed-off-by: Jay Cornwall [ROCm/ROCR-Runtime commit: 0fc623e8730d929206024b43c5581517997524cf] --- projects/rocr-runtime/src/queues.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/src/queues.c b/projects/rocr-runtime/src/queues.c index e24e74aba7..eb8e061673 100644 --- a/projects/rocr-runtime/src/queues.c +++ b/projects/rocr-runtime/src/queues.c @@ -449,7 +449,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_NAVY_FLOUNDER) { + q->dev_info->asic_family <= CHIP_DIMGREY_CAVEFISH) { /* HW design limits control stack size to 0x7000. * This is insufficient for theoretical PM4 cases * but sufficient for AQL, limited by SPI events.