summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_types.h
diff options
context:
space:
mode:
authorDennis Chan <dennis.chan@amd.com>2023-10-27 11:00:36 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-11-29 16:24:09 -0500
commitcee6de122461de699aaa7932b33466c6d259eabb (patch)
tree3f235e970497e0768959471bdf2c0aea549cb9c3 /drivers/gpu/drm/amd/display/dc/dc_types.h
parent223aad1be34e1169ee7210bce05726cc5ef1fd66 (diff)
downloadlinux-stable-cee6de122461de699aaa7932b33466c6d259eabb.tar.gz
linux-stable-cee6de122461de699aaa7932b33466c6d259eabb.tar.bz2
linux-stable-cee6de122461de699aaa7932b33466c6d259eabb.zip
drm/amd/display: Add new Replay command and Disabled Replay Timing Resync
[why] To support dynamic switching for Replay timing sync mechanism. Reviewed-by: ChunTao Tso <chuntao.tso@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Dennis Chan <dennis.chan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h10
1 files changed, 10 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 fcb825e4f1bb..edf60c4f318c 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -1022,6 +1022,16 @@ enum replay_coasting_vtotal_type {
PR_COASTING_TYPE_NUM,
};
+/*
+ * This is general Interface for Replay to
+ * set an 32 bit variable to dmub
+ * The Message_type indicates which variable
+ * passed to DMUB.
+ */
+enum replay_FW_Message_type {
+ Replay_Set_Timing_Sync_Supported,
+};
+
union replay_error_status {
struct {
unsigned char STATE_TRANSITION_ERROR :1;