[PATCH] drm: unify formatting for color management documentation

Daniel Vetter daniel at ffwll.ch
Tue Nov 3 12:48:14 UTC 2020


On Tue, Nov 3, 2020 at 11:31 AM Simon Ser <contact at emersion.fr> wrote:
>
> Other properties are documented with a colon character after the
> property name. Consistently using a colon character allows the docs to
> be machine-readable.
>
> Signed-off-by: Simon Ser <contact at emersion.fr>
> Cc: Daniel Vetter <daniel at ffwll.ch>

Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
>  drivers/gpu/drm/drm_color_mgmt.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_color_mgmt.c b/drivers/gpu/drm/drm_color_mgmt.c
> index 138ff34b31db..3bcabc2f6e0e 100644
> --- a/drivers/gpu/drm/drm_color_mgmt.c
> +++ b/drivers/gpu/drm/drm_color_mgmt.c
> @@ -97,12 +97,12 @@
>   * &drm_plane specific COLOR_ENCODING and COLOR_RANGE properties. They
>   * are set up by calling drm_plane_create_color_properties().
>   *
> - * "COLOR_ENCODING"
> + * "COLOR_ENCODING":
>   *     Optional plane enum property to support different non RGB
>   *     color encodings. The driver can provide a subset of standard
>   *     enum values supported by the DRM plane.
>   *
> - * "COLOR_RANGE"
> + * "COLOR_RANGE":
>   *     Optional plane enum property to support different non RGB
>   *     color parameter ranges. The driver can provide a subset of
>   *     standard enum values supported by the DRM plane.
> --
> 2.29.2
>
>


-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list