diff mbox series

[linux-next] drm/amd/display: Adding prototype for dccg21_update_dpp_dto()

Message ID 1607784984-4542-1-git-send-email-jrdr.linux@gmail.com (mailing list archive)
State New, archived
Headers show
Series [linux-next] drm/amd/display: Adding prototype for dccg21_update_dpp_dto() | expand

Commit Message

Souptick Joarder Dec. 12, 2020, 2:56 p.m. UTC
Kernel test robot throws below warning ->

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_dccg.c:46:6:
warning: no previous prototype for 'dccg21_update_dpp_dto'
[-Wmissing-prototypes]

Adding prototype for dccg21_update_dpp_dto().

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Alex Deucher Dec. 14, 2020, 10:16 p.m. UTC | #1
Applied.  Thanks!

Alex

On Mon, Dec 14, 2020 at 3:18 AM Souptick Joarder <jrdr.linux@gmail.com> wrote:
>
> Kernel test robot throws below warning ->
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_dccg.c:46:6:
> warning: no previous prototype for 'dccg21_update_dpp_dto'
> [-Wmissing-prototypes]
>
> Adding prototype for dccg21_update_dpp_dto().
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
> index b7efa77..e44a374 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
> +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
> @@ -32,5 +32,6 @@ struct dccg *dccg21_create(
>         const struct dccg_shift *dccg_shift,
>         const struct dccg_mask *dccg_mask);
>
> +void dccg21_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk);
>
>  #endif /* __DCN21_DCCG_H__ */
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
index b7efa77..e44a374 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_dccg.h
@@ -32,5 +32,6 @@  struct dccg *dccg21_create(
 	const struct dccg_shift *dccg_shift,
 	const struct dccg_mask *dccg_mask);
 
+void dccg21_update_dpp_dto(struct dccg *dccg, int dpp_inst, int req_dppclk);
 
 #endif /* __DCN21_DCCG_H__ */