]> asedeno.scripts.mit.edu Git - linux.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)
commitdaa9692db988afad0c124acf77a7cc08cccd844b
treef4e6cb8b5f8981c597810145df20cdfd5351b571
parent454425e8f919d9373b7db431552c0860c156e2cd
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