On 2019-11-07 10:56 a.m., Bhawanpreet Lakha wrote: > Just like with the 1.4 series of patches This only introduces the > ability to authenticate and encrypt the link. These patches by > themselves don't constitute a complete and compliant HDCP content > protection solution but are a requirement for such a solution. > > Summary of the changes > *Adds 2.2 code to the module > *Enabled HDCP 2.2 authentication/encryption > *Add type0/1 selection for 2.2 > *Add MST support (Only tested single daisy chain usecase) > *use drm_hdcp.h for macros/defines > *fix static analysis bug > > v2: > -use macros/defines from drm_hdcp.h > drm/amd/display: add and use defines from drm_hdcp.h > drm/amd/display: use drm defines for MAX CASCADE MASK > drm/amd/display: split rxstatus for hdmi and dp > -fix static analysis bug > drm/amd/display: Fix static analysis bug in validate_bksv > Changes are Reviewed-by: Harry Wentland <harry.wentland@xxxxxxx> Harry > > Bhawanpreet Lakha (14): > drm/amd/display: Add PSP block to verify HDCP2.2 steps > drm/amd/display: Add DDC handles for HDCP2.2 > drm/amd/display: Add execution and transition states for HDCP2.2 > drm/amd/display: Add logging for HDCP2.2 > drm/amd/display: Change ERROR to WARN for HDCP module > drm/amd/display: Enable HDCP 2.2 > drm/amd/display: Handle hdcp2.2 type0/1 in dm > drm/amd/display: Refactor HDCP to handle multiple displays per link > drm/amd/display: add force Type0/1 flag > drm/amd/display: Refactor HDCP encryption status update > drm/amd/display: add and use defines from drm_hdcp.h > drm/amd/display: use drm defines for MAX CASCADE MASK > drm/amd/display: split rxstatus for hdmi and dp > drm/amd/display: Fix static analysis bug in validate_bksv > > .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 26 +- > .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 64 +- > .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.h | 9 +- > .../gpu/drm/amd/display/modules/hdcp/Makefile | 3 +- > .../gpu/drm/amd/display/modules/hdcp/hdcp.c | 101 +- > .../gpu/drm/amd/display/modules/hdcp/hdcp.h | 197 +++- > .../display/modules/hdcp/hdcp1_execution.c | 40 +- > .../display/modules/hdcp/hdcp2_execution.c | 884 ++++++++++++++++++ > .../display/modules/hdcp/hdcp2_transition.c | 674 +++++++++++++ > .../drm/amd/display/modules/hdcp/hdcp_ddc.c | 326 +++++++ > .../drm/amd/display/modules/hdcp/hdcp_log.c | 118 +++ > .../drm/amd/display/modules/hdcp/hdcp_log.h | 98 +- > .../drm/amd/display/modules/hdcp/hdcp_psp.c | 511 +++++++++- > .../drm/amd/display/modules/hdcp/hdcp_psp.h | 194 ++++ > .../drm/amd/display/modules/inc/mod_hdcp.h | 15 +- > 15 files changed, 3137 insertions(+), 123 deletions(-) > create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c > create mode 100644 drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_transition.c > _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx