diff options
| author | Jonathan Kim <[email protected]> | 2023-05-23 15:57:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 16:48:19 +0000 |
| commit | 09d49e14ea6fd125a21f89b80f888c09be32a174 (patch) | |
| tree | b79f2e96444da3b8b2d1f9ed03b9537323e1bd1e /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd: Tighten permissions on VBIOS flashing attributes (diff) | |
| download | kernel-09d49e14ea6fd125a21f89b80f888c09be32a174.tar.gz kernel-09d49e14ea6fd125a21f89b80f888c09be32a174.zip | |
drm/amdkfd: fix and enable debugging for gfx11
There are a couple of fixes required to enable gfx11 debugging.
First, ADD_QUEUE.trap_en is an inappropriate place to toggle
a per-process register so move it to SET_SHADER_DEBUGGER.trap_en.
When ADD_QUEUE.skip_process_ctx_clear is set, MES will prioritize
the SET_SHADER_DEBUGGER.trap_en setting.
Second, to preserve correct save/restore priviledged wave states
in coordination with the trap enablement setting, resume suspended
waves early in the disable call.
Signed-off-by: Jonathan Kim <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
