Patch "drm/amd/display: Fix HDCP failing to enable after suspend" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/amd/display: Fix HDCP failing to enable after suspend

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-amd-display-fix-hdcp-failing-to-enable-after-sus.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e98e1877962ac924efdd7e305d07ae32fe98b098
Author: Bhawanpreet Lakha <Bhawanpreet.Lakha@xxxxxxx>
Date:   Fri Feb 17 16:08:21 2023 -0500

    drm/amd/display: Fix HDCP failing to enable after suspend
    
    [ Upstream commit 728cefa53a36ba378ed4a7f31a0c08289687d824 ]
    
    [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 <Aurabindo.Pillai@xxxxxxx>
    Acked-by: Qingqing Zhuo <qingqing.zhuo@xxxxxxx>
    Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@xxxxxxx>
    Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
index a7fd98f57f94c..dc62375a8e2c4 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c
@@ -495,7 +495,7 @@ static void update_config(void *handle, struct cp_psp_stream_config *config)
 	link->dp.mst_enabled = config->mst_enabled;
 	link->dp.usb4_enabled = config->usb4_enabled;
 	display->adjust.disable = MOD_HDCP_DISPLAY_DISABLE_AUTHENTICATION;
-	link->adjust.auth_delay = 0;
+	link->adjust.auth_delay = 2;
 	link->adjust.hdcp1.disable = 0;
 	conn_state = aconnector->base.state;
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux