diff mbox series

drm: unify formatting for color management documentation

Message ID 7dhjUKqlDC0IiRRON0VhWnkuoxcRDLG4EFKzyhcEA@cp7-web-043.plabs.ch (mailing list archive)
State New, archived
Headers show
Series drm: unify formatting for color management documentation | expand

Commit Message

Simon Ser Nov. 3, 2020, 10:31 a.m. UTC
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@emersion.fr>
Cc: Daniel Vetter <daniel@ffwll.ch>
---
 drivers/gpu/drm/drm_color_mgmt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Vetter Nov. 3, 2020, 12:48 p.m. UTC | #1
On Tue, Nov 3, 2020 at 11:31 AM Simon Ser <contact@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@emersion.fr>
> Cc: Daniel Vetter <daniel@ffwll.ch>

Acked-by: Daniel Vetter <daniel.vetter@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
>
>
diff mbox series

Patch

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.