All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next 1/6] drm/amd/display: clean up some inconsistent indentings
@ 2022-09-15  1:57 ` Yang Li
  0 siblings, 0 replies; 20+ messages in thread
From: Yang Li @ 2022-09-15  1:57 UTC (permalink / raw)
  To: alexander.deucher
  Cc: harry.wentland, sunpeng.li, Rodrigo.Siqueira, christian.koenig,
	Xinhui.Pan, airlied, daniel, amd-gfx, dri-devel, linux-kernel,
	Yang Li, Abaci Robot

clean up some inconsistent indentings

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2177
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 .../gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
index 4e3356d12147..8dfe639b6508 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
+++ b/drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
@@ -1051,10 +1051,10 @@ static bool CalculatePrefetchSchedule(
 		bytes_pp = myPipe->BytePerPixelY + myPipe->BytePerPixelC;
 	/*rev 99*/
 	prefetch_bw_pr = dml_min(1, bytes_pp * myPipe->PixelClock / (double) myPipe->DPPPerPlane);
-    max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
+	max_Tsw = dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime;
 	prefetch_sw_bytes = PrefetchSourceLinesY * swath_width_luma_ub * myPipe->BytePerPixelY + PrefetchSourceLinesC * swath_width_chroma_ub * myPipe->BytePerPixelC;
 	prefetch_bw_oto = dml_max(bytes_pp * myPipe->PixelClock / myPipe->DPPPerPlane, prefetch_sw_bytes / (dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) * LineTime));
-    prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
+	prefetch_bw_oto = dml_max(prefetch_bw_pr, prefetch_sw_bytes / max_Tsw);
 
 	min_Lsw = dml_max(1, dml_max(PrefetchSourceLinesY, PrefetchSourceLinesC) / max_vratio_pre);
 	Lsw_oto = dml_ceil(4 * dml_max(prefetch_sw_bytes / prefetch_bw_oto / LineTime, min_Lsw), 1) / 4;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-09-16 17:38 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15  1:57 [PATCH -next 1/6] drm/amd/display: clean up some inconsistent indentings Yang Li
2022-09-15  1:57 ` Yang Li
2022-09-15  1:57 ` Yang Li
2022-09-15  1:57 ` [PATCH -next 2/6] " Yang Li
2022-09-15  1:57   ` Yang Li
2022-09-15  1:57   ` Yang Li
2022-09-15  1:57 ` [PATCH -next 3/6] " Yang Li
2022-09-15  1:57   ` Yang Li
2022-09-15  1:57   ` Yang Li
2022-09-15  1:58 ` [PATCH -next 4/6] " Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-15  1:58 ` [PATCH -next 5/6] " Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-15  1:58 ` [PATCH -next 6/6] " Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-15  1:58   ` Yang Li
2022-09-16 17:37 ` [PATCH -next 1/6] " Alex Deucher
2022-09-16 17:37   ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.