drm/amd/display: Adjust prefix of dcn31_apg construct function name
Subsystems (3)
PATCH 1/1 drm/amd/display: Adjust prefix of dcn31_apg construct function name
From: Leonardo da Silva Gomes <[email protected]>
Adjust the dcn31_apg construct function name from 'apg31_construct' to 'dcn31_apg_construct'.
This helps the ftrace to detect the file by the function name.
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/dcn31/dcn31_apg.c | 2 +- drivers/gpu/drm/amd/display/dc/dcn31/dcn31_apg.h | 2 +- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c | 2 +- drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_apg.c +1 -1
@@ -101,7 +101,7 @@ static struct apg_funcs dcn31_apg_funcs = { .disable_apg = apg31_disable, }; -void apg31_construct(struct dcn31_apg *apg31, +void dcn31_apg_construct(struct dcn31_apg *apg31, struct dc_context *ctx, uint32_t inst, const struct dcn31_apg_registers *apg_regs,
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_apg.h +1 -1
@@ -100,7 +100,7 @@ struct dcn31_apg {const struct dcn31_apg_mask *apg_mask; }; -void apg31_construct(struct dcn31_apg *apg3, +void dcn31_apg_construct(struct dcn31_apg *apg3, struct dc_context *ctx, uint32_t inst, const struct dcn31_apg_registers *apg_regs,
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c +1 -1
@@ -1207,7 +1207,7 @@ static struct apg *dcn31_apg_create(if (!apg31)return NULL ; -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c +1 -1
@@ -1263,7 +1263,7 @@ static struct apg *dcn31_apg_create(if (!apg31)return NULL ; -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c +1 -1
@@ -1205,7 +1205,7 @@ static struct apg *dcn31_apg_create(if (!apg31)return NULL ; -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c +1 -1
@@ -1200,7 +1200,7 @@ static struct apg *dcn31_apg_create(if (!apg31)return NULL ; -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c +1 -1
@@ -1187,7 +1187,7 @@ static struct apg *dcn31_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c +1 -1
@@ -1170,7 +1170,7 @@ static struct apg *dcn321_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c +1 -1
@@ -1252,7 +1252,7 @@ static struct apg *dcn31_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c +1 -1
@@ -1232,7 +1232,7 @@ static struct apg *dcn31_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c +1 -1
@@ -1233,7 +1233,7 @@ static struct apg *dcn31_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c +1 -1
@@ -1162,7 +1162,7 @@ static struct apg *dcn401_apg_create(apg_regs_init (2 ),apg_regs_init (3 ); -apg31_construct (apg31, ctx, inst, +dcn31_apg_construct (apg31, ctx, inst, &apg_regs[inst], &apg_shift, &apg_mask);
Signature · 1 line
2.43.0