2023-03-22 03:17:16

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm/amd/display: Clean up some inconsistent indenting

No functional modification involved.

Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4585
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
index fa469de3e935..0d3a983cb9ec 100644
--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
+++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
@@ -758,8 +758,8 @@ bool dmcu_load_iram(struct dmcu *dmcu,

if (dmcu->dmcu_version.abm_version == 0x24) {
fill_iram_v_2_3((struct iram_table_v_2_2 *)ram_table, params, true);
- result = dmcu->funcs->load_iram(
- dmcu, 0, (char *)(&ram_table), IRAM_RESERVE_AREA_START_V2_2);
+ result = dmcu->funcs->load_iram(dmcu, 0, (char *)(&ram_table),
+ IRAM_RESERVE_AREA_START_V2_2);
} else if (dmcu->dmcu_version.abm_version == 0x23) {
fill_iram_v_2_3((struct iram_table_v_2_2 *)ram_table, params, true);

--
2.20.1.7.g153144c


2023-03-22 15:37:24

by Hamza Mahfooz

[permalink] [raw]
Subject: Re: [PATCH] drm/amd/display: Clean up some inconsistent indenting

On 3/21/23 23:14, Jiapeng Chong wrote:
> No functional modification involved.
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4585
> Signed-off-by: Jiapeng Chong <[email protected]>

Applied, thanks!

> ---
> drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> index fa469de3e935..0d3a983cb9ec 100644
> --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> @@ -758,8 +758,8 @@ bool dmcu_load_iram(struct dmcu *dmcu,
>
> if (dmcu->dmcu_version.abm_version == 0x24) {
> fill_iram_v_2_3((struct iram_table_v_2_2 *)ram_table, params, true);
> - result = dmcu->funcs->load_iram(
> - dmcu, 0, (char *)(&ram_table), IRAM_RESERVE_AREA_START_V2_2);
> + result = dmcu->funcs->load_iram(dmcu, 0, (char *)(&ram_table),
> + IRAM_RESERVE_AREA_START_V2_2);
> } else if (dmcu->dmcu_version.abm_version == 0x23) {
> fill_iram_v_2_3((struct iram_table_v_2_2 *)ram_table, params, true);
>

--
Hamza