dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: Remove the repeated declaration
@ 2021-05-25 10:51 Shaokun Zhang
  2021-05-26  2:22 ` Alex Deucher
  0 siblings, 1 reply; 2+ messages in thread
From: Shaokun Zhang @ 2021-05-25 10:51 UTC (permalink / raw)
  To: amd-gfx, dri-devel; +Cc: Shaokun Zhang, Leo Li, Alex Deucher

Function 'dc_power_down_on_boot' is declared twice, remove the
repeated declaration.

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/dc.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 100d434f7a03..d4d7996be171 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -1071,8 +1071,6 @@ bool dc_resource_is_dsc_encoding_supported(const struct dc *dc);
  */
 bool dc_commit_state(struct dc *dc, struct dc_state *context);
 
-void dc_power_down_on_boot(struct dc *dc);
-
 struct dc_state *dc_create_state(struct dc *dc);
 struct dc_state *dc_copy_state(struct dc_state *src_ctx);
 void dc_retain_state(struct dc_state *context);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd/display: Remove the repeated declaration
  2021-05-25 10:51 [PATCH] drm/amd/display: Remove the repeated declaration Shaokun Zhang
@ 2021-05-26  2:22 ` Alex Deucher
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Deucher @ 2021-05-26  2:22 UTC (permalink / raw)
  To: Shaokun Zhang
  Cc: Leo Li, Alex Deucher, Maling list - DRI developers, amd-gfx list

On Tue, May 25, 2021 at 6:51 AM Shaokun Zhang
<zhangshaokun@hisilicon.com> wrote:
>
> Function 'dc_power_down_on_boot' is declared twice, remove the
> repeated declaration.
>
> 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>

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/dc/dc.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index 100d434f7a03..d4d7996be171 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -1071,8 +1071,6 @@ bool dc_resource_is_dsc_encoding_supported(const struct dc *dc);
>   */
>  bool dc_commit_state(struct dc *dc, struct dc_state *context);
>
> -void dc_power_down_on_boot(struct dc *dc);
> -
>  struct dc_state *dc_create_state(struct dc *dc);
>  struct dc_state *dc_copy_state(struct dc_state *src_ctx);
>  void dc_retain_state(struct dc_state *context);
> --
> 2.7.4
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-26  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 10:51 [PATCH] drm/amd/display: Remove the repeated declaration Shaokun Zhang
2021-05-26  2:22 ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).