]> 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 19:46:40 +0000 (15:46 -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>
Cc: stable@vger.kernel.org # 6.4.x
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

index 4cc8de2627ce92bee5a3b7f98e81b9f2b6670d96..9f2e24398cd77357cf6459591cbf0e02948625ca 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,