2022-09-30 05:43:50

by Yang Li

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

clean up one inconsistent indenting

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2238
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
index aed0f689cbbf..b19774f4c78d 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
@@ -1656,7 +1656,7 @@ static bool dcn321_resource_construct(

#undef REG_STRUCT
#define REG_STRUCT dccg_regs
- dccg_regs_init();
+ dccg_regs_init();


ctx->dc_bios->regs = &bios_regs;
--
2.20.1.7.g153144c


2022-09-30 05:44:09

by Yang Li

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

clean up one inconsistent indenting

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
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

2022-09-30 14:59:06

by Alex Deucher

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

Applied the series. Thanks!

On Fri, Sep 30, 2022 at 1:39 AM Yang Li <[email protected]> wrote:
>
> clean up one inconsistent indenting
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2321
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
> ---
> 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
>