Commit 09cc5609 authored by Sean Paul's avatar Sean Paul

drm: Tweak drm_encoder_helper_funcs.enable kerneldoc

I copied the kerneldoc for encoder_funcs.atomic_enable from encoder_funcs.enable
in a recent patch [1]. Sam rightly pointed out in the review that "for symmetry
with" text is awkward [2]. So here's a patch to fix up the source of the awkward
language.

[1] https://patchwork.freedesktop.org/patch/msgid/20190611160844.257498-2-sean@poorly.run
[2] https://patchwork.freedesktop.org/patch/msgid/20190611185352.GA16305@ravnborg.orgSuggested-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190612150038.194843-1-sean@poorly.run
parent 5740671e
...@@ -719,11 +719,11 @@ struct drm_encoder_helper_funcs { ...@@ -719,11 +719,11 @@ struct drm_encoder_helper_funcs {
* hooks and call them from CRTC's callback by looping over all encoders * hooks and call them from CRTC's callback by looping over all encoders
* connected to it using for_each_encoder_on_crtc(). * connected to it using for_each_encoder_on_crtc().
* *
* This hook is used only by atomic helpers, for symmetry with @disable. * This hook is only used by atomic helpers, it is the opposite of
* Atomic drivers don't need to implement it if there's no need to * @disable. Atomic drivers don't need to implement it if there's no
* enable anything at the encoder level. To ensure that runtime PM handling * need to enable anything at the encoder level. To ensure that
* (using either DPMS or the new "ACTIVE" property) works * runtime PM handling (using either DPMS or the new "ACTIVE" property)
* @enable must be the inverse of @disable for atomic drivers. * works @enable must be the inverse of @disable for atomic drivers.
*/ */
void (*enable)(struct drm_encoder *encoder); void (*enable)(struct drm_encoder *encoder);
......
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