drm/amd/display: update HDCP DTM immediately after hardware programming
authorWenjing Liu <Wenjing.Liu@amd.com>
Thu, 19 Sep 2019 20:06:44 +0000 (16:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:01:46 +0000 (16:01 -0500)
commit9124ee78e35df9e1487cec05a8bbc400a3dd7bba
treee16320480a8f9e4b66b564eeacbcf8c356892060
parent3744ee2c2901656455bbd2af658ab9b673ca5d1d
drm/amd/display: update HDCP DTM immediately after hardware programming

[why]
HDCP DTM needs to be aware of the upto date display topology
information in order to validate hardware consistency.

[how]
update HDCP DTM on update_stream_config call.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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/hdcp1_execution.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_transition.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_transition.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c