From: Anthony Koo <anthony....@amd.com>

 - Add DMUB_CMD__IDLE_OPT_DCN_NOTIFY_IDLE command
 - Remove d3 entry event and instead check for stream mask
 - dmu: Enable timeout recovery and detection for p-state

Acked-by: Qingqing Zhuo <qingqing.z...@amd.com>
Signed-off-by: Anthony Koo <anthony....@amd.com>
---
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 9 ++++++---
 1 file changed, 6 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 1c55d3b01f53..54b7786f5681 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -419,7 +419,8 @@ union dmub_fw_boot_options {
                uint32_t dpia_hpd_int_enable_supported: 1; /* 1 if dpia hpd int 
enable supported */
                uint32_t usb4_dpia_bw_alloc_supported: 1; /* 1 if USB4 dpia BW 
allocation supported */
                uint32_t disable_clk_ds: 1; /* 1 if disallow dispclk_ds and 
dppclk_ds*/
-               uint32_t reserved : 14; /**< reserved */
+               uint32_t disable_timeout_recovery : 1; /* 1 if timeout recovery 
should be disabled */
+               uint32_t reserved : 13; /**< reserved */
        } bits; /**< boot bits */
        uint32_t all; /**< 32-bit access to bits */
 };
@@ -1125,8 +1126,6 @@ struct dmub_rb_cmd_idle_opt_dcn_restore {
  */
 struct dmub_dcn_notify_idle_cntl_data {
        uint8_t driver_idle;
-       uint8_t d3_entry;
-       uint8_t trigger;
        uint8_t pad[1];
 };
 
@@ -3550,6 +3549,10 @@ union dmub_rb_cmd {
         * Definition of a DMUB_CMD__DPIA_HPD_INT_ENABLE command.
         */
        struct dmub_rb_cmd_dpia_hpd_int_enable dpia_hpd_int_enable;
+       /**
+        * Definition of a DMUB_CMD__IDLE_OPT_DCN_NOTIFY_IDLE command.
+        */
+       struct dmub_rb_cmd_idle_opt_dcn_notify_idle idle_opt_notify_idle;
 };
 
 /**
-- 
2.34.1

Reply via email to