Fix spelling issues that are reported by codespell:

dmub_cmd.h:332: alighment ==> alignment
dmub_cmd.h:3684: optimzations ==> optimizations
dmub_cmd.h:4491: isntance ==> instance
dmub_cmd.h:4514: optimzations ==> optimizations
dmub_cmd.h:4604: isntance ==> instance
dmub_cmd.h:4643: isntance ==> instance
dmub_cmd.h:4679: isntance ==> instance
dmub_cmd.h:4699: isntance ==> instance
dmub_cmd.h:4719: isntance ==> instance
dmub_cmd.h:4735: isntance ==> instance
dmub_cmd.h:4749: isntance ==> instance
dmub_cmd.h:4795: isntance ==> instance
dmub_cmd.h:4903: isntance ==> instance
dmub_cmd.h:4936: isntance ==> instance
dmub_cmd.h:5066: re-use ==> reuse
dmub_cmd.h:6552: isntance ==> instance
dmub_cmd.h:6630: isntance ==> instance
dmub_cmd.h:6639: optimzations ==> optimizations
dmub_cmd.h:6720: isntance ==> instance
dmub_cmd.h:6742: isntance ==> instance

and fix a few that I found:

dicated         ==> dictated (7x)
afftet          ==> after (is this correct?)

Signed-off-by: Randy Dunlap <[email protected]>
---
Questions:
(a) Is one of "negative" or "pos" incorrect?

        /**
         * Dark negative gain.
         */
        uint8_t dark_pos_gain[NUM_AMBI_LEVEL][NUM_AGGR_LEVEL];   // 184B

(b) Is one of "min" or "Maximum" incorrect?

        uint16_t min_frame_rate;        /**< Maximum frame rate */

(c) Is one of "max" or "Minimum" incorrect?

        uint16_t max_frame_rate;        /**< Minimum frame rate */

Cc: Harry Wentland <[email protected]>
Cc: Leo Li <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Christian König <[email protected]>
Cc: [email protected]
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>


 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h |   56 +++++++-------
 1 file changed, 28 insertions(+), 28 deletions(-)

