Skip to content

Commit c68a6af

Browse files
committed
accel/amdxdna: Switch to always use chained command
Preempt commands are only supported when submitted as chained commands. To ensure preempt support works consistently, always submit commands in chained command format. Set force_cmdlist to true so that single commands are filled using the chained command layout, enabling correct handling of preempt commands. Fixes: 3a0ff7b ("accel/amdxdna: Support preemption requests") Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260206060251.4050512-1-lizhi.hou@amd.com
1 parent 08fe1b5 commit c68a6af

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/accel/amdxdna/aie2_ctx.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
#include "amdxdna_pci_drv.h"
2424
#include "amdxdna_pm.h"
2525

26-
static bool force_cmdlist;
26+
static bool force_cmdlist = true;
2727
module_param(force_cmdlist, bool, 0600);
28-
MODULE_PARM_DESC(force_cmdlist, "Force use command list (Default false)");
28+
MODULE_PARM_DESC(force_cmdlist, "Force use command list (Default true)");
2929

3030
#define HWCTX_MAX_TIMEOUT 60000 /* milliseconds */
3131

0 commit comments

Comments
 (0)