]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
accel/amdxdna: Enable temporal sharing only mode
authorLizhi Hou <lizhi.hou@amd.com>
Wed, 17 Dec 2025 19:11:50 +0000 (11:11 -0800)
committerLizhi Hou <lizhi.hou@amd.com>
Thu, 18 Dec 2025 18:36:33 +0000 (10:36 -0800)
commit7818618a09a06320f409571bf28801ccfe7e0a30
treec1a01b575140631f3fbb60ae80d1d2440fb0c546
parent3ef93841033edc6359146dccd88d2f7ac8d706d1
accel/amdxdna: Enable temporal sharing only mode

Newer firmware versions prefer temporal sharing only mode. In this mode,
the driver no longer needs to manage AIE array column allocation. Instead,
a new field, num_unused_col, is added to the hardware context creation
request to specify how many columns will not be used by this hardware
context.

Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20251217191150.2145937-1-lizhi.hou@amd.com
drivers/accel/amdxdna/aie2_ctx.c
drivers/accel/amdxdna/aie2_message.c
drivers/accel/amdxdna/aie2_msg_priv.h
drivers/accel/amdxdna/aie2_pci.h
drivers/accel/amdxdna/amdxdna_ctx.h
drivers/accel/amdxdna/npu4_regs.c