Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

ChunTao Tso and committed by
Alex Deucher
3679a3ba 63387cbb

+14
+14
drivers/gpu/drm/amd/display/dc/dc_types.h
··· 1078 1078 PR_COASTING_TYPE_STATIC, 1079 1079 PR_COASTING_TYPE_FULL_SCREEN_VIDEO, 1080 1080 PR_COASTING_TYPE_TEST_HARNESS, 1081 + PR_COASTING_TYPE_VIDEO_CONFERENCING_V2, 1081 1082 PR_COASTING_TYPE_NUM, 1082 1083 }; 1083 1084 ··· 1135 1134 unsigned int raw; 1136 1135 }; 1137 1136 1137 + union replay_optimization { 1138 + struct { 1139 + //BIT[0-3]: Replay Teams Optimization 1140 + unsigned int TEAMS_OPTIMIZATION_VER_1 :1; 1141 + unsigned int TEAMS_OPTIMIZATION_VER_2 :1; 1142 + unsigned int RESERVED_2_3 :2; 1143 + } bits; 1144 + 1145 + unsigned int raw; 1146 + }; 1147 + 1138 1148 struct replay_config { 1139 1149 /* Replay version */ 1140 1150 enum dc_replay_version replay_version; ··· 1183 1171 enum dc_alpm_mode alpm_mode; 1184 1172 /* Replay full screen only */ 1185 1173 bool os_request_force_ffu; 1174 + /* Replay optimization */ 1175 + union replay_optimization replay_optimization; 1186 1176 }; 1187 1177 1188 1178 /* Replay feature flags*/