dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 1/2] drm/amd/display: clean up one inconsistent indenting
@ 2023-10-19  1:03 Yang Li
  2023-10-19  1:03 ` [PATCH -next 2/2] " Yang Li
  0 siblings, 1 reply; 4+ messages in thread
From: Yang Li @ 2023-10-19  1:03 UTC (permalink / raw)
  To: alexander.deucher, harry.wentland, airlied, daniel
  Cc: Abaci Robot, Yang Li, dri-devel, amd-gfx, linux-kernel

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_util.c:150 dml_max() warn: inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6933
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c b/drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c
index 7dd1f8a12582..3a70838abfba 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c
@@ -147,7 +147,7 @@ dml_float_t dml_max(dml_float_t x, dml_float_t y)
 		return y;
 	if (y != y)
 		return x;
-if (x > y)
+	if (x > y)
 		return x;
 	else
 		return y;
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting
  2023-10-19  1:03 [PATCH -next 1/2] drm/amd/display: clean up one inconsistent indenting Yang Li
@ 2023-10-19  1:03 ` Yang Li
  0 siblings, 0 replies; 4+ messages in thread
From: Yang Li @ 2023-10-19  1:03 UTC (permalink / raw)
  To: alexander.deucher, harry.wentland, airlied, daniel
  Cc: Abaci Robot, Yang Li, dri-devel, amd-gfx, linux-kernel

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_policy.c:206 dml2_policy_build_synthetic_soc_states() warn: inconsistent indenting

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6933
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c b/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c
index f8e9aa32ceab..0b3ab7aaea87 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c
@@ -203,7 +203,7 @@ int dml2_policy_build_synthetic_soc_states(struct dml2_policy_build_synthetic_so
 			s->entry.fabricclk_mhz = p->in_states->state_array[i].fabricclk_mhz;
 			s->entry.dram_speed_mts = 0;
 
-		insert_entry_into_table_sorted(p->in_bbox, p->out_states, &s->entry);
+			insert_entry_into_table_sorted(p->in_bbox, p->out_states, &s->entry);
 		}
 	}
 	// Add max FCLK
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting
  2022-09-30  5:38 ` [PATCH -next 2/2] " Yang Li
@ 2022-09-30 14:48   ` Alex Deucher
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2022-09-30 14:48 UTC (permalink / raw)
  To: Yang Li
  Cc: sunpeng.li, Abaci Robot, Xinhui.Pan, Rodrigo.Siqueira,
	linux-kernel, amd-gfx, dri-devel, alexander.deucher,
	christian.koenig

Applied the series.  Thanks!

On Fri, Sep 30, 2022 at 1:39 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> clean up one inconsistent indenting
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
> index 559e563d5bc1..f04595b750ab 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
> @@ -852,7 +852,7 @@ static struct hubbub *dcn301_hubbub_create(struct dc_context *ctx)
>                 vmid->masks = &vmid_masks;
>         }
>
> -        hubbub3->num_vmid = res_cap_dcn301.num_vmid;
> +       hubbub3->num_vmid = res_cap_dcn301.num_vmid;
>
>         return &hubbub3->base;
>  }
> --
> 2.20.1.7.g153144c
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting
  2022-09-30  5:38 [PATCH -next 1/2] " Yang Li
@ 2022-09-30  5:38 ` Yang Li
  2022-09-30 14:48   ` Alex Deucher
  0 siblings, 1 reply; 4+ messages in thread
From: Yang Li @ 2022-09-30  5:38 UTC (permalink / raw)
  To: alexander.deucher
  Cc: sunpeng.li, Xinhui.Pan, Rodrigo.Siqueira, linux-kernel, amd-gfx,
	Abaci Robot, Yang Li, dri-devel, christian.koenig

clean up one inconsistent indenting

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
index 559e563d5bc1..f04595b750ab 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
@@ -852,7 +852,7 @@ static struct hubbub *dcn301_hubbub_create(struct dc_context *ctx)
 		vmid->masks = &vmid_masks;
 	}
 
-	 hubbub3->num_vmid = res_cap_dcn301.num_vmid;
+	hubbub3->num_vmid = res_cap_dcn301.num_vmid;
 
 	return &hubbub3->base;
 }
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-19  1:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-19  1:03 [PATCH -next 1/2] drm/amd/display: clean up one inconsistent indenting Yang Li
2023-10-19  1:03 ` [PATCH -next 2/2] " Yang Li
  -- strict thread matches above, loose matches on Subject: below --
2022-09-30  5:38 [PATCH -next 1/2] " Yang Li
2022-09-30  5:38 ` [PATCH -next 2/2] " Yang Li
2022-09-30 14:48   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).