--- linux-next-20260218.orig/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ linux-next-20260218/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -329,7 +329,7 @@ union dmub_addr {
 
 /* Flattened structure containing SOC BB parameters stored in the VBIOS
  * It is not practical to store the entire bounding box in VBIOS since the 
bounding box struct can gain new parameters.
- * This also prevents alighment issues when new parameters are added to the 
SoC BB.
+ * This also prevents alignment issues when new parameters are added to the 
SoC BB.
  * The following parameters should be added since these values can't be 
obtained elsewhere:
  * -dml2_soc_power_management_parameters
  * -dml2_soc_vmin_clock_limits
@@ -3484,7 +3484,7 @@ enum dmub_cmd_psr_type {
 
        /**
         * Set PSR level.
-        * PSR level is a 16-bit value dicated by driver that
+        * PSR level is a 16-bit value dictated by driver that
         * will enable/disable different functionality.
         */
        DMUB_CMD__PSR_SET_LEVEL                 = 4,
@@ -3641,7 +3641,7 @@ struct dmub_cmd_psr_copy_settings_data {
         */
        union dmub_psr_debug_flags debug;
        /**
-        * 16-bit value dicated by driver that will enable/disable different 
functionality.
+        * 16-bit value dictated by driver that will enable/disable different 
functionality.
         */
        uint16_t psr_level;
        /**
@@ -3681,7 +3681,7 @@ struct dmub_cmd_psr_copy_settings_data {
         */
        uint8_t aux_inst;
        /**
-        * Determines if SMU optimzations are enabled/disabled.
+        * Determines if SMU optimizations are enabled/disabled.
         */
        uint8_t smu_optimizations_en;
        /**
@@ -3798,7 +3798,7 @@ struct dmub_rb_cmd_psr_copy_settings {
  */
 struct dmub_cmd_psr_set_level_data {
        /**
-        * 16-bit value dicated by driver that will enable/disable different 
functionality.
+        * 16-bit value dictated by driver that will enable/disable different 
functionality.
         */
        uint16_t psr_level;
        /**
@@ -4176,7 +4176,7 @@ struct dmub_rb_cmd_update_cursor_info {
  */
 struct dmub_cmd_psr_set_vtotal_data {
        /**
-        * 16-bit value dicated by driver that indicates the vtotal in PSR 
active requirement when screen idle..
+        * 16-bit value dictated by driver that indicates the vtotal in PSR 
active requirement when screen idle..
         */
        uint16_t psr_vtotal_idle;
        /**
@@ -4190,7 +4190,7 @@ struct dmub_cmd_psr_set_vtotal_data {
         */
        uint8_t panel_inst;
        /*
-        * 16-bit value dicated by driver that indicates the vtotal in PSR 
active requirement when doing SU/FFU.
+        * 16-bit value dictated by driver that indicates the vtotal in PSR 
active requirement when doing SU/FFU.
         */
        uint16_t psr_vtotal_su;
        /**
@@ -4488,7 +4488,7 @@ struct dmub_cmd_replay_copy_settings_dat
        uint8_t aux_inst;
        /**
         * Panel Instance.
-        * Panel isntance to identify which psr_state to use
+        * Panel instance to identify which psr_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4511,7 +4511,7 @@ struct dmub_cmd_replay_copy_settings_dat
         */
        uint8_t dpphy_inst;
        /**
-        * Determines if SMU optimzations are enabled/disabled.
+        * Determines if SMU optimizations are enabled/disabled.
         */
        uint8_t smu_optimizations_en;
        /**
@@ -4601,7 +4601,7 @@ struct dmub_rb_cmd_smart_power_oled_enab
        uint8_t enable;
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4640,7 +4640,7 @@ struct dmub_rb_cmd_replay_enable_data {
        uint8_t enable;
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4676,7 +4676,7 @@ struct dmub_rb_cmd_replay_enable {
 struct dmub_cmd_replay_set_power_opt_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4696,7 +4696,7 @@ struct dmub_cmd_replay_set_power_opt_dat
 struct dmub_cmd_replay_set_timing_sync_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4716,7 +4716,7 @@ struct dmub_cmd_replay_set_timing_sync_d
 struct dmub_cmd_replay_set_pseudo_vtotal {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4732,7 +4732,7 @@ struct dmub_cmd_replay_set_pseudo_vtotal
 struct dmub_cmd_replay_disabled_adaptive_sync_sdp_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4746,7 +4746,7 @@ struct dmub_cmd_replay_disabled_adaptive
 struct dmub_cmd_replay_set_general_cmd_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4783,7 +4783,7 @@ struct dmub_rb_cmd_replay_set_power_opt
  */
 struct dmub_cmd_replay_set_coasting_vtotal_data {
        /**
-        * 16-bit value dicated by driver that indicates the coasting vtotal.
+        * 16-bit value dictated by driver that indicates the coasting vtotal.
         */
        uint16_t coasting_vtotal;
        /**
@@ -4792,12 +4792,12 @@ struct dmub_cmd_replay_set_coasting_vtot
        uint8_t cmd_version;
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
        /**
-        * 16-bit value dicated by driver that indicates the coasting vtotal 
high byte part.
+        * 16-bit value dictated by driver that indicates the coasting vtotal 
high byte part.
         */
        uint16_t coasting_vtotal_high;
        /**
@@ -4900,7 +4900,7 @@ struct dmub_rb_cmd_replay_set_general_cm
 struct dmub_cmd_replay_frameupdate_timer_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -4933,7 +4933,7 @@ struct dmub_rb_cmd_replay_set_frameupdat
 union dmub_replay_cmd_set {
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -5063,7 +5063,7 @@ struct dmub_hw_lock_inst_flags {
        uint8_t opp_inst;
        /**
         * OTG HW instance for global update lock.
-        * TODO: Remove, and re-use otg_inst.
+        * TODO: Remove, and reuse otg_inst.
         */
        uint8_t dig_inst;
        /**
@@ -6549,7 +6549,7 @@ struct dmub_cmd_pr_enable_data {
        uint8_t enable;
        /**
         * Panel Instance.
-        * Panel isntance to identify which replay_state to use
+        * Panel instance to identify which replay_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -6627,7 +6627,7 @@ struct dmub_cmd_pr_copy_settings_data {
        uint8_t aux_inst;
        /**
         * Panel Instance.
-        * Panel isntance to identify which psr_state to use
+        * Panel instance to identify which psr_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -6636,7 +6636,7 @@ struct dmub_cmd_pr_copy_settings_data {
         */
        uint8_t dpphy_inst;
        /**
-        * Determines if SMU optimzations are enabled/disabled.
+        * Determines if SMU optimizations are enabled/disabled.
         */
        uint8_t smu_optimizations_en;
        /**
@@ -6644,7 +6644,7 @@ struct dmub_cmd_pr_copy_settings_data {
         */
        uint32_t line_time_in_ns;
        /*
-        * Use FSFT afftet pixel clk
+        * Use FSFT after pixel clk
         */
        uint32_t pix_clk_100hz;
        /*
@@ -6717,7 +6717,7 @@ union dmub_pr_runtime_flags {
 struct dmub_cmd_pr_update_state_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which psr_state to use
+        * Panel instance to identify which psr_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;
@@ -6739,7 +6739,7 @@ struct dmub_cmd_pr_update_state_data {
 struct dmub_cmd_pr_general_cmd_data {
        /**
         * Panel Instance.
-        * Panel isntance to identify which psr_state to use
+        * Panel instance to identify which psr_state to use
         * Currently the support is only for 0 or 1
         */
        uint8_t panel_inst;

Reply via email to