From: Taimur Hassan <[email protected]>

[why & how]
update DMUB_CMD__DC_BLS_DCHVM_INIT definitions

Acked-by: Tom Chung <[email protected]>
Signed-off-by: Taimur Hassan <[email protected]>
Signed-off-by: James Lin <[email protected]>
---
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   | 38 +++++++++----------
 1 file changed, 19 insertions(+), 19 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 1d10fe8f1998..105a0f8762e8 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -2955,25 +2955,6 @@ struct dmub_rb_cmd_idle_opt_dcn_notify_idle {
        struct dmub_dcn_notify_idle_cntl_data cntl_data;
 };
 
-/**
- * Data passed from driver to FW in a DMUB_CMD__DC_BLS_DCHVM_INIT command.
- */
-struct dmub_cmd_dc_bls_dchvm_init_data {
-       /**
-        * The value to program to rIOMMU PCTRL register. x86 cannot access 
this SMN
-        * register, so the write is performed by DMCUB on the driver's behalf.
-        */
-       uint32_t riommu_pctrl_val; /* r */
-};
-
-/**
- * Definition of a DMUB_CMD__DC_BLS_DCHVM_INIT command.
- */
-struct dmub_rb_cmd_dc_bls_dchvm_init {
-       struct dmub_cmd_header header;
-       struct dmub_cmd_dc_bls_dchvm_init_data data;
-};
-
 /**
  * enum dmub_idle_opt_dc_power_state - DC power states.
  */
@@ -7225,6 +7206,25 @@ struct dmub_rb_cmd_ips_residency_cntl {
        struct dmub_cmd_ips_residency_cntl_data cntl_data;
 };
 
+/**
+ * Data passed from driver to FW in a DMUB_CMD__DC_BLS_DCHVM_INIT command.
+ */
+struct dmub_cmd_dc_bls_dchvm_init_data {
+       /**
+        * The value to program to rIOMMU PCTRL register. x86 cannot access 
this SMN
+        * register, so the write is performed by DMCUB on the driver's behalf.
+        */
+       uint32_t riommu_pctrl_val;
+};
+
+/**
+ * Definition of a DMUB_CMD__DC_BLS_DCHVM_INIT command.
+ */
+struct dmub_rb_cmd_dc_bls_dchvm_init {
+       struct dmub_cmd_header header;
+       struct dmub_cmd_dc_bls_dchvm_init_data data;
+};
+
 /**
  * Data passed from FW to driver in a DMUB_CMD__IPS_QUERY_RESIDENCY_INFO 
command.
  */
-- 
2.43.0

Reply via email to