mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 14:32:27 -04:00
drm/amd/display: To support Replay frame skip mode
[Why & How] The change is to optimize the Replay power saving by reducing the refresh rate with frame skipping mode Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Chuntao Tso <chunttso@amd.com> Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
45de10d2d9
commit
f3f48d6ce5
@@ -162,7 +162,7 @@ bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool wait)
|
||||
|
||||
if (link) {
|
||||
link->dc->link_srv->edp_setup_replay(link, stream);
|
||||
link->dc->link_srv->edp_set_coasting_vtotal(link, stream->timing.v_total);
|
||||
link->dc->link_srv->edp_set_coasting_vtotal(link, stream->timing.v_total, 0);
|
||||
DRM_DEBUG_DRIVER("Enabling replay...\n");
|
||||
link->dc->link_srv->edp_set_replay_allow_active(link, &replay_active, wait, false, NULL);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user