Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/pm: Make smu_v13_0_baco_set_armd3_sequence() static

smu_v13_0_baco_set_armd3_sequence is not used by other files, so
make it as static type.

Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Ma Jun and committed by
Alex Deucher
5ce8eccd 857c838c

+1 -4
-3
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h
··· 210 210 int smu_v13_0_get_max_sustainable_clocks_by_dc(struct smu_context *smu, 211 211 struct pp_smu_nv_clock_table *max_clocks); 212 212 213 - int smu_v13_0_baco_set_armd3_sequence(struct smu_context *smu, 214 - enum smu_baco_seq baco_seq); 215 - 216 213 bool smu_v13_0_baco_is_support(struct smu_context *smu); 217 214 218 215 enum smu_baco_state smu_v13_0_baco_get_state(struct smu_context *smu);
+1 -1
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
··· 2199 2199 return ret; 2200 2200 } 2201 2201 2202 - int smu_v13_0_baco_set_armd3_sequence(struct smu_context *smu, 2202 + static int smu_v13_0_baco_set_armd3_sequence(struct smu_context *smu, 2203 2203 enum smu_baco_seq baco_seq) 2204 2204 { 2205 2205 struct smu_baco_context *smu_baco = &smu->smu_baco;