summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorChunTao Tso <chuntao.tso@amd.com>2025-12-01 15:47:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-12-16 13:23:50 -0500
commit3679a3ba427853df86de712e016624b4295e0554 (patch)
tree367bf0333600548157c9917d40152f4e103ebd1a /drivers/gpu/drm/amd/display
parent63387cbbb714d9f0d179d9d4560de1408d0906de (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index f46039f64203..cf4bf0faf1cd 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -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*/