Skip to content

Commit 9a343a6

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amd/pm: Move SMUv13.0.12 function declarations
Move them to SMUv13.0.6 header file as they are used only in SMU v13.0.6. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Asad Kamal <asad.kamal@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 58c3978 commit 9a343a6

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -298,14 +298,5 @@ int smu_v13_0_get_boot_freq_by_index(struct smu_context *smu,
298298

299299
void smu_v13_0_interrupt_work(struct smu_context *smu);
300300
void smu_v13_0_reset_custom_level(struct smu_context *smu);
301-
bool smu_v13_0_12_is_dpm_running(struct smu_context *smu);
302-
int smu_v13_0_12_get_max_metrics_size(void);
303-
int smu_v13_0_12_setup_driver_pptable(struct smu_context *smu);
304-
int smu_v13_0_12_get_smu_metrics_data(struct smu_context *smu,
305-
MetricsMember_t member,
306-
uint32_t *value);
307-
ssize_t smu_v13_0_12_get_gpu_metrics(struct smu_context *smu, void **table);
308-
extern const struct cmn2asic_mapping smu_v13_0_12_feature_mask_map[];
309-
extern const struct cmn2asic_msg_mapping smu_v13_0_12_message_map[];
310301
#endif
311302
#endif

drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,12 @@ extern void smu_v13_0_6_set_ppt_funcs(struct smu_context *smu);
7474
bool smu_v13_0_6_cap_supported(struct smu_context *smu, enum smu_v13_0_6_caps cap);
7575
int smu_v13_0_6_get_static_metrics_table(struct smu_context *smu);
7676

77+
bool smu_v13_0_12_is_dpm_running(struct smu_context *smu);
78+
int smu_v13_0_12_get_max_metrics_size(void);
79+
int smu_v13_0_12_setup_driver_pptable(struct smu_context *smu);
80+
int smu_v13_0_12_get_smu_metrics_data(struct smu_context *smu,
81+
MetricsMember_t member, uint32_t *value);
82+
ssize_t smu_v13_0_12_get_gpu_metrics(struct smu_context *smu, void **table);
83+
extern const struct cmn2asic_mapping smu_v13_0_12_feature_mask_map[];
84+
extern const struct cmn2asic_msg_mapping smu_v13_0_12_message_map[];
7785
#endif

0 commit comments

Comments
 (0)