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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2/13/24 3:43 PM, Joao Paulo Pereira da Silva wrote:
From: jppaulo <jppaulo11@xxxxxxxxxxx>

Clean some wrong indenting that throw errors in checkpatch.

Signed-off-by: Joao Paulo Pereira da Silva <jppaulo11@xxxxxx>
---
  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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux