[PATCH] drm/atomic: fix kerneldoc for fake_commit field

Thomas Zimmermann tzimmermann at suse.de
Mon Aug 26 14:24:55 UTC 2024



Am 24.08.24 um 10:20 schrieb renjun wang:
> According to the context, the function description for fake_commit
> should be "prevent the atomic states from being freed too early"
>
> Signed-off-by: renjun wang <renjunw0 at foxmail.com>

Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>

> ---
>   include/drm/drm_atomic.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
> index 4d7f4c5f2001..31ca88deb10d 100644
> --- a/include/drm/drm_atomic.h
> +++ b/include/drm/drm_atomic.h
> @@ -460,7 +460,7 @@ struct drm_atomic_state {
>   	 *
>   	 * Used for signaling unbound planes/connectors.
>   	 * When a connector or plane is not bound to any CRTC, it's still important
> -	 * to preserve linearity to prevent the atomic states from being freed to early.
> +	 * to preserve linearity to prevent the atomic states from being freed too early.
>   	 *
>   	 * This commit (if set) is not bound to any CRTC, but will be completed when
>   	 * drm_atomic_helper_commit_hw_done() is called.

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)



More information about the dri-devel mailing list