drm/amd/display: Adjust get_value function with prefix to help in ftrace
Subsystems (3)
PATCH RESEND 1/2 drm/amd/display: Adjust get_value function with prefix to help in ftrace
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'
--- drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c +2 -2
@@ -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,
Signature · 1 line
2.43.0
PATCH RESEND 2/2 drm/amd/display: Adjust set_value function with prefix to help in ftrace
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'
--- drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c +2 -2
@@ -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, };
Signature · 1 line
2.43.0
Alex Deucher
AppliedRe: [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
Applied the series. Thanks!
Alex
Quoted 37 lines · Leonardo Gomes
Adjust
set_valuefunction inhw_hpd.cfile 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 <[email protected]>Co-developed-by Derick Frias <[email protected]>Signed-off-by Derick Frias <[email protected]>--- drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c +2
-3@@ -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
Re: [PATCH 2/2 RESEND] drm/amd/display: Adjust set_value function with prefix to help in ftrace
Glad it worked!
Leonardo Gomes
Quoted 45 lines · On Mon, 19 May 2025 at 11:44 Alex Deucher <[email protected]> wrote:
Applied the series. Thanks!
Alex
Quoted 5 lines · Leonardo Gomes
Adjust
set_valuefunction inhw_hpd.cfile to have prefix to help in ftrace, the name change from 'set_value' to 'dal_hw_hpd_set_value'Review
Quoted 8 lines
Signed-off-by Leonardo da Silva Gomes <[email protected]>Co-developed-by Derick Frias <[email protected]>Signed-off-by Derick Frias <[email protected]>--- drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0
b/drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.cQuoted 24 lines
index
886dd05b012f..01ec451004f7100644drivers/gpu/drm/amd/display/dc/gpio/hw_hpd.c +2
-3@@ -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