All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs
@ 2021-10-04  9:12 Simon Ser
  2021-10-04  9:22 ` Ville Syrjälä
  2021-10-05  7:36 ` Pekka Paalanen
  0 siblings, 2 replies; 4+ messages in thread
From: Simon Ser @ 2021-10-04  9:12 UTC (permalink / raw)
  To: dri-devel
  Cc: Emmanuel Gil Peyrot, Daniel Vetter, Pekka Paalanen, Ville Syrjala,
	Jani Nikula

The KMS documentation doesn't say much about the meaning of each
content type. Add a reference to the specification defining them.

Signed-off-by: Simon Ser <contact@emersion.fr>
Cc: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
---
 drivers/gpu/drm/drm_connector.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 3bc782b630b9..79d8163686cd 100644
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -1397,6 +1397,8 @@ EXPORT_SYMBOL(drm_connector_attach_dp_subconnector_property);
  *	Game:
  *		Content type is game
  *
+ *	The meaning of each content type is defined in CTA-861-G table 15.
+ *
  *	Drivers can set up this property by calling
  *	drm_connector_attach_content_type_property(). Decoding to
  *	infoframe values is done through drm_hdmi_avi_infoframe_content_type().
-- 
2.33.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs
  2021-10-04  9:12 [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs Simon Ser
@ 2021-10-04  9:22 ` Ville Syrjälä
  2021-10-04  9:26   ` Simon Ser
  2021-10-05  7:36 ` Pekka Paalanen
  1 sibling, 1 reply; 4+ messages in thread
From: Ville Syrjälä @ 2021-10-04  9:22 UTC (permalink / raw)
  To: Simon Ser
  Cc: dri-devel, Emmanuel Gil Peyrot, Daniel Vetter, Pekka Paalanen,
	Jani Nikula

On Mon, Oct 04, 2021 at 09:12:50AM +0000, Simon Ser wrote:
> The KMS documentation doesn't say much about the meaning of each
> content type. Add a reference to the specification defining them.
> 
> Signed-off-by: Simon Ser <contact@emersion.fr>
> Cc: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Pekka Paalanen <ppaalanen@gmail.com>
> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> ---
>  drivers/gpu/drm/drm_connector.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 3bc782b630b9..79d8163686cd 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -1397,6 +1397,8 @@ EXPORT_SYMBOL(drm_connector_attach_dp_subconnector_property);
>   *	Game:
>   *		Content type is game
>   *
> + *	The meaning of each content type is defined in CTA-861-G table 15.
> + *

A bit annoying to have to refer to an external spec, but copy pasting
the whole thing here seems a bit questionable.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

>   *	Drivers can set up this property by calling
>   *	drm_connector_attach_content_type_property(). Decoding to
>   *	infoframe values is done through drm_hdmi_avi_infoframe_content_type().
> -- 
> 2.33.0
> 

-- 
Ville Syrjälä
Intel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs
  2021-10-04  9:22 ` Ville Syrjälä
@ 2021-10-04  9:26   ` Simon Ser
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Ser @ 2021-10-04  9:26 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: dri-devel, Emmanuel Gil Peyrot, Daniel Vetter, Pekka Paalanen,
	Jani Nikula

On Monday, October 4th, 2021 at 11:22, Ville Syrjälä <ville.syrjala@linux.intel.com> wrote:

> A bit annoying to have to refer to an external spec, but copy pasting
> the whole thing here seems a bit questionable.

Yeah, I'm mostly worried about copyright. We could also invent our own
descriptions (Is that even possible without infringing copyright? The
person inventing the new descriptions needs to read the original spec
to know what to write…), but I think referring to the original spec is
desirable regardless.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs
  2021-10-04  9:12 [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs Simon Ser
  2021-10-04  9:22 ` Ville Syrjälä
@ 2021-10-05  7:36 ` Pekka Paalanen
  1 sibling, 0 replies; 4+ messages in thread
From: Pekka Paalanen @ 2021-10-05  7:36 UTC (permalink / raw)
  To: Simon Ser
  Cc: dri-devel, Emmanuel Gil Peyrot, Daniel Vetter, Ville Syrjala,
	Jani Nikula

[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

On Mon, 04 Oct 2021 09:12:50 +0000
Simon Ser <contact@emersion.fr> wrote:

> The KMS documentation doesn't say much about the meaning of each
> content type. Add a reference to the specification defining them.
> 
> Signed-off-by: Simon Ser <contact@emersion.fr>
> Cc: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: Pekka Paalanen <ppaalanen@gmail.com>
> Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> ---
>  drivers/gpu/drm/drm_connector.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 3bc782b630b9..79d8163686cd 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -1397,6 +1397,8 @@ EXPORT_SYMBOL(drm_connector_attach_dp_subconnector_property);
>   *	Game:
>   *		Content type is game
>   *
> + *	The meaning of each content type is defined in CTA-861-G table 15.
> + *
>   *	Drivers can set up this property by calling
>   *	drm_connector_attach_content_type_property(). Decoding to
>   *	infoframe values is done through drm_hdmi_avi_infoframe_content_type().

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>


Thanks!
pq

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-05  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-04  9:12 [PATCH] drm/connector: refer to CTA-861-G in the "content type" prop docs Simon Ser
2021-10-04  9:22 ` Ville Syrjälä
2021-10-04  9:26   ` Simon Ser
2021-10-05  7:36 ` Pekka Paalanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.