* [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace
@ 2025-05-17 14:20 Leonardo Gomes
2025-05-17 14:20 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Gomes @ 2025-05-17 14:20 UTC (permalink / raw)
To: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona
Cc: derick.william.moraes, Leonardo Gomes, amd-gfx, dri-devel
Adjust get_value function in hw_hpd.c file to have
prefix to help in ftrace, the name change from
'get_value' to 'dal_hw_hpd_get_value'
Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
---
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
index 3f13a744d07d..886dd05b012f 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
@@ -62,7 +62,7 @@ static void dal_hw_hpd_destroy(
*ptr = NULL;
}
-static enum gpio_result get_value(
+static enum gpio_result dal_hw_hpd_get_value(
const struct hw_gpio_pin *ptr,
uint32_t *value)
{
@@ -104,7 +104,7 @@ static enum gpio_result set_config(
static const struct hw_gpio_pin_funcs funcs = {
.destroy = dal_hw_hpd_destroy,
.open = dal_hw_gpio_open,
- .get_value = get_value,
+ .get_value = dal_hw_hpd_get_value,
.set_value = dal_hw_gpio_set_value,
.set_config = set_config,
.change_mode = dal_hw_gpio_change_mode,
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
2025-05-17 14:20 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace Leonardo Gomes
@ 2025-05-17 14:20 ` Leonardo Gomes
2025-05-19 14:44 ` Alex Deucher
0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Gomes @ 2025-05-17 14:20 UTC (permalink / raw)
To: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona
Cc: derick.william.moraes, Leonardo Gomes, amd-gfx, dri-devel
Adjust set_value function in hw_hpd.c file to have
prefix to help in ftrace, the name change from
'set_value' to 'dal_hw_hpd_set_value'
Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
---
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
index 886dd05b012f..01ec451004f7 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
@@ -85,7 +85,7 @@ static enum gpio_result dal_hw_hpd_get_value(
return dal_hw_gpio_get_value(ptr, value);
}
-static enum gpio_result set_config(
+static enum gpio_result dal_hw_hpd_set_config(
struct hw_gpio_pin *ptr,
const struct gpio_config_data *config_data)
{
@@ -106,7 +106,7 @@ static const struct hw_gpio_pin_funcs funcs = {
.open = dal_hw_gpio_open,
.get_value = dal_hw_hpd_get_value,
.set_value = dal_hw_gpio_set_value,
- .set_config = set_config,
+ .set_config = dal_hw_hpd_set_config,
.change_mode = dal_hw_gpio_change_mode,
.close = dal_hw_gpio_close,
};
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
2025-05-17 14:20 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
@ 2025-05-19 14:44 ` Alex Deucher
2025-05-20 0:48 ` Leonardo Gomes
0 siblings, 1 reply; 5+ messages in thread
From: Alex Deucher @ 2025-05-19 14:44 UTC (permalink / raw)
To: Leonardo Gomes
Cc: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona, derick.william.moraes, amd-gfx, dri-devel
Applied the series. Thanks!
Alex
On Sat, May 17, 2025 at 10:28 AM Leonardo Gomes
<leonardodasigomes@gmail.com> wrote:
>
> Adjust set_value function in hw_hpd.c file to have
> prefix to help in ftrace, the name change from
> 'set_value' to 'dal_hw_hpd_set_value'
>
> Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
> Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
> Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
> ---
> drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> index 886dd05b012f..01ec451004f7 100644
> --- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> +++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> @@ -85,7 +85,7 @@ static enum gpio_result dal_hw_hpd_get_value(
> return dal_hw_gpio_get_value(ptr, value);
> }
>
> -static enum gpio_result set_config(
> +static enum gpio_result dal_hw_hpd_set_config(
> struct hw_gpio_pin *ptr,
> const struct gpio_config_data *config_data)
> {
> @@ -106,7 +106,7 @@ static const struct hw_gpio_pin_funcs funcs = {
> .open = dal_hw_gpio_open,
> .get_value = dal_hw_hpd_get_value,
> .set_value = dal_hw_gpio_set_value,
> - .set_config = set_config,
> + .set_config = dal_hw_hpd_set_config,
> .change_mode = dal_hw_gpio_change_mode,
> .close = dal_hw_gpio_close,
> };
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
2025-05-19 14:44 ` Alex Deucher
@ 2025-05-20 0:48 ` Leonardo Gomes
0 siblings, 0 replies; 5+ messages in thread
From: Leonardo Gomes @ 2025-05-20 0:48 UTC (permalink / raw)
To: Alex Deucher
Cc: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona, derick.william.moraes, amd-gfx, dri-devel
[-- Attachment #1: Type: text/plain, Size: 1785 bytes --]
Glad it worked!
Leonardo Gomes
On Mon, 19 May 2025 at 11:44 Alex Deucher <alexdeucher@gmail.com> wrote:
> Applied the series. Thanks!
>
> Alex
>
> On Sat, May 17, 2025 at 10:28 AM Leonardo Gomes
> <leonardodasigomes@gmail.com> wrote:
> >
> > Adjust set_value function in hw_hpd.c file to have
> > prefix to help in ftrace, the name change from
> > 'set_value' to 'dal_hw_hpd_set_value'
> >
> > Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
> > Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
> > Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
> > ---
> > drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> > index 886dd05b012f..01ec451004f7 100644
> > --- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> > +++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
> > @@ -85,7 +85,7 @@ static enum gpio_result dal_hw_hpd_get_value(
> > return dal_hw_gpio_get_value(ptr, value);
> > }
> >
> > -static enum gpio_result set_config(
> > +static enum gpio_result dal_hw_hpd_set_config(
> > struct hw_gpio_pin *ptr,
> > const struct gpio_config_data *config_data)
> > {
> > @@ -106,7 +106,7 @@ static const struct hw_gpio_pin_funcs funcs = {
> > .open = dal_hw_gpio_open,
> > .get_value = dal_hw_hpd_get_value,
> > .set_value = dal_hw_gpio_set_value,
> > - .set_config = set_config,
> > + .set_config = dal_hw_hpd_set_config,
> > .change_mode = dal_hw_gpio_change_mode,
> > .close = dal_hw_gpio_close,
> > };
> > --
> > 2.43.0
> >
>
[-- Attachment #2: Type: text/html, Size: 2665 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace
@ 2025-05-14 17:42 Leonardo Gomes
2025-05-14 17:42 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
0 siblings, 1 reply; 5+ messages in thread
From: Leonardo Gomes @ 2025-05-14 17:42 UTC (permalink / raw)
To: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona
Cc: derick.william.moraes, Leonardo Gomes, amd-gfx, dri-devel
Adjust get_value function in hw_hpd.c file to have
prefix to help in ftrace, the name change from
'get_value' to 'dal_hw_gpio_get_value'
Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
---
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
index 3f13a744d07d..b11ed1089589 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
@@ -62,7 +62,7 @@ static void dal_hw_hpd_destroy(
*ptr = NULL;
}
-static enum gpio_result get_value(
+static enum gpio_result dal_hw_gpio_get_value(
const struct hw_gpio_pin *ptr,
uint32_t *value)
{
@@ -104,7 +104,7 @@ static enum gpio_result set_config(
static const struct hw_gpio_pin_funcs funcs = {
.destroy = dal_hw_hpd_destroy,
.open = dal_hw_gpio_open,
- .get_value = get_value,
+ .get_value = dal_hw_gpio_get_value,
.set_value = dal_hw_gpio_set_value,
.set_config = set_config,
.change_mode = dal_hw_gpio_change_mode,
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
2025-05-14 17:42 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value " Leonardo Gomes
@ 2025-05-14 17:42 ` Leonardo Gomes
0 siblings, 0 replies; 5+ messages in thread
From: Leonardo Gomes @ 2025-05-14 17:42 UTC (permalink / raw)
To: harry.wentland, sunpeng.li, alexander.deucher, christian.koenig,
airlied, simona
Cc: derick.william.moraes, Leonardo Gomes, amd-gfx, dri-devel
Adjust set_value function in hw_hpd.c file to have
prefix to help in ftrace, the name change from
'set_value' to 'dal_hw_gpio_set_value'
Signed-off-by: Leonardo da Silva Gomes <leonardodasigomes@gmail.com>
Co-developed-by: Derick Frias <derick.william.moraes@gmail.com>
Signed-off-by: Derick Frias <derick.william.moraes@gmail.com>
---
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
index b11ed1089589..03e773136189 100644
--- a/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
+++ b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c
@@ -85,7 +85,7 @@ static enum gpio_result dal_hw_gpio_get_value(
return dal_hw_gpio_get_value(ptr, value);
}
-static enum gpio_result set_config(
+static enum gpio_result dal_hw_gpio_set_config(
struct hw_gpio_pin *ptr,
const struct gpio_config_data *config_data)
{
@@ -106,7 +106,7 @@ static const struct hw_gpio_pin_funcs funcs = {
.open = dal_hw_gpio_open,
.get_value = dal_hw_gpio_get_value,
.set_value = dal_hw_gpio_set_value,
- .set_config = set_config,
+ .set_config = dal_hw_gpio_set_config,
.change_mode = dal_hw_gpio_change_mode,
.close = dal_hw_gpio_close,
};
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-05-20 7:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-17 14:20 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace Leonardo Gomes
2025-05-17 14:20 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
2025-05-19 14:44 ` Alex Deucher
2025-05-20 0:48 ` Leonardo Gomes
-- strict thread matches above, loose matches on Subject: below --
2025-05-14 17:42 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value " Leonardo Gomes
2025-05-14 17:42 ` [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value " Leonardo Gomes
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.