aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce
diff options
context:
space:
mode:
authorDavid Zhang <dingchen.zhang@amd.com>2022-05-02 11:48:22 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-06 14:41:49 -0400
commit65657d98754c581ad66b56680d3c9ed679890071 (patch)
tree9f7691c7d540021d76bf3bb715fb752cf74f660b /drivers/gpu/drm/amd/display/dc/dce
parentdrm/amd/display: Passing Y-granularity to dmub fw (diff)
downloadlinux-dev-65657d98754c581ad66b56680d3c9ed679890071.tar.xz
linux-dev-65657d98754c581ad66b56680d3c9ed679890071.zip
drm/amd/display: Set default value of line_capture_indication
[Why & how] We only support line capture indication as 0 for PSRSU Signed-off-by: David Zhang <dingchen.zhang@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
index 6883dd5b80d6..bc4943205bce 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
@@ -339,6 +339,7 @@ static bool dmub_psr_copy_settings(struct dmub_psr *dmub,
else
copy_settings_data->su_y_granularity = psr_context->su_y_granularity;
+ copy_settings_data->line_capture_indication = 0;
copy_settings_data->fec_enable_status = (link->fec_state == dc_link_fec_enabled);
copy_settings_data->fec_enable_delay_in100us = link->dc->debug.fec_enable_delay_in100us;
copy_settings_data->cmd_version = DMUB_CMD_PSR_CONTROL_VERSION_1;