From: Taimur Hassan <[email protected]>

[Why & How]
- Extend reply debug flags, define a new bit as debug_log_enabled
- Replace the padding to frame_skip_number in struct
  dmub_cmd_replay_set_coasting_vtotal_data

Acked-by: Tom Chung <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

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 c0a833ae606b..ae6e17a26bbb 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -485,7 +485,13 @@ union replay_debug_flags {
                 */
                uint32_t enable_visual_confirm_debug : 1;
 
-               uint32_t reserved : 18;
+               /**
+                * 0x4000 (bit 14)
+                * @debug_log_enabled: Debug Log Enabled
+                */
+               uint32_t debug_log_enabled : 1;
+
+               uint32_t reserved : 17;
        } bitfields;
 
        uint32_t u32All;
@@ -4620,9 +4626,9 @@ struct dmub_cmd_replay_set_coasting_vtotal_data {
         */
        uint16_t coasting_vtotal_high;
        /**
-        * Explicit padding to 4 byte boundary.
+        * frame skip number.
         */
-       uint8_t pad[2];
+       uint16_t frame_skip_number;
 };
 
 /**
-- 
2.43.0

Reply via email to