drm/amdgpu/display: make hubp31_program_extended_blank static
Subsystems (3)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu/display: make hubp31_program_extended_blank static
It's not used outside of dcn31_hubp.c.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c +2 -1
@@ -54,7 +54,8 @@ void hubp31_soft_reset(struct hubp *hubp, bool reset)REG_UPDATE (DCHUBP_CNTL ,HUBP_SOFT_RESET , reset); } -void hubp31_program_extended_blank (struct hubp *hubp,unsigned int min_dst_y_next_start_optimized) +static void hubp31_program_extended_blank (struct hubp *hubp, +unsigned int min_dst_y_next_start_optimized) {struct dcn20_hubp *hubp2 =TO_DCN20_HUBP (hubp);
Signature · 1 line
2.35.1
Quoted 3 lines · Alex Deucher
It's not used outside of
dcn31_hubp.c.Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Harry Wentland <[email protected]>
Harry
Quoted 18 lines
--- drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c +2
-1@@ -54,7 +54,8 @@ void hubp31_soft_reset(struct hubp *hubp, bool reset)REG_UPDATE (DCHUBP_CNTL ,HUBP_SOFT_RESET , reset); } -void hubp31_program_extended_blank (struct hubp *hubp,unsigned int min_dst_y_next_start_optimized) +static void hubp31_program_extended_blank (struct hubp *hubp, +unsigned int min_dst_y_next_start_optimized) {struct dcn20_hubp *hubp2 =TO_DCN20_HUBP (hubp);