drm/amd/display: [FW Promotion] Release 0.1.46.0
authorTaimur Hassan <Syed.Hassan@amd.com>
Fri, 30 Jan 2026 21:29:05 +0000 (16:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:16:23 +0000 (15:16 -0500)
Add some struct member and enum for panel replay

Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Taimur Hassan <Syed.Hassan@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h

index 3b4f5e9..6f388c9 100644 (file)
@@ -1638,6 +1638,11 @@ enum dmub_gpint_command {
         * DESC: Initiates IPS wake sequence.
         */
        DMUB_GPINT__IPS_DEBUG_WAKE = 137,
+       /**
+        * DESC: Do panel power off sequence
+        * ARGS: 1 - Power off
+        */
+       DMUB_GPINT__PANEL_POWER_OFF_SEQ = 138,
 };
 
 /**
@@ -4408,6 +4413,7 @@ enum dmub_cmd_panel_replay_type {
 enum dmub_cmd_panel_replay_state_update_subtype {
        PR_STATE_UPDATE_COASTING_VTOTAL = 0x1,
        PR_STATE_UPDATE_SYNC_MODE = 0x2,
+       PR_STATE_UPDATE_RUNTIME_FLAGS = 0x3,
 };
 
 enum dmub_cmd_panel_replay_general_subtype {
@@ -6701,6 +6707,13 @@ struct dmub_rb_cmd_pr_copy_settings {
        struct dmub_cmd_pr_copy_settings_data data;
 };
 
+union dmub_pr_runtime_flags {
+       struct {
+               uint32_t disable_abm_optimization : 1; // Disable ABM optimization for PR
+       } bitfields;
+       uint32_t u32All;
+};
+
 struct dmub_cmd_pr_update_state_data {
        /**
         * Panel Instance.
@@ -6719,6 +6732,8 @@ struct dmub_cmd_pr_update_state_data {
         */
        uint32_t coasting_vtotal;
        uint32_t sync_mode;
+
+       union dmub_pr_runtime_flags pr_runtime_flags;
 };
 
 struct dmub_cmd_pr_general_cmd_data {