Skip to content

Commit ee84c58

Browse files
Dafna Hirschfeldemersion
authored andcommitted
drm: Fix 3 typos in the inline doc
Fix the following typos: 1. When mentioning a list of functions, the function drm_atomic_helper_disable_plane is mentioned twice. 2. drop the word 'afterwards': s/afterwards after that/after that/' 3. drop extra 'the': s/but do not the support the full/but do not support the full/ Signed-off-by: Dafna Hirschfeld <[email protected]> Reviewed-by: Simon Ser <[email protected]> Signed-off-by: Simon Ser <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 309f81e commit ee84c58

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

drivers/gpu/drm/drm_atomic_helper.c

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
*
6262
* This library also provides implementations for all the legacy driver
6363
* interfaces on top of the atomic interface. See drm_atomic_helper_set_config(),
64-
* drm_atomic_helper_disable_plane(), drm_atomic_helper_disable_plane() and the
65-
* various functions to implement set_property callbacks. New drivers must not
66-
* implement these functions themselves but must use the provided helpers.
64+
* drm_atomic_helper_disable_plane(), and the various functions to implement
65+
* set_property callbacks. New drivers must not implement these functions
66+
* themselves but must use the provided helpers.
6767
*
6868
* The atomic helper uses the same function table structures as all other
6969
* modesetting helpers. See the documentation for &struct drm_crtc_helper_funcs,
@@ -592,11 +592,10 @@ mode_valid(struct drm_atomic_state *state)
592592
*
593593
* Drivers which set &drm_crtc_state.mode_changed (e.g. in their
594594
* &drm_plane_helper_funcs.atomic_check hooks if a plane update can't be done
595-
* without a full modeset) _must_ call this function afterwards after that
596-
* change. It is permitted to call this function multiple times for the same
597-
* update, e.g. when the &drm_crtc_helper_funcs.atomic_check functions depend
598-
* upon the adjusted dotclock for fifo space allocation and watermark
599-
* computation.
595+
* without a full modeset) _must_ call this function after that change. It is
596+
* permitted to call this function multiple times for the same update, e.g.
597+
* when the &drm_crtc_helper_funcs.atomic_check functions depend upon the
598+
* adjusted dotclock for fifo space allocation and watermark computation.
600599
*
601600
* RETURNS:
602601
* Zero for success or -errno

include/drm/drm_drv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ enum drm_driver_feature {
7474
* @DRIVER_ATOMIC:
7575
*
7676
* Driver supports the full atomic modesetting userspace API. Drivers
77-
* which only use atomic internally, but do not the support the full
77+
* which only use atomic internally, but do not support the full
7878
* userspace API (e.g. not all properties converted to atomic, or
7979
* multi-plane updates are not guaranteed to be tear-free) should not
8080
* set this flag.

0 commit comments

Comments
 (0)