Skip to content

Commit 136e55e

Browse files
AMD-aricalexdeucher
authored andcommitted
drm/amd/display: Change default policy for MPO with multidisplay
[Why] Rearranging pipes with multiple displays and multiple planes cannot be done atomically and requires a much improved sequence to deal with it. [How] To workaround such issues, prefer avoid pipe-split policy for multidisplay scenarios. Signed-off-by: Aric Cyr <[email protected]> Reviewed-by: Krunoslav Kovac <[email protected]> Acked-by: Stylon Wang <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 3f8518b commit 136e55e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ static const struct dc_debug_options debug_defaults_drv = {
10651065
.timing_trace = false,
10661066
.clock_trace = true,
10671067
.disable_pplib_clock_request = true,
1068-
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
1068+
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
10691069
.force_single_disp_pipe_split = false,
10701070
.disable_dcc = DCC_ENABLE,
10711071
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ static const struct dc_debug_options debug_defaults_drv = {
840840
.timing_trace = false,
841841
.clock_trace = true,
842842
.disable_pplib_clock_request = true,
843-
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
843+
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
844844
.force_single_disp_pipe_split = false,
845845
.disable_dcc = DCC_ENABLE,
846846
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ static const struct dc_debug_options debug_defaults_drv = {
211211
.timing_trace = false,
212212
.clock_trace = true,
213213
.disable_pplib_clock_request = true,
214-
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
214+
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
215215
.force_single_disp_pipe_split = false,
216216
.disable_dcc = DCC_ENABLE,
217217
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static const struct dc_debug_options debug_defaults_drv = {
193193
.timing_trace = false,
194194
.clock_trace = true,
195195
.disable_pplib_clock_request = true,
196-
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
196+
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
197197
.force_single_disp_pipe_split = false,
198198
.disable_dcc = DCC_ENABLE,
199199
.vsr_support = true,

0 commit comments

Comments
 (0)