[PATCH 1/2] drm/amd/display: clean inconsistent indenting

Rodrigo Siqueira Jordao Rodrigo.Siqueira at amd.com
Tue Apr 23 19:55:09 UTC 2024



On 2/13/24 3:43 PM, Joao Paulo Pereira da Silva wrote:
> From: jppaulo <jppaulo11 at hotmail.com>
> 
> Clean some wrong indenting that throw errors in checkpatch.
> 
> Signed-off-by: Joao Paulo Pereira da Silva <jppaulo11 at usp.br>
> ---
>   drivers/gpu/drm/amd/display/dc/core/dc.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index aa7c02ba948e..7832832b973d 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -962,7 +962,7 @@ static bool dc_construct(struct dc *dc,
>   		goto fail;
>   	}
>   
> -        dc_ctx = dc->ctx;
> +	dc_ctx = dc->ctx;
>   
>   	/* Resource should construct all asic specific resources.
>   	 * This should be the only place where we need to parse the asic id
> @@ -3155,10 +3155,10 @@ static void commit_planes_do_stream_update(struct dc *dc,
>   				if (stream_update->mst_bw_update->is_increase)
>   					dc->link_srv->increase_mst_payload(pipe_ctx,
>   							stream_update->mst_bw_update->mst_stream_bw);
> - 				else
> +				else
>   					dc->link_srv->reduce_mst_payload(pipe_ctx,
>   							stream_update->mst_bw_update->mst_stream_bw);
> - 			}
> +			}
>   
>   			if (stream_update->pending_test_pattern) {
>   				dc_link_dp_set_test_pattern(stream->link,

Hi Joao,

Could part of this patch not apply to amd-staging-drm-next (the second 
part is already present)? Could you rebase your change and squash these 
two commits in a single one?

Thanks
Siqueira



More information about the amd-gfx mailing list