[PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting

2023-10-18 Thread Yang Li
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 
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6933
Signed-off-by: Yang Li 
---
 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, 
>entry);
+   insert_entry_into_table_sorted(p->in_bbox, 
p->out_states, >entry);
}
}
// Add max FCLK
-- 
2.20.1.7.g153144c



Re: [PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting

2022-09-30 Thread Alex Deucher
Applied the series.  Thanks!

On Fri, Sep 30, 2022 at 1:39 AM Yang Li  wrote:
>
> clean up one inconsistent indenting
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
> Reported-by: Abaci Robot 
> Signed-off-by: Yang Li 
> ---
>  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 = _masks;
> }
>
> -hubbub3->num_vmid = res_cap_dcn301.num_vmid;
> +   hubbub3->num_vmid = res_cap_dcn301.num_vmid;
>
> return >base;
>  }
> --
> 2.20.1.7.g153144c
>


[PATCH -next 2/2] drm/amd/display: clean up one inconsistent indenting

2022-09-29 Thread Yang Li
clean up one inconsistent indenting

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
Reported-by: Abaci Robot 
Signed-off-by: Yang Li 
---
 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 = _masks;
}
 
-hubbub3->num_vmid = res_cap_dcn301.num_vmid;
+   hubbub3->num_vmid = res_cap_dcn301.num_vmid;
 
return >base;
 }
-- 
2.20.1.7.g153144c