summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
diff options
context:
space:
mode:
authorCharlene Liu <Charlene.Liu@amd.com>2022-03-11 01:20:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-03-15 21:42:01 +0300
commita91b402d50072e4801b231925f33574f90e562ce (patch)
tree23eea18c08f2a4248db72e2440b4b8642fd2c7f9 /drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
parentdd15640bcee5a5fa74fc52557dd6220f48b01116 (diff)
downloadlinux-a91b402d50072e4801b231925f33574f90e562ce.tar.xz
drm/amd/display: Add save/restore PANEL_PWRSEQ_REF_DIV2
[why] DCN31 has this in zstate save/restore sequence. need for non_zstate supported ASIC [how] add this PANEL_PWRSEQ_REF_DIV2 to existing panel_cntl_hw_init structure. Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@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/panel_cntl.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h b/drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
index 48eac622c6a0..24af9d80b937 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/panel_cntl.h
@@ -39,6 +39,7 @@ struct panel_cntl_backlight_registers {
unsigned int BL_PWM_CNTL2;
unsigned int BL_PWM_PERIOD_CNTL;
unsigned int LVTMA_PWRSEQ_REF_DIV_BL_PWM_REF_DIV;
+ unsigned int PANEL_PWRSEQ_REF_DIV2;
};
struct panel_cntl_funcs {