Skip to contentSkip to conversation

drm/amdgpu/display: make hubp31_program_extended_blank static

PATCH In review Alex Deucher 2 participants 2 messages Apr 21, 2022

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/display: make hubp31_program_extended_blank static

It's not used outside of dcn31_hubp.c.

---
 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
index 8ae6117953ca..197a5cae068b 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Alex Deucher

It's not used outside of dcn31_hubp.c.

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
index 8ae6117953ca..197a5cae068b 100644
@@ -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);