drm/amd/display: Add execution and transition states for HDCP2.2
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Wed, 18 Sep 2019 15:18:15 +0000 (11:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:53 +0000 (10:12 -0500)
commit51466b3fd2725bfb0de629f71c0854ff276d50ae
tree3873516c2a7fb9aeb47fe7dea9247298111e9c6d
parenteff682f83c9c2030761e7536c5d97e1b20f71c15
drm/amd/display: Add execution and transition states for HDCP2.2

The module works like a state machine

                                    +-------------+
                            ------> | Execution.c | ------
                            |       +-------------+       |
                            |                             V
    +----+              +--------+                 +--------------+
    | DM |    ----->    | Hdcp.c |  <------------  | Transition.c |
    +----+    <-----    +--------+                 +--------------+

This patch adds the execution and transition files for 2.2

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>
drivers/gpu/drm/amd/display/modules/hdcp/Makefile
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_transition.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h