Commit ee84c58b authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Simon Ser

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: default avatarDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
Signed-off-by: default avatarSimon Ser <contact@emersion.fr>
Link: https://patchwork.freedesktop.org/patch/msgid/20210326103216.7918-1-dafna.hirschfeld@collabora.com
parent 309f81e8
...@@ -61,9 +61,9 @@ ...@@ -61,9 +61,9 @@
* *
* This library also provides implementations for all the legacy driver * This library also provides implementations for all the legacy driver
* interfaces on top of the atomic interface. See drm_atomic_helper_set_config(), * interfaces on top of the atomic interface. See drm_atomic_helper_set_config(),
* drm_atomic_helper_disable_plane(), drm_atomic_helper_disable_plane() and the * drm_atomic_helper_disable_plane(), and the various functions to implement
* various functions to implement set_property callbacks. New drivers must not * set_property callbacks. New drivers must not implement these functions
* implement these functions themselves but must use the provided helpers. * themselves but must use the provided helpers.
* *
* The atomic helper uses the same function table structures as all other * The atomic helper uses the same function table structures as all other
* modesetting helpers. See the documentation for &struct drm_crtc_helper_funcs, * modesetting helpers. See the documentation for &struct drm_crtc_helper_funcs,
...@@ -592,11 +592,10 @@ mode_valid(struct drm_atomic_state *state) ...@@ -592,11 +592,10 @@ mode_valid(struct drm_atomic_state *state)
* *
* Drivers which set &drm_crtc_state.mode_changed (e.g. in their * Drivers which set &drm_crtc_state.mode_changed (e.g. in their
* &drm_plane_helper_funcs.atomic_check hooks if a plane update can't be done * &drm_plane_helper_funcs.atomic_check hooks if a plane update can't be done
* without a full modeset) _must_ call this function afterwards after that * without a full modeset) _must_ call this function after that change. It is
* change. It is permitted to call this function multiple times for the same * permitted to call this function multiple times for the same update, e.g.
* update, e.g. when the &drm_crtc_helper_funcs.atomic_check functions depend * when the &drm_crtc_helper_funcs.atomic_check functions depend upon the
* upon the adjusted dotclock for fifo space allocation and watermark * adjusted dotclock for fifo space allocation and watermark computation.
* computation.
* *
* RETURNS: * RETURNS:
* Zero for success or -errno * Zero for success or -errno
......
...@@ -74,7 +74,7 @@ enum drm_driver_feature { ...@@ -74,7 +74,7 @@ enum drm_driver_feature {
* @DRIVER_ATOMIC: * @DRIVER_ATOMIC:
* *
* Driver supports the full atomic modesetting userspace API. Drivers * Driver supports the full atomic modesetting userspace API. Drivers
* which only use atomic internally, but do not the support the full * which only use atomic internally, but do not support the full
* userspace API (e.g. not all properties converted to atomic, or * userspace API (e.g. not all properties converted to atomic, or
* multi-plane updates are not guaranteed to be tear-free) should not * multi-plane updates are not guaranteed to be tear-free) should not
* set this flag. * set this flag.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment