diff options
author | Jonathan Kim <jonathan.kim@amd.com> | 2022-05-02 17:45:05 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 18:36:39 +0200 |
commit | aea1b4738bebd8092bd437ce0b03aa9587fc20a7 (patch) | |
tree | f274f5bfb5af22794bce266807b05ef76b1b35e2 /drivers/gpu/drm/amd/amdkfd/kfd_debug.h | |
parent | drm/amdkfd: add debug wave launch override operation (diff) | |
download | linux-aea1b4738bebd8092bd437ce0b03aa9587fc20a7.tar.xz linux-aea1b4738bebd8092bd437ce0b03aa9587fc20a7.zip |
drm/amdkfd: add debug wave launch mode operation
Allow the debugger to set wave behaviour on to either normally operate,
halt at launch, trap on every instruction, terminate immediately or
stall on allocation.
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/amdkfd/kfd_debug.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_debug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_debug.h b/drivers/gpu/drm/amd/amdkfd/kfd_debug.h index c9245221aa76..cb17869437c5 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_debug.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_debug.h @@ -48,6 +48,8 @@ int kfd_dbg_trap_set_wave_launch_override(struct kfd_process *target, uint32_t trap_mask_request, uint32_t *trap_mask_prev, uint32_t *trap_mask_supported); +int kfd_dbg_trap_set_wave_launch_mode(struct kfd_process *target, + uint8_t wave_launch_mode); int kfd_dbg_send_exception_to_runtime(struct kfd_process *p, unsigned int dev_id, |