From: ChunTao Tso <[email protected]>

[WHAT]
Add FRAME_SKIPPING_ERROR_STATUS to dpcd_replay_configuration.
Add received_frame_skipping_error_hpd to replay_config.
Add REPLAY_GENERAL_CMD_SET_COASTING_VTOTAL_WITHOUT_FRAME_UPDATE to
dmub_cmd_replay_general_subtype.

Reviewed-by: Aric Cyr <[email protected]>
Signed-off-by: ChunTao Tso <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h    | 2 +-
 drivers/gpu/drm/amd/display/dc/dc_types.h       | 2 ++
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc_dp_types.h 
b/drivers/gpu/drm/amd/display/dc/dc_dp_types.h
index 9540f0ead279..7fa336bf1115 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_dp_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_dp_types.h
@@ -1374,7 +1374,7 @@ union dpcd_replay_configuration {
                unsigned char DESYNC_ERROR_STATUS              : 1;
                unsigned char SINK_DEVICE_REPLAY_STATUS        : 3;
                unsigned char SINK_FRAME_LOCKED                : 2;
-               unsigned char RESERVED                         : 1;
+               unsigned char FRAME_SKIPPING_ERROR_STATUS      : 1;
        } bits;
        unsigned char raw;
 };
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h 
b/drivers/gpu/drm/amd/display/dc/dc_types.h
index d2e60480fb2b..d0ae5c27a511 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -1194,6 +1194,8 @@ struct replay_config {
        union replay_optimization replay_optimization;
        /* Replay sub feature Frame Skipping is supported */
        bool frame_skip_supported;
+       /* Replay Received Frame Skipping Error HPD. */
+       bool received_frame_skipping_error_hpd;
 };
 
 /* Replay feature flags*/
diff --git a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h 
b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
index 2abbc6c97850..f67a0ffb9335 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -4441,6 +4441,7 @@ enum dmub_cmd_replay_general_subtype {
        REPLAY_GENERAL_CMD_SET_LOW_RR_ACTIVATE,
        REPLAY_GENERAL_CMD_VIDEO_CONFERENCING,
        REPLAY_GENERAL_CMD_SET_CONTINUOUSLY_RESYNC,
+       REPLAY_GENERAL_CMD_SET_COASTING_VTOTAL_WITHOUT_FRAME_UPDATE,
 };
 
 struct dmub_alpm_auxless_data {
-- 
2.43.0

Reply via email to