Skip to content

Commit 728cefa

Browse files
Bhawanpreet Lakhaalexdeucher
authored andcommitted
drm/amd/display: Fix HDCP failing to enable after suspend
[Why] On resume some displays are not ready for HDCP, so they will fail if we start the hdcp authentintication too soon. Add a delay so that the displays can be ready before we start. NOTE: Previoulsy this delay was set to 3 seconds but it was causing issues with compliance, 2 seconds should enough for compliance and the s3 resume case. [How] Change the Delay to 2 seconds. Reviewed-by: Aurabindo Pillai <[email protected]> Acked-by: Qingqing Zhuo <[email protected]> Signed-off-by: Bhawanpreet Lakha <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 9da050b commit 728cefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ static void update_config(void *handle, struct cp_psp_stream_config *config)
561561
link->dp.mst_enabled = config->mst_enabled;
562562
link->dp.usb4_enabled = config->usb4_enabled;
563563
display->adjust.disable = MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION;
564-
link->adjust.auth_delay = 0;
564+
link->adjust.auth_delay = 2;
565565
link->adjust.hdcp1.disable = 0;
566566
conn_state = aconnector->base.state;
567567

0 commit comments

Comments
 (0)