diff options
author | Jonathan Kim <jonathan.kim@amd.com> | 2022-03-30 15:09:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 12:35:11 -0400 |
commit | cde2e087a320bff5d772d82c9fbddaea18daa94a (patch) | |
tree | 23efa24a331c64693a051372ac666f7634917a99 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c | |
parent | d3116d9f27b89d363dd528e42fcf4895a15e0c3c (diff) |
drm/amdgpu: add gfx9 hw debug mode enable and disable calls
Implement the per-device calls to enable or disable HW debug mode for
GFX9 prior to GFX9.4.1.
GFX9.4.1 and onward will require their own enable/disable sequence as
follow on patches.
When hardware debug mode setting is requested, waves will inherit
these settings in the Shader Processor Input's (SPI) Sequencer Global
Block (SQG). This means that the KGD must drain all waves from the SPI
into SQG (approximately 96 SPI clock cycles) prior to debug mode setting
to ensure that the order of operations that the debugger expects with
regards to debug mode setting transaction requests and wave inheritence
of that mode is upheld.
Also ensure that exception overrides are reset to their original state
prior to debug enable or disable.
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/amdgpu/amdgpu_amdkfd_arcturus.c')
0 files changed, 0 insertions, 0 deletions