]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Enable timing sync on DCN32
authorAlvin Lee <Alvin.Lee2@amd.com>
Thu, 20 Oct 2022 15:46:51 +0000 (11:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Nov 2022 08:27:20 +0000 (09:27 +0100)
[ Upstream commit c3d3f35b725bf9c93bec6d3c056f6bb7cfd27403 ]

Missed enabling timing sync on DCN32 because DCN32 has a different DML
param.

Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c

index d34e0f1314d9141c4b26fe36f7f1b7d7850a6159..bc4f48ea8d4cc20305046abcd73cfbda78ab4701 100644 (file)
@@ -1228,6 +1228,7 @@ int dcn20_populate_dml_pipes_from_context(
                pipes[pipe_cnt].pipe.src.dcc = false;
                pipes[pipe_cnt].pipe.src.dcc_rate = 1;
                pipes[pipe_cnt].pipe.dest.synchronized_vblank_all_planes = synchronized_vblank;
+               pipes[pipe_cnt].pipe.dest.synchronize_timings = synchronized_vblank;
                pipes[pipe_cnt].pipe.dest.hblank_start = timing->h_total - timing->h_front_porch;
                pipes[pipe_cnt].pipe.dest.hblank_end = pipes[pipe_cnt].pipe.dest.hblank_start
                                - timing->h_addressable