mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
Revert "drm/amd/display: Reset cached PSR parameters after hibernate"
This reverts commitd2069326d2. Commitd2069326d2("drm/amd/display: Reset cached PSR parameters after hibernate") causes a system hang when game resolution is changed. Revert it. Reviewed-by: Jayendran Ramani <Jayendran.Ramani@amd.com> Reviewed-by: Harry Vanzylldejong <Harry.Vanzylldejong@amd.com> Acked-by: Wayne Lin <wayne.lin@amd.com> Signed-off-by: Evgenii Krasnikov <Evgenii.Krasnikov@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0f05c998d1
commit
eaacf13b33
|
|
@ -3317,14 +3317,9 @@ bool dc_link_setup_psr(struct dc_link *link,
|
|||
*/
|
||||
psr_context->frame_delay = 0;
|
||||
|
||||
if (psr) {
|
||||
if (psr)
|
||||
link->psr_settings.psr_feature_enabled = psr->funcs->psr_copy_settings(psr,
|
||||
link, psr_context, panel_inst);
|
||||
if (link->psr_settings.psr_feature_enabled) {
|
||||
link->psr_settings.psr_power_opt = 0;
|
||||
link->psr_settings.psr_allow_active = 0;
|
||||
}
|
||||
}
|
||||
else
|
||||
link->psr_settings.psr_feature_enabled = dmcu->funcs->setup_psr(dmcu, link, psr_context);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user