drm/amdgpu/display: change pipe policy for DCN 2.0
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Feb 2022 15:04:58 +0000 (10:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Feb 2022 22:20:47 +0000 (17:20 -0500)
Fixes hangs on driver load with multiple displays on
DCN 2.0 parts.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=215511
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1877
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1886
Fixes: ee2698cf79cc ("drm/amd/display: Changed pipe split policy to allow for multi-display pipe split")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

index 2bc93df023ad26d54ac9e211ff749a1e2a5a3eec..2a72517e2b28173eb1edf713291db469579afcd9 100644 (file)
@@ -1069,7 +1069,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,