1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd
Jonathan Kim 09d49e14ea 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 <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-09 12:48:19 -04:00
..
acp
amdgpu drm/amdkfd: fix and enable debugging for gfx11 2023-06-09 12:48:19 -04:00
amdkfd drm/amdkfd: fix and enable debugging for gfx11 2023-06-09 12:48:19 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Refactor avi_info_frame colorimetry determination 2023-06-09 12:47:22 -04:00
include drm/amdkfd: fix and enable debugging for gfx11 2023-06-09 12:48:19 -04:00
pm drm/amd/pm: enable more Pstates profile levels for SMU v13.0.4 2023-06-09 12:47:46 -04:00