Skip to content

Commit 458c79a

Browse files
Angus Wangalexdeucher
authored andcommitted
drm/amd/display: Changed pipe split policy to allow for multi-display pipe split
[WHY] Current implementation of pipe split policy prevents pipe split with multiple displays connected, which caused the MCLK speed to be stuck at max [HOW] Changed the pipe split policies so that pipe split is allowed for multi-display configurations Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1522 Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1709 Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1655 Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1403 Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Aric Cyr <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Angus Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent c856f16 commit 458c79a

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
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
@@ -1069,7 +1069,7 @@ static const struct dc_debug_options debug_defaults_drv = {
10691069
.timing_trace = false,
10701070
.clock_trace = true,
10711071
.disable_pplib_clock_request = true,
1072-
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
1072+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
10731073
.force_single_disp_pipe_split = false,
10741074
.disable_dcc = DCC_ENABLE,
10751075
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn201/dcn201_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ static const struct dc_debug_options debug_defaults_drv = {
603603
.timing_trace = false,
604604
.clock_trace = true,
605605
.disable_pplib_clock_request = true,
606-
.pipe_split_policy = MPC_SPLIT_AVOID,
606+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
607607
.force_single_disp_pipe_split = false,
608608
.disable_dcc = DCC_ENABLE,
609609
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ static const struct dc_debug_options debug_defaults_drv = {
873873
.clock_trace = true,
874874
.disable_pplib_clock_request = true,
875875
.min_disp_clk_khz = 100000,
876-
.pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
876+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
877877
.force_single_disp_pipe_split = false,
878878
.disable_dcc = DCC_ENABLE,
879879
.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_AVOID_MULT_DISP,
843+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
844844
.force_single_disp_pipe_split = false,
845845
.disable_dcc = DCC_ENABLE,
846846
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ static const struct dc_debug_options debug_defaults_drv = {
686686
.disable_clock_gate = true,
687687
.disable_pplib_clock_request = true,
688688
.disable_pplib_wm_range = true,
689-
.pipe_split_policy = MPC_SPLIT_AVOID,
689+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
690690
.force_single_disp_pipe_split = false,
691691
.disable_dcc = DCC_ENABLE,
692692
.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_AVOID_MULT_DISP,
214+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
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_AVOID_MULT_DISP,
196+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
197197
.force_single_disp_pipe_split = false,
198198
.disable_dcc = DCC_ENABLE,
199199
.vsr_support = true,

drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ static const struct dc_debug_options debug_defaults_drv = {
10031003
.timing_trace = false,
10041004
.clock_trace = true,
10051005
.disable_pplib_clock_request = false,
1006-
.pipe_split_policy = MPC_SPLIT_AVOID,
1006+
.pipe_split_policy = MPC_SPLIT_DYNAMIC,
10071007
.force_single_disp_pipe_split = false,
10081008
.disable_dcc = DCC_ENABLE,
10091009
.vsr_support = true,

0 commit comments

Comments
 (0)