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

renjun wang posted 1 patch 1 year, 3 months ago
include/drm/drm_atomic.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drm/atomic: fix kerneldoc for fake_commit field
Posted by renjun wang 1 year, 3 months ago
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@foxmail.com>
---
 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.
-- 
2.39.2
Re: [PATCH] drm/atomic: fix kerneldoc for fake_commit field
Posted by Thomas Zimmermann 1 year, 3 months ago

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@foxmail.com>

Reviewed-by: Thomas Zimmermann <tzimmermann@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)