mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 00:43:08 -04:00
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:
committed by
Alex Deucher
parent
16e24a95fb
commit
4b884e3f03
@@ -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*/
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user