* [PATCH] drm/amd/display: Add missing header
@ 2022-07-06 14:05 Rodrigo Siqueira
2022-07-06 14:08 ` Harry Wentland
0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Siqueira @ 2022-07-06 14:05 UTC (permalink / raw)
To: Harry Wentland, Leo Li, Alex Deucher, Aurabindo Pillai
Cc: kernel test robot, amd-gfx
Kernel test robot reported this GCC error:
warning: no previous prototype for 'dc_reset_state' [-Wmissing-prototypes]
2720 | void dc_reset_state(struct dc *dc, struct dc_state *context)
This commit adds the missing prototype.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
---
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index 02bbc90a2c80..7586500ec87f 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -1209,6 +1209,7 @@ bool dc_commit_state(struct dc *dc, struct dc_state *context);
struct dc_state *dc_create_state(struct dc *dc);
struct dc_state *dc_copy_state(struct dc_state *src_ctx);
+void dc_reset_state(struct dc *dc, struct dc_state *context);
void dc_retain_state(struct dc_state *context);
void dc_release_state(struct dc_state *context);
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amd/display: Add missing header
2022-07-06 14:05 [PATCH] drm/amd/display: Add missing header Rodrigo Siqueira
@ 2022-07-06 14:08 ` Harry Wentland
0 siblings, 0 replies; 2+ messages in thread
From: Harry Wentland @ 2022-07-06 14:08 UTC (permalink / raw)
To: Rodrigo Siqueira, Leo Li, Alex Deucher, Aurabindo Pillai
Cc: kernel test robot, amd-gfx
nit: "Add missing function definition"
On 2022-07-06 10:05, Rodrigo Siqueira wrote:
> Kernel test robot reported this GCC error:
>
> warning: no previous prototype for 'dc_reset_state' [-Wmissing-prototypes]
> 2720 | void dc_reset_state(struct dc *dc, struct dc_state *context)
>
> This commit adds the missing prototype.
>
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Harry
> ---
> drivers/gpu/drm/amd/display/dc/dc.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index 02bbc90a2c80..7586500ec87f 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -1209,6 +1209,7 @@ bool dc_commit_state(struct dc *dc, struct dc_state *context);
>
> struct dc_state *dc_create_state(struct dc *dc);
> struct dc_state *dc_copy_state(struct dc_state *src_ctx);
> +void dc_reset_state(struct dc *dc, struct dc_state *context);
> void dc_retain_state(struct dc_state *context);
> void dc_release_state(struct dc_state *context);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-06 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-06 14:05 [PATCH] drm/amd/display: Add missing header Rodrigo Siqueira
2022-07-06 14:08 ` Harry Wentland
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.