mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
drm/amd/display: Update replay for clk_mgr optimizations
Add Replay calls to clk_mgr updates (just like PSR) Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d0d6928058
commit
f51069bac6
|
|
@ -117,6 +117,7 @@ void clk_mgr_exit_optimized_pwr_state(const struct dc *dc, struct clk_mgr *clk_m
|
|||
continue;
|
||||
clk_mgr->psr_allow_active_cache = edp_link->psr_settings.psr_allow_active;
|
||||
dc->link_srv->edp_set_psr_allow_active(edp_link, &allow_active, false, false, NULL);
|
||||
dc->link_srv->edp_set_replay_allow_active(edp_link, &allow_active, false, false, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -137,6 +138,8 @@ void clk_mgr_optimize_pwr_state(const struct dc *dc, struct clk_mgr *clk_mgr)
|
|||
continue;
|
||||
dc->link_srv->edp_set_psr_allow_active(edp_link,
|
||||
&clk_mgr->psr_allow_active_cache, false, false, NULL);
|
||||
dc->link_srv->edp_set_replay_allow_active(edp_link,
|
||||
&clk_mgr->psr_allow_active_cache, false, false, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user