]> git.itanic.dy.fi Git - linux-stable/commitdiff
Revert "Revert "drm/amdgpu/display: change pipe policy for DCN 2.0""
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2023 21:25:37 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Aug 2023 15:38:18 +0000 (11:38 -0400)
This reverts commit 27dd79c00aeab36cd7542c7a4481a32549038659.

It appears MPC_SPLIT_DYNAMIC still causes problems with multiple
displays on DCN2.0 hardware.  Switch back to MPC_SPLIT_AVOID_MULT_DISP.
This increases power usage with multiple displays, but avoids hangs.

Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2475
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

index 66b74bb5d936fc365bd84552ad17982a63889659..d587f807dfd7c459637a818cbf7f4d356f1b2173 100644 (file)
@@ -712,7 +712,7 @@ static const struct dc_debug_options debug_defaults_drv = {
                .timing_trace = false,
                .clock_trace = true,
                .disable_pplib_clock_request = true,
-               .pipe_split_policy = MPC_SPLIT_DYNAMIC,
+               .pipe_split_policy = MPC_SPLIT_AVOID_MULT_DISP,
                .force_single_disp_pipe_split = false,
                .disable_dcc = DCC_ENABLE,
                .vsr_support = true,