OSDN Git Service

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)
commit3744ee2c2901656455bbd2af658ab9b673ca5d1d
tree49085df4115fd3b524da7e670ea8e67f1c1c5ae7
parentc17f7220f5a646e5808632b9857387c1b7261f93
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