diff mbox series

drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode()

Message ID a57a9d8f-40bb-4cfa-9dad-4f93a1f33303@moroto.mountain (mailing list archive)
State New, archived
Headers show
Series drm/amd/display: Clean up indenting in dm_dp_mst_is_port_support_mode() | expand

Commit Message

Dan Carpenter June 20, 2024, 8:49 a.m. UTC
This code works, but it's not aligned correctly.  Add a couple missing
tabs.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Alex Deucher June 20, 2024, 3:37 p.m. UTC | #1
Applied.  Thanks!

Alex

On Thu, Jun 20, 2024 at 4:49 AM Dan Carpenter <dan.carpenter@linaro.org> wrote:
>
> This code works, but it's not aligned correctly.  Add a couple missing
> tabs.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> index 48118447c8d9..5d4f831b1e55 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> @@ -1691,7 +1691,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
>                 if (aconnector->mst_output_port->passthrough_aux) {
>                         if (bw_range.min_kbps > end_to_end_bw_in_kbps) {
>                                 DRM_DEBUG_DRIVER("DSC passthrough. Max dsc compression can't fit into end-to-end bw\n");
> -                       return DC_FAIL_BANDWIDTH_VALIDATE;
> +                               return DC_FAIL_BANDWIDTH_VALIDATE;
>                         }
>                 } else {
>                         /*dsc bitstream decoded at the dp last link*/
> @@ -1756,7 +1756,7 @@ enum dc_status dm_dp_mst_is_port_support_mode(
>                 if (branch_max_throughput_mps != 0 &&
>                         ((stream->timing.pix_clk_100hz / 10) >  branch_max_throughput_mps * 1000)) {
>                         DRM_DEBUG_DRIVER("DSC is required but max throughput mps fails");
> -               return DC_FAIL_BANDWIDTH_VALIDATE;
> +                       return DC_FAIL_BANDWIDTH_VALIDATE;
>                 }
>         } else {
>                 DRM_DEBUG_DRIVER("DSC is required but can't find common dsc config.");
> --
> 2.43.0
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
index 48118447c8d9..5d4f831b1e55 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
@@ -1691,7 +1691,7 @@  enum dc_status dm_dp_mst_is_port_support_mode(
 		if (aconnector->mst_output_port->passthrough_aux) {
 			if (bw_range.min_kbps > end_to_end_bw_in_kbps) {
 				DRM_DEBUG_DRIVER("DSC passthrough. Max dsc compression can't fit into end-to-end bw\n");
-			return DC_FAIL_BANDWIDTH_VALIDATE;
+				return DC_FAIL_BANDWIDTH_VALIDATE;
 			}
 		} else {
 			/*dsc bitstream decoded at the dp last link*/
@@ -1756,7 +1756,7 @@  enum dc_status dm_dp_mst_is_port_support_mode(
 		if (branch_max_throughput_mps != 0 &&
 			((stream->timing.pix_clk_100hz / 10) >  branch_max_throughput_mps * 1000)) {
 			DRM_DEBUG_DRIVER("DSC is required but max throughput mps fails");
-		return DC_FAIL_BANDWIDTH_VALIDATE;
+			return DC_FAIL_BANDWIDTH_VALIDATE;
 		}
 	} else {
 		DRM_DEBUG_DRIVER("DSC is required but can't find common dsc config.");