/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | smu_v13_0.h | 129 int smu_v13_0_init_microcode(struct smu_context *smu); 131 void smu_v13_0_fini_microcode(struct smu_context *smu); 133 int smu_v13_0_load_microcode(struct smu_context *smu); 135 int smu_v13_0_init_smc_tables(struct smu_context *smu); 137 int smu_v13_0_fini_smc_tables(struct smu_context *smu); 139 int smu_v13_0_init_power(struct smu_context *smu); 141 int smu_v13_0_fini_power(struct smu_context *smu); 143 int smu_v13_0_check_fw_status(struct smu_context *smu); 145 int smu_v13_0_setup_pptable(struct smu_context *smu); 147 int smu_v13_0_get_vbios_bootup_values(struct smu_context *smu); [all …]
|
D | smu_v11_0.h | 150 int smu_v11_0_init_microcode(struct smu_context *smu); 152 void smu_v11_0_fini_microcode(struct smu_context *smu); 154 int smu_v11_0_load_microcode(struct smu_context *smu); 156 int smu_v11_0_init_smc_tables(struct smu_context *smu); 158 int smu_v11_0_fini_smc_tables(struct smu_context *smu); 160 int smu_v11_0_init_power(struct smu_context *smu); 162 int smu_v11_0_fini_power(struct smu_context *smu); 164 int smu_v11_0_check_fw_status(struct smu_context *smu); 166 int smu_v11_0_setup_pptable(struct smu_context *smu); 168 int smu_v11_0_get_vbios_bootup_values(struct smu_context *smu); [all …]
|
D | amdgpu_smu.h | 470 struct smu_context { struct 579 int (*run_btc)(struct smu_context *smu); argument 586 int (*get_allowed_feature_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num); 593 enum amd_pm_state_type (*get_current_power_state)(struct smu_context *smu); 599 int (*set_default_dpm_table)(struct smu_context *smu); 601 int (*set_power_state)(struct smu_context *smu); 607 int (*populate_umd_state_clk)(struct smu_context *smu); 616 int (*print_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf); 629 …int (*emit_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf, int *offset… 637 int (*force_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t mask); [all …]
|
D | smu_v12_0.h | 36 int smu_v12_0_check_fw_status(struct smu_context *smu); 38 int smu_v12_0_check_fw_version(struct smu_context *smu); 40 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate); 42 int smu_v12_0_powergate_vcn(struct smu_context *smu, bool gate); 44 int smu_v12_0_powergate_jpeg(struct smu_context *smu, bool gate); 46 int smu_v12_0_set_gfx_cgpg(struct smu_context *smu, bool enable); 48 uint32_t smu_v12_0_get_gfxoff_status(struct smu_context *smu); 50 int smu_v12_0_gfx_off_control(struct smu_context *smu, bool enable); 52 int smu_v12_0_fini_smc_tables(struct smu_context *smu); 54 int smu_v12_0_set_default_dpm_tables(struct smu_context *smu); [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.h | 41 int smu_cmn_send_msg_without_waiting(struct smu_context *smu, 44 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, 49 int smu_cmn_send_smc_msg(struct smu_context *smu, 53 int smu_cmn_send_debug_smc_msg(struct smu_context *smu, 56 int smu_cmn_send_debug_smc_msg_with_param(struct smu_context *smu, 59 int smu_cmn_wait_for_response(struct smu_context *smu); 61 int smu_cmn_to_asic_specific_index(struct smu_context *smu, 65 int smu_cmn_feature_is_supported(struct smu_context *smu, 68 int smu_cmn_feature_is_enabled(struct smu_context *smu, 71 bool smu_cmn_clk_dpm_is_enabled(struct smu_context *smu, [all …]
|
D | amdgpu_smu.c | 59 static int smu_force_smuclk_levels(struct smu_context *smu, 62 static int smu_handle_task(struct smu_context *smu, 65 static int smu_reset(struct smu_context *smu); 70 static int smu_set_gfx_cgpg(struct smu_context *smu, bool enabled); 76 struct smu_context *smu = handle; in smu_sys_get_pp_feature_mask() 87 struct smu_context *smu = handle; in smu_sys_set_pp_feature_mask() 95 int smu_set_residency_gfxoff(struct smu_context *smu, bool value) in smu_set_residency_gfxoff() 103 int smu_get_residency_gfxoff(struct smu_context *smu, u32 *value) in smu_get_residency_gfxoff() 111 int smu_get_entrycount_gfxoff(struct smu_context *smu, u64 *value) in smu_get_entrycount_gfxoff() 119 int smu_get_status_gfxoff(struct smu_context *smu, uint32_t *value) in smu_get_status_gfxoff() [all …]
|
D | smu_cmn.c | 56 static const char *smu_get_message_name(struct smu_context *smu, in smu_get_message_name() 65 static void smu_cmn_read_arg(struct smu_context *smu, in smu_cmn_read_arg() 109 static u32 __smu_cmn_poll_stat(struct smu_context *smu) in __smu_cmn_poll_stat() 126 static void __smu_cmn_reg_print_error(struct smu_context *smu, in __smu_cmn_reg_print_error() 182 static int __smu_cmn_reg2errno(struct smu_context *smu, u32 reg_c2pmsg_90) in __smu_cmn_reg2errno() 227 static void __smu_cmn_send_msg(struct smu_context *smu, in __smu_cmn_send_msg() 238 static int __smu_cmn_send_debug_msg(struct smu_context *smu, in __smu_cmn_send_debug_msg() 263 int smu_cmn_send_msg_without_waiting(struct smu_context *smu, in smu_cmn_send_msg_without_waiting() 301 int smu_cmn_wait_for_response(struct smu_context *smu) in smu_cmn_wait_for_response() 350 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 82 static void smu_v11_0_poll_baco_exit(struct smu_context *smu) in smu_v11_0_poll_baco_exit() 93 int smu_v11_0_init_microcode(struct smu_context *smu) in smu_v11_0_init_microcode() 135 void smu_v11_0_fini_microcode(struct smu_context *smu) in smu_v11_0_fini_microcode() 143 int smu_v11_0_load_microcode(struct smu_context *smu) in smu_v11_0_load_microcode() 183 int smu_v11_0_check_fw_status(struct smu_context *smu) in smu_v11_0_check_fw_status() 198 int smu_v11_0_check_fw_version(struct smu_context *smu) in smu_v11_0_check_fw_version() 273 static int smu_v11_0_set_pptable_v2_0(struct smu_context *smu, void **table, uint32_t *size) in smu_v11_0_set_pptable_v2_0() 288 static int smu_v11_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v11_0_set_pptable_v2_1() 315 int smu_v11_0_setup_pptable(struct smu_context *smu) in smu_v11_0_setup_pptable() 369 int smu_v11_0_init_smc_tables(struct smu_context *smu) in smu_v11_0_init_smc_tables() [all …]
|
D | vangogh_ppt.c | 224 static int vangogh_tables_init(struct smu_context *smu) in vangogh_tables_init() 287 static int vangogh_get_legacy_smu_metrics_data(struct smu_context *smu, in vangogh_get_legacy_smu_metrics_data() 356 static int vangogh_get_smu_metrics_data(struct smu_context *smu, in vangogh_get_smu_metrics_data() 429 static int vangogh_common_get_smu_metrics_data(struct smu_context *smu, in vangogh_common_get_smu_metrics_data() 451 static int vangogh_allocate_dpm_context(struct smu_context *smu) in vangogh_allocate_dpm_context() 465 static int vangogh_init_smc_tables(struct smu_context *smu) in vangogh_init_smc_tables() 487 static int vangogh_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in vangogh_dpm_set_vcn_enable() 505 static int vangogh_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in vangogh_dpm_set_jpeg_enable() 522 static bool vangogh_is_dpm_running(struct smu_context *smu) in vangogh_is_dpm_running() 540 static int vangogh_get_dpm_clk_limited(struct smu_context *smu, enum smu_clk_type clk_type, in vangogh_get_dpm_clk_limited() [all …]
|
D | cyan_skillfish_ppt.c | 87 static int cyan_skillfish_tables_init(struct smu_context *smu) in cyan_skillfish_tables_init() 117 static int cyan_skillfish_init_smc_tables(struct smu_context *smu) in cyan_skillfish_init_smc_tables() 129 cyan_skillfish_get_smu_metrics_data(struct smu_context *smu, in cyan_skillfish_get_smu_metrics_data() 190 static int cyan_skillfish_read_sensor(struct smu_context *smu, in cyan_skillfish_read_sensor() 259 static int cyan_skillfish_get_current_clk_freq(struct smu_context *smu, in cyan_skillfish_get_current_clk_freq() 290 static int cyan_skillfish_print_clk_levels(struct smu_context *smu, in cyan_skillfish_print_clk_levels() 359 static bool cyan_skillfish_is_dpm_running(struct smu_context *smu) in cyan_skillfish_is_dpm_running() 383 static ssize_t cyan_skillfish_get_gpu_metrics(struct smu_context *smu, in cyan_skillfish_get_gpu_metrics() 438 static int cyan_skillfish_od_edit_dpm_table(struct smu_context *smu, in cyan_skillfish_od_edit_dpm_table() 535 static int cyan_skillfish_get_dpm_ultimate_freq(struct smu_context *smu, in cyan_skillfish_get_dpm_ultimate_freq() [all …]
|
D | navi10_ppt.c | 262 static bool is_asic_secure(struct smu_context *smu) in is_asic_secure() 278 navi10_get_allowed_feature_mask(struct smu_context *smu, in navi10_get_allowed_feature_mask() 365 static void navi10_check_bxco_support(struct smu_context *smu) in navi10_check_bxco_support() 383 static int navi10_check_powerplay_table(struct smu_context *smu) in navi10_check_powerplay_table() 406 static int navi10_append_powerplay_table(struct smu_context *smu) in navi10_append_powerplay_table() 459 static int navi10_store_powerplay_table(struct smu_context *smu) in navi10_store_powerplay_table() 471 static int navi10_setup_pptable(struct smu_context *smu) in navi10_setup_pptable() 494 static int navi10_tables_init(struct smu_context *smu) in navi10_tables_init() 555 static int navi10_get_legacy_smu_metrics_data(struct smu_context *smu, in navi10_get_legacy_smu_metrics_data() 641 static int navi10_get_smu_metrics_data(struct smu_context *smu, in navi10_get_smu_metrics_data() [all …]
|
D | arcturus_ppt.c | 250 static int arcturus_tables_init(struct smu_context *smu) in arcturus_tables_init() 286 static int arcturus_allocate_dpm_context(struct smu_context *smu) in arcturus_allocate_dpm_context() 299 static int arcturus_init_smc_tables(struct smu_context *smu) in arcturus_init_smc_tables() 315 arcturus_get_allowed_feature_mask(struct smu_context *smu, in arcturus_get_allowed_feature_mask() 327 static int arcturus_set_default_dpm_table(struct smu_context *smu) in arcturus_set_default_dpm_table() 409 static void arcturus_check_bxco_support(struct smu_context *smu) in arcturus_check_bxco_support() 427 static void arcturus_check_fan_support(struct smu_context *smu) in arcturus_check_fan_support() 440 static int arcturus_check_powerplay_table(struct smu_context *smu) in arcturus_check_powerplay_table() 455 static int arcturus_store_powerplay_table(struct smu_context *smu) in arcturus_store_powerplay_table() 467 static int arcturus_append_powerplay_table(struct smu_context *smu) in arcturus_append_powerplay_table() [all …]
|
D | sienna_cichlid_ppt.c | 92 static int get_table_size(struct smu_context *smu) in get_table_size() 275 sienna_cichlid_get_allowed_feature_mask(struct smu_context *smu, in sienna_cichlid_get_allowed_feature_mask() 358 static void sienna_cichlid_check_bxco_support(struct smu_context *smu) in sienna_cichlid_check_bxco_support() 392 static void sienna_cichlid_check_fan_support(struct smu_context *smu) in sienna_cichlid_check_fan_support() 406 static int sienna_cichlid_check_powerplay_table(struct smu_context *smu) in sienna_cichlid_check_powerplay_table() 430 static int sienna_cichlid_append_powerplay_table(struct smu_context *smu) in sienna_cichlid_append_powerplay_table() 460 static int sienna_cichlid_store_powerplay_table(struct smu_context *smu) in sienna_cichlid_store_powerplay_table() 474 static int sienna_cichlid_patch_pptable_quirk(struct smu_context *smu) in sienna_cichlid_patch_pptable_quirk() 504 static int sienna_cichlid_setup_pptable(struct smu_context *smu) in sienna_cichlid_setup_pptable() 527 static int sienna_cichlid_tables_init(struct smu_context *smu) in sienna_cichlid_tables_init() [all …]
|
D | cyan_skillfish_ppt.h | 27 extern void cyan_skillfish_set_ppt_funcs(struct smu_context *smu);
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 90 int smu_v13_0_init_microcode(struct smu_context *smu) in smu_v13_0_init_microcode() 131 void smu_v13_0_fini_microcode(struct smu_context *smu) in smu_v13_0_fini_microcode() 139 int smu_v13_0_load_microcode(struct smu_context *smu) in smu_v13_0_load_microcode() 181 int smu_v13_0_init_pptable_microcode(struct smu_context *smu) in smu_v13_0_init_pptable_microcode() 232 int smu_v13_0_check_fw_status(struct smu_context *smu) in smu_v13_0_check_fw_status() 256 int smu_v13_0_check_fw_version(struct smu_context *smu) in smu_v13_0_check_fw_version() 299 static int smu_v13_0_set_pptable_v2_0(struct smu_context *smu, void **table, uint32_t *size) in smu_v13_0_set_pptable_v2_0() 314 static int smu_v13_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v13_0_set_pptable_v2_1() 341 static int smu_v13_0_get_pptable_from_vbios(struct smu_context *smu, void **table, uint32_t *size) in smu_v13_0_get_pptable_from_vbios() 363 int smu_v13_0_get_pptable_from_firmware(struct smu_context *smu, in smu_v13_0_get_pptable_from_firmware() [all …]
|
D | aldebaran_ppt.c | 227 static int aldebaran_tables_init(struct smu_context *smu) in aldebaran_tables_init() 266 static int aldebaran_allocate_dpm_context(struct smu_context *smu) in aldebaran_allocate_dpm_context() 279 static int aldebaran_init_smc_tables(struct smu_context *smu) in aldebaran_init_smc_tables() 294 static int aldebaran_get_allowed_feature_mask(struct smu_context *smu, in aldebaran_get_allowed_feature_mask() 306 static int aldebaran_set_default_dpm_table(struct smu_context *smu) in aldebaran_set_default_dpm_table() 383 static int aldebaran_check_powerplay_table(struct smu_context *smu) in aldebaran_check_powerplay_table() 395 static int aldebaran_store_powerplay_table(struct smu_context *smu) in aldebaran_store_powerplay_table() 406 static int aldebaran_append_powerplay_table(struct smu_context *smu) in aldebaran_append_powerplay_table() 432 static int aldebaran_setup_pptable(struct smu_context *smu) in aldebaran_setup_pptable() 458 static bool aldebaran_is_primary(struct smu_context *smu) in aldebaran_is_primary() [all …]
|
D | smu_v13_0_6_ppt.c | 218 static int smu_v13_0_6_tables_init(struct smu_context *smu) in smu_v13_0_6_tables_init() 260 static int smu_v13_0_6_allocate_dpm_context(struct smu_context *smu) in smu_v13_0_6_allocate_dpm_context() 273 static int smu_v13_0_6_init_smc_tables(struct smu_context *smu) in smu_v13_0_6_init_smc_tables() 286 static int smu_v13_0_6_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_6_get_allowed_feature_mask() 299 static int smu_v13_0_6_get_metrics_table(struct smu_context *smu, in smu_v13_0_6_get_metrics_table() 329 static int smu_v13_0_6_setup_driver_pptable(struct smu_context *smu) in smu_v13_0_6_setup_driver_pptable() 385 static int smu_v13_0_6_get_dpm_ultimate_freq(struct smu_context *smu, in smu_v13_0_6_get_dpm_ultimate_freq() 470 static int smu_v13_0_6_get_dpm_level_count(struct smu_context *smu, in smu_v13_0_6_get_dpm_level_count() 483 static int smu_v13_0_6_set_default_dpm_table(struct smu_context *smu) in smu_v13_0_6_set_default_dpm_table() 562 static int smu_v13_0_6_setup_pptable(struct smu_context *smu) in smu_v13_0_6_setup_pptable() [all …]
|
D | smu_v13_0_5_ppt.c | 124 static int smu_v13_0_5_init_smc_tables(struct smu_context *smu) in smu_v13_0_5_init_smc_tables() 166 static int smu_v13_0_5_fini_smc_tables(struct smu_context *smu) in smu_v13_0_5_fini_smc_tables() 185 static int smu_v13_0_5_system_features_control(struct smu_context *smu, bool en) in smu_v13_0_5_system_features_control() 196 static int smu_v13_0_5_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in smu_v13_0_5_dpm_set_vcn_enable() 211 static int smu_v13_0_5_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in smu_v13_0_5_dpm_set_jpeg_enable() 227 static bool smu_v13_0_5_is_dpm_running(struct smu_context *smu) in smu_v13_0_5_is_dpm_running() 240 static int smu_v13_0_5_mode_reset(struct smu_context *smu, int type) in smu_v13_0_5_mode_reset() 251 static int smu_v13_0_5_mode2_reset(struct smu_context *smu) in smu_v13_0_5_mode2_reset() 256 static int smu_v13_0_5_get_smu_metrics_data(struct smu_context *smu, in smu_v13_0_5_get_smu_metrics_data() 319 static int smu_v13_0_5_read_sensor(struct smu_context *smu, in smu_v13_0_5_read_sensor() [all …]
|
D | smu_v13_0_0_ppt.c | 288 smu_v13_0_0_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_0_get_allowed_feature_mask() 337 static int smu_v13_0_0_check_powerplay_table(struct smu_context *smu) in smu_v13_0_0_check_powerplay_table() 390 static int smu_v13_0_0_store_powerplay_table(struct smu_context *smu) in smu_v13_0_0_store_powerplay_table() 409 static int smu_v13_0_0_append_powerplay_table(struct smu_context *smu) in smu_v13_0_0_append_powerplay_table() 430 static int smu_v13_0_0_get_pptable_from_pmfw(struct smu_context *smu, in smu_v13_0_0_get_pptable_from_pmfw() 448 static int smu_v13_0_0_setup_pptable(struct smu_context *smu) in smu_v13_0_0_setup_pptable() 484 static int smu_v13_0_0_tables_init(struct smu_context *smu) in smu_v13_0_0_tables_init() 539 static int smu_v13_0_0_allocate_dpm_context(struct smu_context *smu) in smu_v13_0_0_allocate_dpm_context() 553 static int smu_v13_0_0_init_smc_tables(struct smu_context *smu) in smu_v13_0_0_init_smc_tables() 568 static int smu_v13_0_0_set_default_dpm_table(struct smu_context *smu) in smu_v13_0_0_set_default_dpm_table() [all …]
|
D | yellow_carp_ppt.c | 151 static int yellow_carp_init_smc_tables(struct smu_context *smu) in yellow_carp_init_smc_tables() 193 static int yellow_carp_fini_smc_tables(struct smu_context *smu) in yellow_carp_fini_smc_tables() 212 static int yellow_carp_system_features_control(struct smu_context *smu, bool en) in yellow_carp_system_features_control() 223 static int yellow_carp_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in yellow_carp_dpm_set_vcn_enable() 238 static int yellow_carp_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in yellow_carp_dpm_set_jpeg_enable() 254 static bool yellow_carp_is_dpm_running(struct smu_context *smu) in yellow_carp_is_dpm_running() 267 static int yellow_carp_post_smu_init(struct smu_context *smu) in yellow_carp_post_smu_init() 279 static int yellow_carp_mode_reset(struct smu_context *smu, int type) in yellow_carp_mode_reset() 290 static int yellow_carp_mode2_reset(struct smu_context *smu) in yellow_carp_mode2_reset() 331 static int yellow_carp_get_smu_metrics_data(struct smu_context *smu, in yellow_carp_get_smu_metrics_data() [all …]
|
D | smu_v13_0_4_ppt.c | 150 static int smu_v13_0_4_init_smc_tables(struct smu_context *smu) in smu_v13_0_4_init_smc_tables() 192 static int smu_v13_0_4_fini_smc_tables(struct smu_context *smu) in smu_v13_0_4_fini_smc_tables() 211 static bool smu_v13_0_4_is_dpm_running(struct smu_context *smu) in smu_v13_0_4_is_dpm_running() 224 static int smu_v13_0_4_system_features_control(struct smu_context *smu, bool en) in smu_v13_0_4_system_features_control() 235 static ssize_t smu_v13_0_4_get_gpu_metrics(struct smu_context *smu, in smu_v13_0_4_get_gpu_metrics() 288 static int smu_v13_0_4_get_smu_metrics_data(struct smu_context *smu, in smu_v13_0_4_get_smu_metrics_data() 376 static int smu_v13_0_4_get_current_clk_freq(struct smu_context *smu, in smu_v13_0_4_get_current_clk_freq() 412 static int smu_v13_0_4_get_dpm_freq_by_index(struct smu_context *smu, in smu_v13_0_4_get_dpm_freq_by_index() 456 static int smu_v13_0_4_get_dpm_level_count(struct smu_context *smu, in smu_v13_0_4_get_dpm_level_count() 485 static int smu_v13_0_4_print_clk_levels(struct smu_context *smu, in smu_v13_0_4_print_clk_levels() [all …]
|
D | smu_v13_0_7_ppt.c | 257 smu_v13_0_7_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_7_get_allowed_feature_mask() 326 static int smu_v13_0_7_check_powerplay_table(struct smu_context *smu) in smu_v13_0_7_check_powerplay_table() 371 static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu) in smu_v13_0_7_store_powerplay_table() 387 static int smu_v13_0_7_check_fw_status(struct smu_context *smu) in smu_v13_0_7_check_fw_status() 409 static int smu_v13_0_7_append_powerplay_table(struct smu_context *smu) in smu_v13_0_7_append_powerplay_table() 434 static int smu_v13_0_7_get_pptable_from_pmfw(struct smu_context *smu, in smu_v13_0_7_get_pptable_from_pmfw() 452 static int smu_v13_0_7_setup_pptable(struct smu_context *smu) in smu_v13_0_7_setup_pptable() 490 static int smu_v13_0_7_tables_init(struct smu_context *smu) in smu_v13_0_7_tables_init() 538 static int smu_v13_0_7_allocate_dpm_context(struct smu_context *smu) in smu_v13_0_7_allocate_dpm_context() 552 static int smu_v13_0_7_init_smc_tables(struct smu_context *smu) in smu_v13_0_7_init_smc_tables() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 58 int smu_v12_0_check_fw_status(struct smu_context *smu) in smu_v12_0_check_fw_status() 73 int smu_v12_0_check_fw_version(struct smu_context *smu) in smu_v12_0_check_fw_version() 110 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate) in smu_v12_0_powergate_sdma() 121 int smu_v12_0_set_gfx_cgpg(struct smu_context *smu, bool enable) in smu_v12_0_set_gfx_cgpg() 145 uint32_t smu_v12_0_get_gfxoff_status(struct smu_context *smu) in smu_v12_0_get_gfxoff_status() 158 int smu_v12_0_gfx_off_control(struct smu_context *smu, bool enable) in smu_v12_0_gfx_off_control() 182 int smu_v12_0_fini_smc_tables(struct smu_context *smu) in smu_v12_0_fini_smc_tables() 201 int smu_v12_0_set_default_dpm_tables(struct smu_context *smu) in smu_v12_0_set_default_dpm_tables() 208 int smu_v12_0_mode2_reset(struct smu_context *smu) in smu_v12_0_mode2_reset() 213 int smu_v12_0_set_soft_freq_limited_range(struct smu_context *smu, enum smu_clk_type clk_type, in smu_v12_0_set_soft_freq_limited_range() [all …]
|
D | renoir_ppt.c | 156 static int renoir_init_smc_tables(struct smu_context *smu) in renoir_init_smc_tables() 202 static int renoir_get_dpm_clk_limited(struct smu_context *smu, enum smu_clk_type clk_type, in renoir_get_dpm_clk_limited() 250 static int renoir_get_profiling_clk_mask(struct smu_context *smu, in renoir_get_profiling_clk_mask() 280 static int renoir_get_dpm_ultimate_freq(struct smu_context *smu, in renoir_get_dpm_ultimate_freq() 383 static int renoir_od_edit_dpm_table(struct smu_context *smu, in renoir_od_edit_dpm_table() 470 static int renoir_set_fine_grain_gfx_freq_parameters(struct smu_context *smu) in renoir_set_fine_grain_gfx_freq_parameters() 494 static int renoir_print_clk_levels(struct smu_context *smu, in renoir_print_clk_levels() 620 static enum amd_pm_state_type renoir_get_current_power_state(struct smu_context *smu) in renoir_get_current_power_state() 650 static int renoir_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_vcn_enable() 672 static int renoir_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_jpeg_enable() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 114 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_gfx_power_up_by_imu() 276 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_mode1_reset_supported() 290 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_mode1_reset() 356 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_allow_xgmi_power_down() 612 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_pages_num() 627 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_channel_flag() 668 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_soft_freq_range() 689 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_write_watermarks_table() 706 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_wait_for_event() 721 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_residency_gfxoff() [all …]
|