drm/amd/display: fix indentation issue on a hunk of code
authorColin Ian King <colin.king@canonical.com>
Fri, 28 Feb 2020 13:16:06 +0000 (13:16 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:26:55 +0000 (00:26 -0500)
There are multiple statements that are indented incorrectly. Add
in the missing tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c

index 5d081c4..2c6db37 100644 (file)
@@ -3265,33 +3265,33 @@ bool bw_calcs(struct dc_context *ctx,
                                bw_fixed_to_int(bw_mul(data->
                                        stutter_exit_watermark[9], bw_int_to_fixed(1000)));
 
-               calcs_output->stutter_entry_wm_ns[0].b_mark =
-                       bw_fixed_to_int(bw_mul(data->
-                               stutter_entry_watermark[4], bw_int_to_fixed(1000)));
-               calcs_output->stutter_entry_wm_ns[1].b_mark =
-                       bw_fixed_to_int(bw_mul(data->
-                               stutter_entry_watermark[5], bw_int_to_fixed(1000)));
-               calcs_output->stutter_entry_wm_ns[2].b_mark =
-                       bw_fixed_to_int(bw_mul(data->
-                               stutter_entry_watermark[6], bw_int_to_fixed(1000)));
-               if (ctx->dc->caps.max_slave_planes) {
-                       calcs_output->stutter_entry_wm_ns[3].b_mark =
+                       calcs_output->stutter_entry_wm_ns[0].b_mark =
                                bw_fixed_to_int(bw_mul(data->
-                                       stutter_entry_watermark[0], bw_int_to_fixed(1000)));
-                       calcs_output->stutter_entry_wm_ns[4].b_mark =
+                                       stutter_entry_watermark[4], bw_int_to_fixed(1000)));
+                       calcs_output->stutter_entry_wm_ns[1].b_mark =
                                bw_fixed_to_int(bw_mul(data->
-                                       stutter_entry_watermark[1], bw_int_to_fixed(1000)));
-               } else {
-                       calcs_output->stutter_entry_wm_ns[3].b_mark =
+                                       stutter_entry_watermark[5], bw_int_to_fixed(1000)));
+                       calcs_output->stutter_entry_wm_ns[2].b_mark =
                                bw_fixed_to_int(bw_mul(data->
-                                       stutter_entry_watermark[7], bw_int_to_fixed(1000)));
-                       calcs_output->stutter_entry_wm_ns[4].b_mark =
+                                       stutter_entry_watermark[6], bw_int_to_fixed(1000)));
+                       if (ctx->dc->caps.max_slave_planes) {
+                               calcs_output->stutter_entry_wm_ns[3].b_mark =
+                                       bw_fixed_to_int(bw_mul(data->
+                                               stutter_entry_watermark[0], bw_int_to_fixed(1000)));
+                               calcs_output->stutter_entry_wm_ns[4].b_mark =
+                                       bw_fixed_to_int(bw_mul(data->
+                                               stutter_entry_watermark[1], bw_int_to_fixed(1000)));
+                       } else {
+                               calcs_output->stutter_entry_wm_ns[3].b_mark =
+                                       bw_fixed_to_int(bw_mul(data->
+                                               stutter_entry_watermark[7], bw_int_to_fixed(1000)));
+                               calcs_output->stutter_entry_wm_ns[4].b_mark =
+                                       bw_fixed_to_int(bw_mul(data->
+                                               stutter_entry_watermark[8], bw_int_to_fixed(1000)));
+                       }
+                       calcs_output->stutter_entry_wm_ns[5].b_mark =
                                bw_fixed_to_int(bw_mul(data->
-                                       stutter_entry_watermark[8], bw_int_to_fixed(1000)));
-               }
-               calcs_output->stutter_entry_wm_ns[5].b_mark =
-                       bw_fixed_to_int(bw_mul(data->
-                               stutter_entry_watermark[9], bw_int_to_fixed(1000)));
+                                       stutter_entry_watermark[9], bw_int_to_fixed(1000)));
 
                        calcs_output->urgent_wm_ns[0].b_mark =
                                bw_fixed_to_int(bw_mul(data->