* [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static
@ 2022-04-15 18:20 Tales Lelo da Aparecida
2022-04-19 14:34 ` Alex Deucher
0 siblings, 1 reply; 4+ messages in thread
From: Tales Lelo da Aparecida @ 2022-04-15 18:20 UTC (permalink / raw)
To: Harry Wentland, Leo Li, Rodrigo Siqueira, Alex Deucher,
Christian König, Pan, Xinhui, David Airlie, Daniel Vetter,
amd-gfx, dri-devel, linux-kernel, andrealmeid
Cc: Tales Lelo da Aparecida
It's a local function, let's make it static.
Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
---
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
index fbff6beb78be..3a7f76e2c598 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
@@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp)
*
* @hubp: hubp struct reference.
*/
-void hubp1_wait_pipe_read_start(struct hubp *hubp)
+static void hubp1_wait_pipe_read_start(struct hubp *hubp)
{
struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
--
2.35.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static
2022-04-15 18:20 [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static Tales Lelo da Aparecida
2022-04-19 14:34 ` Alex Deucher
@ 2022-04-19 14:34 ` Alex Deucher
0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2022-04-19 14:34 UTC (permalink / raw)
To: Tales Lelo da Aparecida
Cc: Harry Wentland, Leo Li, Rodrigo Siqueira, Alex Deucher,
Christian König, Pan, Xinhui, David Airlie, Daniel Vetter,
amd-gfx list, Maling list - DRI developers, LKML, andrealmeid
Applied with minor change to drop the prototype in dcn10_hubp.h. Thanks!
Alex
On Fri, Apr 15, 2022 at 2:21 PM Tales Lelo da Aparecida
<tales.aparecida@gmail.com> wrote:
>
> It's a local function, let's make it static.
>
> Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
> ---
> drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> index fbff6beb78be..3a7f76e2c598 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> @@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp)
> *
> * @hubp: hubp struct reference.
> */
> -void hubp1_wait_pipe_read_start(struct hubp *hubp)
> +static void hubp1_wait_pipe_read_start(struct hubp *hubp)
> {
> struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
>
> --
> 2.35.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static
@ 2022-04-19 14:34 ` Alex Deucher
0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2022-04-19 14:34 UTC (permalink / raw)
To: Tales Lelo da Aparecida
Cc: Leo Li, Pan, Xinhui, Rodrigo Siqueira, LKML, amd-gfx list,
David Airlie, Maling list - DRI developers, Alex Deucher,
andrealmeid, Christian König
Applied with minor change to drop the prototype in dcn10_hubp.h. Thanks!
Alex
On Fri, Apr 15, 2022 at 2:21 PM Tales Lelo da Aparecida
<tales.aparecida@gmail.com> wrote:
>
> It's a local function, let's make it static.
>
> Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
> ---
> drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> index fbff6beb78be..3a7f76e2c598 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> @@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp)
> *
> * @hubp: hubp struct reference.
> */
> -void hubp1_wait_pipe_read_start(struct hubp *hubp)
> +static void hubp1_wait_pipe_read_start(struct hubp *hubp)
> {
> struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
>
> --
> 2.35.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static
@ 2022-04-19 14:34 ` Alex Deucher
0 siblings, 0 replies; 4+ messages in thread
From: Alex Deucher @ 2022-04-19 14:34 UTC (permalink / raw)
To: Tales Lelo da Aparecida
Cc: Leo Li, Pan, Xinhui, Rodrigo Siqueira, LKML, amd-gfx list,
David Airlie, Maling list - DRI developers, Daniel Vetter,
Alex Deucher, andrealmeid, Harry Wentland, Christian König
Applied with minor change to drop the prototype in dcn10_hubp.h. Thanks!
Alex
On Fri, Apr 15, 2022 at 2:21 PM Tales Lelo da Aparecida
<tales.aparecida@gmail.com> wrote:
>
> It's a local function, let's make it static.
>
> Signed-off-by: Tales Lelo da Aparecida <tales.aparecida@gmail.com>
> ---
> drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> index fbff6beb78be..3a7f76e2c598 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c
> @@ -1316,7 +1316,7 @@ void hubp1_set_flip_int(struct hubp *hubp)
> *
> * @hubp: hubp struct reference.
> */
> -void hubp1_wait_pipe_read_start(struct hubp *hubp)
> +static void hubp1_wait_pipe_read_start(struct hubp *hubp)
> {
> struct dcn10_hubp *hubp1 = TO_DCN10_HUBP(hubp);
>
> --
> 2.35.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-19 14:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15 18:20 [PATCH] drm/amd/display: make hubp1_wait_pipe_read_start() static Tales Lelo da Aparecida
2022-04-19 14:34 ` Alex Deucher
2022-04-19 14:34 ` Alex Deucher
2022-04-19 14:34 ` Alex Deucher
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.