]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add delay after h' watchdog timeout event
authorMichael Strauss <michael.strauss@amd.com>
Mon, 23 Sep 2019 12:47:47 +0000 (08:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2020 17:13:35 +0000 (12:13 -0500)
commit2bd34bf548ba58f9622a1aaee496de624bde7ec2
treef4e6cb8b5f8981c597810145df20cdfd5351b571
parentea215140fb74a4ffbaf78230b3ea2ee654db9981
drm/amd/display: Add delay after h' watchdog timeout event

[WHY]
Some monitors trigger HDCP2.x timeout after reinitializing (e.g. toggling HDR)
by taking longer than expected to return h' (h prime)
Previously the 200ms watchdog timer retry count would hit
MAX_NUM_OF_ATTEMPTS (4), causing fallback to HDCP1.x

[HOW]
Adding a 1s delay after an h' watchdog timeout provides enough time
for affected monitors to return h' in time without hitting MAX_NUM_OF_ATTEMPTS

Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_transition.c