mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/amd/display: Replay Video Conferencing V2
[WHY&HOW] Add new coasting vtotal type and an union to optimize the video conference for more power saving. Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: ChunTao Tso <chuntao.tso@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@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
63387cbbb7
commit
3679a3ba42
|
|
@ -1078,6 +1078,7 @@ enum replay_coasting_vtotal_type {
|
|||
PR_COASTING_TYPE_STATIC,
|
||||
PR_COASTING_TYPE_FULL_SCREEN_VIDEO,
|
||||
PR_COASTING_TYPE_TEST_HARNESS,
|
||||
PR_COASTING_TYPE_VIDEO_CONFERENCING_V2,
|
||||
PR_COASTING_TYPE_NUM,
|
||||
};
|
||||
|
||||
|
|
@ -1134,6 +1135,17 @@ union replay_low_refresh_rate_enable_options {
|
|||
unsigned int raw;
|
||||
};
|
||||
|
||||
union replay_optimization {
|
||||
struct {
|
||||
//BIT[0-3]: Replay Teams Optimization
|
||||
unsigned int TEAMS_OPTIMIZATION_VER_1 :1;
|
||||
unsigned int TEAMS_OPTIMIZATION_VER_2 :1;
|
||||
unsigned int RESERVED_2_3 :2;
|
||||
} bits;
|
||||
|
||||
unsigned int raw;
|
||||
};
|
||||
|
||||
struct replay_config {
|
||||
/* Replay version */
|
||||
enum dc_replay_version replay_version;
|
||||
|
|
@ -1171,6 +1183,8 @@ struct replay_config {
|
|||
enum dc_alpm_mode alpm_mode;
|
||||
/* Replay full screen only */
|
||||
bool os_request_force_ffu;
|
||||
/* Replay optimization */
|
||||
union replay_optimization replay_optimization;
|
||||
};
|
||||
|
||||
/* Replay feature flags*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user