aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorJonathan Kim <jonathan.kim@amd.com>2022-05-10 11:15:29 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 12:36:57 -0400
commitb17bd5dbf64677682a3bca249c64521d5eabcb38 (patch)
treeb5cb3d726c153234dc12fb29465f13e67dc436a7 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent2b36de971d25daa2ad287114ae3ca11a8f8d49d7 (diff)
downloadlinux-b17bd5dbf64677682a3bca249c64521d5eabcb38.tar.gz
linux-b17bd5dbf64677682a3bca249c64521d5eabcb38.tar.bz2
linux-b17bd5dbf64677682a3bca249c64521d5eabcb38.zip
drm/amdkfd: add debug queue snapshot operation
Allow the debugger to get a snapshot of a specified number of queues containing various queue property information that is copied to the debugger. Since the debugger doesn't know how many queues exist at any given time, allow the debugger to pass the requested number of snapshots as 0 to get the actual number of potential snapshots to use for a subsequent snapshot request for actual information. To prevent future ABI breakage, pass in the requested entry_size. The KFD will return it's own entry_size in case the debugger still wants log the information in a core dump on sizing failure. Also allow the debugger to clear exceptions when doing a snapshot. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions