summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
diff options
context:
space:
mode:
authorAlvin Lee <alvin.lee2@amd.com>2024-03-20 13:27:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-09 22:04:06 -0400
commit7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb (patch)
tree61db93fdde41ccb3676dd074480c3018abc1d74f /drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
parent75d5f90df1d090f2cd449b6e4f4876ac38c510e5 (diff)
downloadlinux-stable-7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb.tar.gz
linux-stable-7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb.tar.bz2
linux-stable-7eb9d1e0ebad5ece64ccab0606bcf21faee1e6eb.zip
drm/amd/display: Add extra logging for HUBP and OTG
[Description] Add extra logging for DCSURF_FLIP_CNTL, DCHUBP_CNTL, OTG_MASTER_EN, and OTG_DOUBLE_BUFFER_CONTROL for more debuggability for a system crash. Reviewed-by: Samson Tam <samson.tam@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/optc.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/optc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h b/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
index 9a8bf6ec70ea..8d32e525f05a 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/optc.h
@@ -93,6 +93,8 @@ struct dcn_otg_state {
uint32_t vertical_interrupt1_line;
uint32_t vertical_interrupt2_en;
uint32_t vertical_interrupt2_line;
+ uint32_t otg_master_update_lock;
+ uint32_t otg_double_buffer_control;
};
void optc1_read_otg_state(struct optc *optc1, struct dcn_otg_state *s);