summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNishad Saraf <nishads@amd.com>2026-05-05 19:09:36 +0300
committerLizhi Hou <lizhi.hou@amd.com>2026-05-08 00:09:33 +0300
commitc006978163fd001fbca55e5fa57bddcf49f47ad9 (patch)
tree0dcc0243ca3c849d11d05c011fa7b2821aa2a1d4 /include/linux/debugobjects.h
parent0b087e0636245f7393610cef0f45333effcdd86a (diff)
downloadlinux-c006978163fd001fbca55e5fa57bddcf49f47ad9.tar.xz
accel/amdxdna: Add AIE4 work buffer initialization
NPU firmware requires a host-allocated work buffer for hardware contexts. Allocate a 4 MB host buffer and attach it to device during device init. Refactor aie2_alloc_msg_buffer() and aie2_free_msg_buffer() into common helpers by moving them to aie.c and renaming them to amdxdna_alloc_msg_buffer() and amdxdna_free_msg_buffer(), allowing both AIE2 and AIE4 to reuse the implementation. Signed-off-by: Nishad Saraf <nishads@amd.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/all/20260505160936.3917732-7-lizhi.hou@amd.com/
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions