mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 01/20] drm/amd/display: Clean up some inconsistent indenting
@ 2022-07-26  7:25 Jiapeng Chong
  2022-07-26  7:25 ` [PATCH 02/20] " Jiapeng Chong
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Jiapeng Chong @ 2022-07-26  7:25 UTC (permalink / raw)
  To: alexander.deucher
  Cc: christian.koenig, Xinhui.Pan, airlied, daniel, amd-gfx,
	dri-devel, linux-kernel, Jiapeng Chong, Abaci Robot

No functional modification involved.

smatch warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hwseq.c:910 dcn32_init_hw() warn: inconsistent indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
index b6bada383958..201516a62b4b 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c
@@ -907,10 +907,10 @@ void dcn32_init_hw(struct dc *dc)
 		dc->res_pool->hubbub->funcs->init_crb(dc->res_pool->hubbub);
 
 	// Get DMCUB capabilities
-    if (dc->ctx->dmub_srv) {
-	dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub);
-	dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr;
-    }
+	if (dc->ctx->dmub_srv) {
+		dc_dmub_srv_query_caps_cmd(dc->ctx->dmub_srv->dmub);
+		dc->caps.dmub_caps.psr = dc->ctx->dmub_srv->dmub->feature_caps.psr;
+	}
 }
 
 static int calc_mpc_flow_ctrl_cnt(const struct dc_stream_state *stream,
-- 
2.20.1.7.g153144c


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

end of thread, other threads:[~2022-07-26 15:13 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26  7:25 [PATCH 01/20] drm/amd/display: Clean up some inconsistent indenting Jiapeng Chong
2022-07-26  7:25 ` [PATCH 02/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 03/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 04/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 05/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 06/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 07/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 08/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 09/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 10/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 11/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 12/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 13/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 14/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 15/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 16/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 17/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 18/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 19/20] " Jiapeng Chong
2022-07-26  7:25 ` [PATCH 20/20] " Jiapeng Chong
2022-07-26 15:12 ` [PATCH 01/20] " Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®