summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
diff options
context:
space:
mode:
authorSung Lee <sunglee@amd.com>2023-04-21 12:03:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-06-09 09:33:55 -0400
commit738b3469f8e12ae72555ef4724bebe8167a93e29 (patch)
tree81f3dafba8ba43e3938188a99138460cd9651e86 /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
parent1ffbc89c302669c95779c1e6b0901380544c9bb8 (diff)
downloadlinux-stable-738b3469f8e12ae72555ef4724bebe8167a93e29.tar.gz
linux-stable-738b3469f8e12ae72555ef4724bebe8167a93e29.tar.bz2
linux-stable-738b3469f8e12ae72555ef4724bebe8167a93e29.zip
drm/amd/display: Add additional pstate registers to HW state query
[WHY] These registers would be useful to know when debugging pstate issues. [HOW] Add additional registers to hw state query. Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Sung Lee <sunglee@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h2
1 files changed, 2 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 aa80b3f2ca3f..aaa293613846 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
@@ -112,6 +112,8 @@ struct dcn_hubbub_state {
uint32_t vm_error_pipe;
uint32_t vm_error_mode;
uint32_t test_debug_data;
+ uint32_t watermark_change_cntl;
+ uint32_t dram_state_cntl;
};
struct hubbub_funcs {