]> git.ipfire.org Git - thirdparty/linux.git/commit
accel/amdxdna: Switch to always use chained command
authorLizhi Hou <lizhi.hou@amd.com>
Fri, 6 Feb 2026 06:02:51 +0000 (22:02 -0800)
committerLizhi Hou <lizhi.hou@amd.com>
Mon, 23 Feb 2026 17:24:15 +0000 (09:24 -0800)
commitc68a6af400ca80596e8c37de0a1cb564aa9da8a4
treea83900ccea68b9daae60a9840fa8cb1726ad142e
parent08fe1b5166fdc81b010d7bf39cd6440620e7931e
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: 3a0ff7b98af4 ("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
drivers/accel/amdxdna/aie2_ctx.c