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 <aaron.liu@amd.com>
Change-Id: I6c8345bbb751eb9179fc740fe1674504b4295a5f
This commit is contained in:
Aaron Liu
2021-07-23 06:27:37 +08:00
committed by Aaron Liu
parent 80e4cb6261
commit fc216a3668
+1 -1
View File
@@ -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.