drm/amd/display: clean up some inconsistent indentings
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 1 Sep 2022 07:56:55 +0000 (15:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:57 +0000 (14:32 -0400)
This if statement is the content of the for statement above it. It
should be indented.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2026
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c

index 9dd705b..7c2e3b8 100644 (file)
@@ -417,8 +417,8 @@ void get_subvp_visual_confirm_color(
        for (i = 0; i < dc->res_pool->pipe_count; i++) {
                struct pipe_ctx *pipe = &dc->current_state->res_ctx.pipe_ctx[i];
 
-       if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
-                               pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
+               if (pipe->stream && pipe->stream->mall_stream_config.paired_stream &&
+                   pipe->stream->mall_stream_config.type == SUBVP_MAIN) {
                        /* SubVP enable - red */
                        color->color_r_cr = color_value;
                        enable_subvp = true;