diff options
author | Sung Lee <sunglee@amd.com> | 2023-04-10 14:15:14 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-24 18:36:46 -0400 |
commit | 9c25ab167df412a5474dedfd0e7743e76bc89cbe (patch) | |
tree | 98aa15511c94f5134f402b4bfb7c1220743b1249 /drivers/gpu/drm/amd/display/dc/inc | |
parent | 469a62938a45ef382c9cb7b9fec6c6c1fcd781c0 (diff) | |
download | linux-stable-9c25ab167df412a5474dedfd0e7743e76bc89cbe.tar.gz linux-stable-9c25ab167df412a5474dedfd0e7743e76bc89cbe.tar.bz2 linux-stable-9c25ab167df412a5474dedfd0e7743e76bc89cbe.zip |
drm/amd/display: Add p-state debugging
[WHY]
P-State related issues are fairly common but currently
there is no way to debug these issues after the fact.
[HOW]
Add helpful registers to HW state queries
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Sung Lee <sunglee@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h index beb26dc8a07f..aa80b3f2ca3f 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h @@ -111,6 +111,7 @@ struct dcn_hubbub_state { uint32_t vm_error_vmid; uint32_t vm_error_pipe; uint32_t vm_error_mode; + uint32_t test_debug_data; }; struct hubbub_funcs { |