clean up some inconsistent indentings
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2181
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
.../gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
b/drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
index 2829f179f982..f6ffcf1596bc 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c
@@ -1362,7 +1362,7 @@ static bool CalculatePrefetchSchedule(
// - ((NumberOfCursors > 0 || GPUVMEnable
|| DCCEnable) ?
- ((GPUVMEnable || myPipe->DCCEnable) ?
(*DestinationLinesToRequestVMInVBlank + 2 *
*DestinationLinesToRequestRowInVBlank) : 0.0); // TODO: Did someone else add
this??
#else
- LinesToRequestPrefetchPixelData =
*DestinationLinesForPrefetch - *DestinationLinesToRequestVMInVBlank - 2 *
*DestinationLinesToRequestRowInVBlank;
+ LinesToRequestPrefetchPixelData = *DestinationLinesForPrefetch
- *DestinationLinesToRequestVMInVBlank - 2 *
*DestinationLinesToRequestRowInVBlank;
#endif
#ifdef __DML_VBA_DEBUG__
--
2.20.1.7.g153144c