Skip to content

Commit 2a2acdd

Browse files
Dillon Varonealexdeucher
authored andcommitted
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: Alvin Lee <[email protected]> Acked-by: Stylon Wang <[email protected]> Signed-off-by: Dillon Varone <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent e61aebe commit 2a2acdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1683,8 +1683,9 @@ static void mode_support_configuration(struct vba_vars_st *v,
16831683
&& mode_lib->vba.PTEBufferSizeNotExceeded[i][j] == true
16841684
&& mode_lib->vba.DCCMetaBufferSizeNotExceeded[i][j] == true
16851685
&& mode_lib->vba.NonsupportedDSCInputBPC == false
1686-
&& mode_lib->vba.NotEnoughDETSwathFillLatencyHidingPerState[i][j] == false
16871686
&& !mode_lib->vba.ExceededMALLSize
1687+
&& (mode_lib->vba.NotEnoughDETSwathFillLatencyHidingPerState[i][j] == false
1688+
|| i == v->soc.num_states - 1)
16881689
&& ((mode_lib->vba.HostVMEnable == false
16891690
&& !mode_lib->vba.ImmediateFlipRequiredFinal)
16901691
|| mode_lib->vba.ImmediateFlipSupportedForState[i][j])

0 commit comments

Comments
 (0)