summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorReza Amini <reza.amini@amd.com>2023-07-10 13:59:22 -0400
committerAlex Deucher <alexander.deucher@amd.com>2023-07-25 13:36:26 -0400
commit519e3637875acc1c60f2e68ea761af95ce9ec61d (patch)
treef97928927436a1dd831b6a5a7fa47b9865643d4b /drivers/gpu/drm/amd/display
parent37c3fc66201376c2cb066bde13b67bb7c181ec2c (diff)
drm/amd/display: Correct grammar mistakes
[Why] There are grammer mistakes in comments [How] Correct grammar mistakes Reviewed-by: Anthony Koo <anthony.koo@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Reza Amini <reza.amini@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
-rw-r--r--drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h20
1 files changed, 11 insertions, 9 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 15fea2bcb34a..a81c8f7215bb 100644
--- a/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
+++ b/drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
@@ -149,39 +149,40 @@
union abm_flags {
struct {
/**
- * @abm_enabled: indicates if abm is enabled.
+ * @abm_enabled: Indicates if ABM is enabled.
*/
unsigned int abm_enabled : 1;
/**
- * @disable_abm_requested: indicates if driver has requested abm to be disabled.
+ * @disable_abm_requested: Indicates if driver has requested ABM to be disabled.
*/
unsigned int disable_abm_requested : 1;
/**
- * @disable_abm_immediately: indicates if driver has requested abm to be disabled immediately.
+ * @disable_abm_immediately: Indicates if driver has requested ABM to be disabled
+ * immediately.
*/
unsigned int disable_abm_immediately : 1;
/**
- * @disable_abm_immediate_keep_gain: indicates if driver has requested abm
+ * @disable_abm_immediate_keep_gain: Indicates if driver has requested ABM
* to be disabled immediately and keep gain.
*/
unsigned int disable_abm_immediate_keep_gain : 1;
/**
- * @fractional_pwm: indicates if fractional duty cycle for backlight pwm is enabled.
+ * @fractional_pwm: Indicates if fractional duty cycle for backlight PWM is enabled.
*/
unsigned int fractional_pwm : 1;
/**
- * @abm_gradual_bl_change: indicates if algorithm has completed gradual adjustment
+ * @abm_gradual_bl_change: Indicates if algorithm has completed gradual adjustment
* of user backlight level.
*/
unsigned int abm_gradual_bl_change : 1;
} bitfields;
- unsigned int u32all;
+ unsigned int u32All;
};
struct abm_save_restore {
@@ -192,7 +193,7 @@ struct abm_save_restore {
/**
* @pause: true: pause ABM and get state
- * false: un-pause ABM after setting state
+ * false: unpause ABM after setting state
*/
uint32_t pause;
@@ -2764,7 +2765,7 @@ enum dmub_cmd_abm_type {
DMUB_CMD__ABM_PAUSE = 6,
/**
- * * Save and Restore ABM state. On save we save parameters, and
+ * Save and Restore ABM state. On save we save parameters, and
* on restore we update state with passed in data.
*/
DMUB_CMD__ABM_SAVE_RESTORE = 7,
@@ -3152,6 +3153,7 @@ struct dmub_cmd_abm_pause_data {
uint8_t pad[1];
};
+
/**
* Definition of a DMUB_CMD__ABM_PAUSE command.
*/