drm/amd/display: Add a Panel Replay config option

[Why]
Replay need special policy for the scenario Teams,
add a flag to imply apply special policy or not.

[How]
Add a config option intended for future use for video conferencing applications.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: ChunTao Tso <ChunTao.Tso@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
ChunTao Tso
2024-10-22 14:54:50 +08:00
committed by Alex Deucher
parent 16e24a95fb
commit 4b884e3f03
2 changed files with 5 additions and 0 deletions

View File

@@ -1132,6 +1132,8 @@ struct replay_config {
bool low_rr_activated;
/* Replay low refresh rate supported*/
bool low_rr_supported;
/* Replay Video Conferencing Optimization Enabled */
bool replay_video_conferencing_optimization_enabled;
};
/* Replay feature flags*/

View File

@@ -1022,6 +1022,9 @@ bool edp_setup_replay(struct dc_link *link, const struct dc_stream_state *stream
&alpm_config.raw,
sizeof(alpm_config.raw));
}
link->replay_settings.config.replay_video_conferencing_optimization_enabled = false;
return true;
}