Commit 2a2acdd7 authored by Dillon Varone's avatar Dillon Varone Committed by Alex Deucher
Browse files

drm/amd/display: Bypass DET swath fill check for max clocks



[Description]
If validating for max voltage level (therefore max clocks) always pass over
the DET swath fill latency hiding check.

Reviewed-by: default avatarAlvin Lee <Alvin.Lee2@amd.com>
Acked-by: default avatarStylon Wang <stylon.wang@amd.com>
Signed-off-by: default avatarDillon Varone <Dillon.Varone@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e61aebe3
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1683,8 +1683,9 @@ static void mode_support_configuration(struct vba_vars_st *v,
				&& mode_lib->vba.PTEBufferSizeNotExceeded[i][j] == true
				&& mode_lib->vba.PTEBufferSizeNotExceeded[i][j] == true
				&& mode_lib->vba.DCCMetaBufferSizeNotExceeded[i][j] == true
				&& mode_lib->vba.DCCMetaBufferSizeNotExceeded[i][j] == true
				&& mode_lib->vba.NonsupportedDSCInputBPC == false
				&& mode_lib->vba.NonsupportedDSCInputBPC == false
				&& mode_lib->vba.NotEnoughDETSwathFillLatencyHidingPerState[i][j] == false
				&& !mode_lib->vba.ExceededMALLSize
				&& !mode_lib->vba.ExceededMALLSize
				&& (mode_lib->vba.NotEnoughDETSwathFillLatencyHidingPerState[i][j] == false
				|| i == v->soc.num_states - 1)
				&& ((mode_lib->vba.HostVMEnable == false
				&& ((mode_lib->vba.HostVMEnable == false
				&& !mode_lib->vba.ImmediateFlipRequiredFinal)
				&& !mode_lib->vba.ImmediateFlipRequiredFinal)
				|| mode_lib->vba.ImmediateFlipSupportedForState[i][j])
				|| mode_lib->vba.ImmediateFlipSupportedForState[i][j])