[PATCH] Revert "Revert "drm/amdgpu/display: change pipe policy for DCN 2.0""

Harry Wentland harry.wentland at amd.com
Wed Aug 16 15:25:33 UTC 2023


On 2023-08-15 17:29, Alex Deucher wrote:
> 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 at amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> index dfecb9602f49..000fe96203c4 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
> @@ -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,



More information about the amd-gfx mailing list