Patch "drm/amd/display: Enable otg synchronization logic for DCN321" has been added to the 6.6-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: Enable otg synchronization logic for DCN321

to the 6.6-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-enable-otg-synchronization-logic-for.patch
and it can be found in the queue-6.6 subdirectory.

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



commit 6b6b331862871739f86f274c8f134ed81c1a76ca
Author: Loan Chen <lo-an.chen@xxxxxxx>
Date:   Fri Aug 2 13:57:40 2024 +0800

    drm/amd/display: Enable otg synchronization logic for DCN321
    
    [ Upstream commit 0dbb81d44108a2a1004e5b485ef3fca5bc078424 ]
    
    [Why]
    Tiled display cannot synchronize properly after S3.
    The fix for commit 5f0c74915815 ("drm/amd/display: Fix for otg
    synchronization logic") is not enable in DCN321, which causes
    the otg is excluded from synchronization.
    
    [How]
    Enable otg synchronization logic in dcn321.
    
    Fixes: 5f0c74915815 ("drm/amd/display: Fix for otg synchronization logic")
    Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
    Cc: Alex Deucher <alexander.deucher@xxxxxxx>
    Reviewed-by: Alvin Lee <alvin.lee2@xxxxxxx>
    Signed-off-by: Loan Chen <lo-an.chen@xxxxxxx>
    Signed-off-by: Tom Chung <chiahsuan.chung@xxxxxxx>
    Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
    (cherry picked from commit d6ed53712f583423db61fbb802606759e023bf7b)
    Cc: stable@xxxxxxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
index 8d73cceb485bf..aa4c64eec7b3d 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
@@ -1756,6 +1756,9 @@ static bool dcn321_resource_construct(
 	dc->caps.color.mpc.ogam_rom_caps.hlg = 0;
 	dc->caps.color.mpc.ocsc = 1;
 
+	/* Use pipe context based otg sync logic */
+	dc->config.use_pipe_ctx_sync_logic = true;
+
 	dc->config.dc_mode_clk_limit_support = true;
 	/* read VBIOS LTTPR caps */
 	{




[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