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 |
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 --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.
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(-)