All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leonardo Gomes <leonardodasigomes@gmail.com>
To: harry.wentland@amd.com, sunpeng.li@amd.com,
	alexander.deucher@amd.com, christian.koenig@amd.com,
	airlied@gmail.com, simona@ffwll.ch
Cc: derick.william.moraes@gmail.com,
	Leonardo Gomes <leonardodasigomes@gmail.com>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
Date: Wed, 14 May 2025 14:42:11 -0300	[thread overview]
Message-ID: <20250514174306.82693-2-leonardodasigomes@gmail.com> (raw)
In-Reply-To: <20250514174306.82693-1-leonardodasigomes@gmail.com>

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


  reply	other threads:[~2025-05-14 20:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-14 17:42 [PATCH 1/2 RESEND] drm/amd/display: Adjust get_value function with prefix to help in ftrace Leonardo Gomes
2025-05-14 17:42 ` Leonardo Gomes [this message]
2025-05-14 21:07 ` Alex Deucher
2025-05-16  1:23   ` Leonardo Gomes
2025-05-16 16:56     ` Alex Deucher
2025-05-17 14:24       ` Leonardo Gomes
2025-05-16 12:48 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2025-05-17 14:20 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250514174306.82693-2-leonardodasigomes@gmail.com \
    --to=leonardodasigomes@gmail.com \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=derick.william.moraes@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=simona@ffwll.ch \
    --cc=sunpeng.li@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.