Skip to contentSkip to conversation

drm/connector: refer to CTA-861-G in the "content type" prop docs

PATCH In review Simon Ser 3 participants 4 messages Oct 4, 2021 – Oct 5, 2021

Subsystems (2)
lore
Share & tools
lore

Simon Ser

author
#0 lore raw

PATCH 1/1 drm/connector: refer to CTA-861-G in the "content type" prop docs

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

Cc Emmanuel Gil Peyrot <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Pekka Paalanen <[email protected]>
Cc Ville Syrjala <[email protected]>
Cc Jani Nikula <[email protected]>
---
 drivers/gpu/drm/drm_connector.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_connector.c +2 -0
index 3bc782b630b9..79d8163686cd 100644
@@ -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().
Signature · 1 line
2.33.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 18 lines · Simon Ser

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

Cc Emmanuel Gil Peyrot <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Pekka Paalanen <[email protected]>
Cc Ville Syrjala <[email protected]>
Cc Jani Nikula <[email protected]>
---
 drivers/gpu/drm/drm_connector.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_connector.c +0 -0
index 3bc782b630b9..79d8163686cd 100644

drivers/gpu/drm/drm_connector.c EXPORT_SYMBOL(drm_connector_attach_dp_subconnector_property); · line 1401

Quoted 5 lines
drivers/gpu/drm/drm_connector.c +2 -0
@@ -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.

Quoted 6 lines
drivers/gpu/drm/drm_connector.c +0 -0
  *	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().
Signature · 1 line
2.33.0
Signature · 2 lines
Ville Syrjälä
Intel
author
#2 lore raw
Quoted 2 lines · Ville Syrjälä

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.

Reviewed-by on v1 1/1
#3 lore raw
In reply to Simon Ser
Quoted 18 lines · On Mon, 04 Oct 2021 09:12:50 +0000 Simon Ser <[email protected]> wrote:

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

Cc Emmanuel Gil Peyrot <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Pekka Paalanen <[email protected]>
Cc Ville Syrjala <[email protected]>
Cc Jani Nikula <[email protected]>
---
 drivers/gpu/drm/drm_connector.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/drm_connector.c +0 -0
index 3bc782b630b9..79d8163686cd 100644

drivers/gpu/drm/drm_connector.c EXPORT_SYMBOL(drm_connector_attach_dp_subconnector_property); · line 1404

Quoted 8 lines
drivers/gpu/drm/drm_connector.c +2 -0
@@ -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().

Thanks!
pq