drm/connector: Add doc for content_protection tri-state
Subsystems (2)
PATCH 1/1 drm/connector: Add doc for content_protection tri-state
It was there all along in the patch description when this change was introduced but it would be helpful to have the same documented in the code.
Signed-off-by Harry Wentland <[email protected]>
Cc Sean Paul <[email protected]>
Cc Sean Paul <[email protected]>
Cc Bhawanpreet Lakha <[email protected]>
--- drivers/gpu/drm/drm_connector.c | 9 +++++++++ 1 file changed, 9 insertions(+)
drivers/gpu/drm/drm_connector.c +9 -0
@@ -1519,6 +1519,15 @@ EXPORT_SYMBOL(drm_connector_attach_scaling_mode_property);* Content Protection is intentionally vague to allow for different underlying * technologies, however it is most implemented by HDCP. * +* The property is a tri-state with the following values: +* - OFF: Self explanatory, no content protection +* - DESIRED: Userspace requests that the driver enable protection +* - ENABLED: Once the driver has authenticated the link, it sets this value +* +* The driver is responsible for downgrading ENABLED to DESIRED if the link becomes +* unprotected. The driver should also maintain the desiredness of protection +* across hotplug/dpms/suspend. +* * The content protection will be set to &drm_connector_state.content_protection * * Returns:
Signature · 6 lines
2.21.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 9 lines · Harry Wentland
It was there all along in the patch description when this change was introduced but it would be helpful to have the same documented in the code.
Signed-off-by Harry Wentland <[email protected]>Cc Sean Paul <[email protected]>Cc Sean Paul <[email protected]>Cc Bhawanpreet Lakha <[email protected]>
Reviewed-by Sean Paul <[email protected]>
Quoted 25 lines
--- drivers/gpu/drm/drm_connector.c | 9 +++++++++ 1 file changed, 9 insertions(+)drivers/gpu/drm/drm_connector.c +9
-1@@ -1519,6 +1519,15 @@ EXPORT_SYMBOL(drm_connector_attach_scaling_mode_property);* Content Protection is intentionally vague to allow for different underlying * technologies, however it is most implemented by HDCP. * +* The property is a tri-state with the following values: +* - OFF: Self explanatory, no content protection +* - DESIRED: Userspace requests that the driver enable protection +* - ENABLED: Once the driver has authenticated the link, it sets this value +* +* The driver is responsible for downgrading ENABLED to DESIRED if the link becomes +* unprotected. The driver should also maintain the desiredness of protection +* across hotplug/dpms/suspend. +* * The content protection will be set to &drm_connector_state.content_protection * * Returns: --
Quoted 2 lines
2.21.0
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel