]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/amd/display: Change how we disable pipe split
authorEric Yang <Eric.Yang2@amd.com>
Wed, 5 Jul 2017 19:30:18 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:08:40 +0000 (18:08 -0400)
Before this change, pipe split was disabled by bumping up dpp clock
bounding box for DPM level 0 and 1, this allows validation to pass
without splitting at a lower DPM level. This change reverts this
and instead lowers display clock at DPM level 0, this forces
configurations that need pipe split at DPM level 0 to go to
DPM level 1, where they can be driven without split.

Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c

index 24f8c4496a61b3108e11634adcbdf598b3ca0491..3118c248409fa03dfc45d6a8277f1cbfb9b894eb 100644 (file)
@@ -822,8 +822,7 @@ bool dcn_validate_bandwidth(
        v->phyclk_per_state[0] = v->phyclkv_min0p65;
 
        if (dc->public.debug.disable_pipe_split) {
-               v->max_dppclk[1] = v->max_dppclk_vnom0p8;
-               v->max_dppclk[0] = v->max_dppclk_vnom0p8;
+               v->max_dispclk[0] = v->max_dppclk_vmin0p65;
        }
 
        if (v->voltage_override == dcn_bw_v_max0p9) {