mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
drm/amd/display: remove clearance code of force_ffu_mode flag in dmub_psr_copy_settings()
[Why/How] The force_ffu_mode flag could be initialized at other place. Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Zhongwei <Zhongwei.Zhang@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -390,8 +390,7 @@ static bool dmub_psr_copy_settings(struct dmub_psr *dmub,
|
||||
!memcmp(link->dpcd_caps.sink_dev_id_str, DP_SINK_DEVICE_STR_ID_1,
|
||||
sizeof(DP_SINK_DEVICE_STR_ID_1)))
|
||||
link->psr_settings.force_ffu_mode = 1;
|
||||
else
|
||||
link->psr_settings.force_ffu_mode = 0;
|
||||
|
||||
copy_settings_data->force_ffu_mode = link->psr_settings.force_ffu_mode;
|
||||
|
||||
if (((link->dpcd_caps.fec_cap.bits.FEC_CAPABLE &&
|
||||
|
||||
Reference in New Issue
Block a user