Commit 922710a8 authored by Asher Song's avatar Asher Song Committed by Alex Deucher
Browse files

drm/amd/display: remove a duplicated declaration



There are duplicated declarations of i, remove one of those.

Signed-off-by: default avatarAsher Song <Asher.Song@amd.com>
Reviewed-by: default avatarGuchun Chen <guchun.chen@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 63127922
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1025,7 +1025,7 @@ static void dcn32_full_validate_bw_helper(struct dc *dc,

		dcn32_merge_pipes_for_subvp(dc, context);
		// to re-initialize viewport after the pipe merge
		for (int i = 0; i < dc->res_pool->pipe_count; i++) {
		for (i = 0; i < dc->res_pool->pipe_count; i++) {
			struct pipe_ctx *pipe_ctx = &context->res_ctx.pipe_ctx[i];

			if (!pipe_ctx->plane_state || !pipe_ctx->stream)