Skip to content

Commit 6f0bf2d

Browse files
Zhongweialexdeucher
authored andcommitted
drm/amd/display: correct DML calc error of UrgentLatency
[Why] The input UrgentLatency in CalculateUrgentBurstFactor of prefect check is wrong. [How] Correct to the correct one to keep same as HW formula Reviewed-by: Charlene Liu <[email protected]> Acked-by: Stylon Wang <[email protected]> Signed-off-by: Zhongwei <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent c800d9f commit 6f0bf2d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4851,7 +4851,7 @@ void dml30_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
48514851
v->SwathHeightYThisState[k],
48524852
v->SwathHeightCThisState[k],
48534853
v->HTotal[k] / v->PixelClock[k],
4854-
v->UrgentLatency,
4854+
v->UrgLatency[i],
48554855
v->CursorBufferSize,
48564856
v->CursorWidth[k][0],
48574857
v->CursorBPP[k][0],

drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5082,7 +5082,7 @@ void dml31_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l
50825082
v->SwathHeightYThisState[k],
50835083
v->SwathHeightCThisState[k],
50845084
v->HTotal[k] / v->PixelClock[k],
5085-
v->UrgentLatency,
5085+
v->UrgLatency[i],
50865086
v->CursorBufferSize,
50875087
v->CursorWidth[k][0],
50885088
v->CursorBPP[k][0],

drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5179,7 +5179,7 @@ void dml314_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_
51795179
v->SwathHeightYThisState[k],
51805180
v->SwathHeightCThisState[k],
51815181
v->HTotal[k] / v->PixelClock[k],
5182-
v->UrgentLatency,
5182+
v->UrgLatency[i],
51835183
v->CursorBufferSize,
51845184
v->CursorWidth[k][0],
51855185
v->CursorBPP[k][0],

0 commit comments

Comments
 (0)