summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_mode.c
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-10-16 13:30:16 -0700
committerLizhi Hou <lizhi.hou@amd.com>2025-10-20 09:07:12 -0700
commit7ea0468380216c10b73633b976d33efa8c12d375 (patch)
tree797530eab663d2df75988972c844c4dab77e6e5e /drivers/gpu/drm/ast/ast_mode.c
parentfb4f1cb3e04d706bc7d02dc6ed9e5baafa903de9 (diff)
accel/amdxdna: Support firmware debug buffer
To collect firmware debug information, the userspace application allocates a AMDXDNA_BO_DEV buffer object through DRM_IOCTL_AMDXDNA_CREATE_BO. Then it associates the buffer with the hardware context through DRM_IOCTL_AMDXDNA_CONFIG_HWCTX which requests firmware to bind the buffer through a mailbox command. The firmware then writes the debug data into this buffer. The buffer can be mapped into userspace so that applications can retrieve and analyze the firmware debug information. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://lore.kernel.org/r/20251016203016.819441-1-lizhi.hou@amd.com
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
0 files changed, 0 insertions, 0 deletions