1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/modules/hdcp
Bhawanpreet Lakha 53e108aa99 drm/amd/display: Handle hdcp2.2 type0/1 in dm
[Why]
HDCP 2.2 uses type0 and type1 content type. This is passed to the receiver
to stream the proper content.

For example, in a MST case if the main
device is HDCP2.2 capable but the secondary device is only 1.4 capabale
we can use Type0

Type0 content: use HDCP 1.4 or HDCP2.2 type0
Type1 content: Only use HDCP 2.2 type1

[How]
We use the "hdcp content type" property in drm. We use the
disable_type1 flag in hdcp module to select the type based on the
properties.

For updating the property we use the same logic as 1.4, but now we
consider content_type as well and update the property if the
requirements are met

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-19 10:12:53 -05:00
..
hdcp.c drm/amd/display: Handle hdcp2.2 type0/1 in dm 2019-11-19 10:12:53 -05:00
hdcp.h drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp1_execution.c drm/amd/display: fix spelling mistake AUTHENICATED -> AUTHENTICATED 2019-10-03 13:51:19 -05:00
hdcp1_transition.c drm/amd/display: fix spelling mistake AUTHENICATED -> AUTHENTICATED 2019-10-03 13:51:19 -05:00
hdcp2_execution.c drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp2_transition.c drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp_ddc.c drm/amd/display: Add DDC handles for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp_log.c drm/amd/display: Add logging for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp_log.h drm/amd/display: Change ERROR to WARN for HDCP module 2019-11-19 10:12:53 -05:00
hdcp_psp.c drm/amd/display: Enable HDCP 2.2 2019-11-19 10:12:53 -05:00
hdcp_psp.h drm/amd/display: Add PSP block to verify HDCP2.2 steps 2019-11-19 10:12:53 -05:00
Makefile drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00