drm/amd/display: Set MPC_SPLIT_DYNAMIC for DCN10
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 9 Mar 2023 17:30:32 +0000 (10:30 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 05:00:08 +0000 (01:00 -0400)
Since DC version 3.2.226, DC started to use a new internal commit
sequence that better deals with multiple hardware constraints. One of
the improvements is a more reliable sequence for pipe split. Due to the
transition made in version 3.2.226, it should be more reliable to use
the pipe policy as MPC_SPLIT_DYNAMIC, and this commit makes this change.

Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c

index 2bb8e11..21ec1ba 100644 (file)
@@ -542,8 +542,8 @@ static const struct dc_debug_options debug_defaults_drv = {
                .disable_pplib_clock_request = false,
                .disable_pplib_wm_range = false,
                .pplib_wm_report_mode = WM_REPORT_DEFAULT,
-               .pipe_split_policy = MPC_SPLIT_AVOID,
-               .force_single_disp_pipe_split = false,
+               .pipe_split_policy = MPC_SPLIT_DYNAMIC,
+               .force_single_disp_pipe_split = true,
                .disable_dcc = DCC_ENABLE,
                .voltage_align_fclk = true,
                .disable_stereo_support = true,