]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: no hdcp retry if bksv or ksv list is revoked
authorWenjing Liu <Wenjing.Liu@amd.com>
Thu, 17 Oct 2019 15:13:29 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:01:38 +0000 (16:01 -0500)
commit1499ea72c242a951b8a470d93c9486355dcd6149
tree49085df4115fd3b524da7e670ea8e67f1c1c5ae7
parentb283ab1e212688cd0bfd18f5ac01a68ff5616b53
drm/amd/display: no hdcp retry if bksv or ksv list is revoked

[why]
According to the specs when bksv or ksv list fails SRM check,
HDCP TX should abort hdcp immediately.
However with the current code HDCP will be reattampt upto 4 times.

[how]
Add the logic that stop HDCP retry if bksv or ksv list
is revoked.

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_transition.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_log.c
drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h