mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 11:21:15 -05:00
drm/amd/display: Clean up some inconsistent indenting
No functional modification involved. smatch warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:1728 dcn20_program_front_end_for_ctx() warn: inconsistent indenting. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
64f857b547
commit
931fa55b2f
@@ -1716,15 +1716,13 @@ void dcn20_program_front_end_for_ctx(
|
||||
DC_LOGGER_INIT(dc->ctx->logger);
|
||||
|
||||
/* Carry over GSL groups in case the context is changing. */
|
||||
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
||||
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
|
||||
struct pipe_ctx *old_pipe_ctx =
|
||||
&dc->current_state->res_ctx.pipe_ctx[i];
|
||||
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
||||
struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];
|
||||
struct pipe_ctx *old_pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i];
|
||||
|
||||
if (pipe_ctx->stream == old_pipe_ctx->stream)
|
||||
pipe_ctx->stream_res.gsl_group =
|
||||
old_pipe_ctx->stream_res.gsl_group;
|
||||
}
|
||||
if (pipe_ctx->stream == old_pipe_ctx->stream)
|
||||
pipe_ctx->stream_res.gsl_group = old_pipe_ctx->stream_res.gsl_group;
|
||||
}
|
||||
|
||||
if (dc->hwss.program_triplebuffer != NULL && dc->debug.enable_tri_buf) {
|
||||
for (i = 0; i < dc->res_pool->pipe_count; i++) {
|
||||
|
||||
Reference in New Issue
Block a user