diff mbox series

drm/amd/display: Remove the repeated dpp1_full_bypass declaration

Message ID 1623979403-50239-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive)
State New, archived
Headers show
Series drm/amd/display: Remove the repeated dpp1_full_bypass declaration | expand

Commit Message

Shaokun Zhang June 18, 2021, 1:23 a.m. UTC
Function 'dpp1_full_bypass' is declared twice, so remove the repeated
declaration and unnessary blank line.

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Harry Wentland June 18, 2021, 1:48 p.m. UTC | #1
On 2021-06-17 9:23 p.m., Shaokun Zhang wrote:
> Function 'dpp1_full_bypass' is declared twice, so remove the repeated
> declaration and unnessary blank line.
> 
> Cc: Harry Wentland <harry.wentland@amd.com>
> Cc: Leo Li <sunpeng.li@amd.com>
> Cc: Alex Deucher <alexander.deucher@amd.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> index 9a1f40eb5c47..71b3a6949001 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> @@ -1497,8 +1497,6 @@ void dpp1_cnv_setup (
>  		enum dc_color_space input_color_space,
>  		struct cnv_alpha_2bit_lut *alpha_2bit_lut);
>  
> -void dpp1_full_bypass(struct dpp *dpp_base);
> -
>  void dpp1_dppclk_control(
>  		struct dpp *dpp_base,
>  		bool dppclk_div,
>
Alex Deucher June 18, 2021, 8:37 p.m. UTC | #2
Applied.  Thanks!

On Fri, Jun 18, 2021 at 9:48 AM Harry Wentland <harry.wentland@amd.com> wrote:
>
>
>
> On 2021-06-17 9:23 p.m., Shaokun Zhang wrote:
> > Function 'dpp1_full_bypass' is declared twice, so remove the repeated
> > declaration and unnessary blank line.
> >
> > Cc: Harry Wentland <harry.wentland@amd.com>
> > Cc: Leo Li <sunpeng.li@amd.com>
> > Cc: Alex Deucher <alexander.deucher@amd.com>
> > Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
>
> Harry
>
> > ---
> >  drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h | 2 --
> >  1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> > index 9a1f40eb5c47..71b3a6949001 100644
> > --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> > +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
> > @@ -1497,8 +1497,6 @@ void dpp1_cnv_setup (
> >               enum dc_color_space input_color_space,
> >               struct cnv_alpha_2bit_lut *alpha_2bit_lut);
> >
> > -void dpp1_full_bypass(struct dpp *dpp_base);
> > -
> >  void dpp1_dppclk_control(
> >               struct dpp *dpp_base,
> >               bool dppclk_div,
> >
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
index 9a1f40eb5c47..71b3a6949001 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
@@ -1497,8 +1497,6 @@  void dpp1_cnv_setup (
 		enum dc_color_space input_color_space,
 		struct cnv_alpha_2bit_lut *alpha_2bit_lut);
 
-void dpp1_full_bypass(struct dpp *dpp_base);
-
 void dpp1_dppclk_control(
 		struct dpp *dpp_base,
 		bool dppclk_div,