/Linux-v6.1/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 | 152 int smu_v11_0_init_microcode(struct smu_context *smu); 154 void smu_v11_0_fini_microcode(struct smu_context *smu); 156 int smu_v11_0_load_microcode(struct smu_context *smu); 158 int smu_v11_0_init_smc_tables(struct smu_context *smu); 160 int smu_v11_0_fini_smc_tables(struct smu_context *smu); 162 int smu_v11_0_init_power(struct smu_context *smu); 164 int smu_v11_0_fini_power(struct smu_context *smu); 166 int smu_v11_0_check_fw_status(struct smu_context *smu); 168 int smu_v11_0_setup_pptable(struct smu_context *smu); 170 int smu_v11_0_get_vbios_bootup_values(struct smu_context *smu); [all …]
|
D | amdgpu_smu.h | 480 struct smu_context struct 584 int (*run_btc)(struct smu_context *smu); argument 591 int (*get_allowed_feature_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num); 598 enum amd_pm_state_type (*get_current_power_state)(struct smu_context *smu); 604 int (*set_default_dpm_table)(struct smu_context *smu); 606 int (*set_power_state)(struct smu_context *smu); 612 int (*populate_umd_state_clk)(struct smu_context *smu); 621 int (*print_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf); 634 …int (*emit_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf, int *offset… 642 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.1/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.h | 33 int smu_cmn_send_msg_without_waiting(struct smu_context *smu, 36 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, 41 int smu_cmn_send_smc_msg(struct smu_context *smu, 45 int smu_cmn_wait_for_response(struct smu_context *smu); 47 int smu_cmn_to_asic_specific_index(struct smu_context *smu, 51 int smu_cmn_feature_is_supported(struct smu_context *smu, 54 int smu_cmn_feature_is_enabled(struct smu_context *smu, 57 bool smu_cmn_clk_dpm_is_enabled(struct smu_context *smu, 60 int smu_cmn_get_enabled_mask(struct smu_context *smu, 67 int smu_cmn_feature_update_enable_state(struct smu_context *smu, [all …]
|
D | amdgpu_smu.c | 57 static int smu_force_smuclk_levels(struct smu_context *smu, 60 static int smu_handle_task(struct smu_context *smu, 63 static int smu_reset(struct smu_context *smu); 68 static int smu_set_gfx_cgpg(struct smu_context *smu, bool enabled); 74 struct smu_context *smu = handle; in smu_sys_get_pp_feature_mask() 85 struct smu_context *smu = handle; in smu_sys_set_pp_feature_mask() 93 int smu_set_residency_gfxoff(struct smu_context *smu, bool value) in smu_set_residency_gfxoff() 101 int smu_get_residency_gfxoff(struct smu_context *smu, u32 *value) in smu_get_residency_gfxoff() 109 int smu_get_entrycount_gfxoff(struct smu_context *smu, u64 *value) in smu_get_entrycount_gfxoff() 117 int smu_get_status_gfxoff(struct smu_context *smu, uint32_t *value) in smu_get_status_gfxoff() [all …]
|
D | smu_cmn.c | 54 static const char *smu_get_message_name(struct smu_context *smu, in smu_get_message_name() 63 static void smu_cmn_read_arg(struct smu_context *smu, in smu_cmn_read_arg() 107 static u32 __smu_cmn_poll_stat(struct smu_context *smu) in __smu_cmn_poll_stat() 124 static void __smu_cmn_reg_print_error(struct smu_context *smu, in __smu_cmn_reg_print_error() 180 static int __smu_cmn_reg2errno(struct smu_context *smu, u32 reg_c2pmsg_90) in __smu_cmn_reg2errno() 225 static void __smu_cmn_send_msg(struct smu_context *smu, in __smu_cmn_send_msg() 249 int smu_cmn_send_msg_without_waiting(struct smu_context *smu, in smu_cmn_send_msg_without_waiting() 287 int smu_cmn_wait_for_response(struct smu_context *smu) in smu_cmn_wait_for_response() 336 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() 379 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.c | 88 int smu_v13_0_init_microcode(struct smu_context *smu) in smu_v13_0_init_microcode() 144 void smu_v13_0_fini_microcode(struct smu_context *smu) in smu_v13_0_fini_microcode() 153 int smu_v13_0_load_microcode(struct smu_context *smu) in smu_v13_0_load_microcode() 195 int smu_v13_0_init_pptable_microcode(struct smu_context *smu) in smu_v13_0_init_pptable_microcode() 246 int smu_v13_0_check_fw_status(struct smu_context *smu) in smu_v13_0_check_fw_status() 269 int smu_v13_0_check_fw_version(struct smu_context *smu) in smu_v13_0_check_fw_version() 340 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() 355 static int smu_v13_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v13_0_set_pptable_v2_1() 382 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() 404 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 | 228 static int aldebaran_tables_init(struct smu_context *smu) in aldebaran_tables_init() 267 static int aldebaran_allocate_dpm_context(struct smu_context *smu) in aldebaran_allocate_dpm_context() 280 static int aldebaran_init_smc_tables(struct smu_context *smu) in aldebaran_init_smc_tables() 295 static int aldebaran_get_allowed_feature_mask(struct smu_context *smu, in aldebaran_get_allowed_feature_mask() 307 static int aldebaran_set_default_dpm_table(struct smu_context *smu) in aldebaran_set_default_dpm_table() 384 static int aldebaran_check_powerplay_table(struct smu_context *smu) in aldebaran_check_powerplay_table() 396 static int aldebaran_store_powerplay_table(struct smu_context *smu) in aldebaran_store_powerplay_table() 407 static int aldebaran_append_powerplay_table(struct smu_context *smu) in aldebaran_append_powerplay_table() 433 static int aldebaran_setup_pptable(struct smu_context *smu) in aldebaran_setup_pptable() 459 static bool aldebaran_is_primary(struct smu_context *smu) in aldebaran_is_primary() [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 | yellow_carp_ppt.c | 143 static int yellow_carp_init_smc_tables(struct smu_context *smu) in yellow_carp_init_smc_tables() 185 static int yellow_carp_fini_smc_tables(struct smu_context *smu) in yellow_carp_fini_smc_tables() 204 static int yellow_carp_system_features_control(struct smu_context *smu, bool en) in yellow_carp_system_features_control() 215 static int yellow_carp_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in yellow_carp_dpm_set_vcn_enable() 230 static int yellow_carp_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in yellow_carp_dpm_set_jpeg_enable() 246 static bool yellow_carp_is_dpm_running(struct smu_context *smu) in yellow_carp_is_dpm_running() 259 static int yellow_carp_post_smu_init(struct smu_context *smu) in yellow_carp_post_smu_init() 271 static int yellow_carp_mode_reset(struct smu_context *smu, int type) in yellow_carp_mode_reset() 282 static int yellow_carp_mode2_reset(struct smu_context *smu) in yellow_carp_mode2_reset() 323 static int yellow_carp_get_smu_metrics_data(struct smu_context *smu, in yellow_carp_get_smu_metrics_data() [all …]
|
D | smu_v13_0_0_ppt.c | 240 smu_v13_0_0_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_0_get_allowed_feature_mask() 289 static int smu_v13_0_0_check_powerplay_table(struct smu_context *smu) in smu_v13_0_0_check_powerplay_table() 318 static int smu_v13_0_0_store_powerplay_table(struct smu_context *smu) in smu_v13_0_0_store_powerplay_table() 337 static int smu_v13_0_0_append_powerplay_table(struct smu_context *smu) in smu_v13_0_0_append_powerplay_table() 358 static int smu_v13_0_0_get_pptable_from_pmfw(struct smu_context *smu, in smu_v13_0_0_get_pptable_from_pmfw() 376 static int smu_v13_0_0_setup_pptable(struct smu_context *smu) in smu_v13_0_0_setup_pptable() 409 static int smu_v13_0_0_tables_init(struct smu_context *smu) in smu_v13_0_0_tables_init() 456 static int smu_v13_0_0_allocate_dpm_context(struct smu_context *smu) in smu_v13_0_0_allocate_dpm_context() 470 static int smu_v13_0_0_init_smc_tables(struct smu_context *smu) in smu_v13_0_0_init_smc_tables() 485 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 | smu_v13_0_4_ppt.c | 146 static int smu_v13_0_4_init_smc_tables(struct smu_context *smu) in smu_v13_0_4_init_smc_tables() 188 static int smu_v13_0_4_fini_smc_tables(struct smu_context *smu) in smu_v13_0_4_fini_smc_tables() 207 static bool smu_v13_0_4_is_dpm_running(struct smu_context *smu) in smu_v13_0_4_is_dpm_running() 220 static int smu_v13_0_4_system_features_control(struct smu_context *smu, bool en) in smu_v13_0_4_system_features_control() 231 static ssize_t smu_v13_0_4_get_gpu_metrics(struct smu_context *smu, in smu_v13_0_4_get_gpu_metrics() 284 static int smu_v13_0_4_get_smu_metrics_data(struct smu_context *smu, in smu_v13_0_4_get_smu_metrics_data() 369 static int smu_v13_0_4_get_current_clk_freq(struct smu_context *smu, in smu_v13_0_4_get_current_clk_freq() 405 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() 449 static int smu_v13_0_4_get_dpm_level_count(struct smu_context *smu, in smu_v13_0_4_get_dpm_level_count() 478 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 | 242 smu_v13_0_7_get_allowed_feature_mask(struct smu_context *smu, in smu_v13_0_7_get_allowed_feature_mask() 311 static int smu_v13_0_7_check_powerplay_table(struct smu_context *smu) in smu_v13_0_7_check_powerplay_table() 342 static int smu_v13_0_7_store_powerplay_table(struct smu_context *smu) in smu_v13_0_7_store_powerplay_table() 358 static int smu_v13_0_7_check_fw_status(struct smu_context *smu) in smu_v13_0_7_check_fw_status() 381 static int smu_v13_0_7_append_powerplay_table(struct smu_context *smu) in smu_v13_0_7_append_powerplay_table() 406 static int smu_v13_0_7_get_pptable_from_pmfw(struct smu_context *smu, in smu_v13_0_7_get_pptable_from_pmfw() 424 static int smu_v13_0_7_setup_pptable(struct smu_context *smu) in smu_v13_0_7_setup_pptable() 462 static int smu_v13_0_7_tables_init(struct smu_context *smu) in smu_v13_0_7_tables_init() 510 static int smu_v13_0_7_allocate_dpm_context(struct smu_context *smu) in smu_v13_0_7_allocate_dpm_context() 524 static int smu_v13_0_7_init_smc_tables(struct smu_context *smu) in smu_v13_0_7_init_smc_tables() [all …]
|
D | smu_v13_0_0_ppt.h | 26 extern void smu_v13_0_0_set_ppt_funcs(struct smu_context *smu);
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 82 int smu_v11_0_init_microcode(struct smu_context *smu) in smu_v11_0_init_microcode() 160 void smu_v11_0_fini_microcode(struct smu_context *smu) in smu_v11_0_fini_microcode() 169 int smu_v11_0_load_microcode(struct smu_context *smu) in smu_v11_0_load_microcode() 209 int smu_v11_0_check_fw_status(struct smu_context *smu) in smu_v11_0_check_fw_status() 224 int smu_v11_0_check_fw_version(struct smu_context *smu) in smu_v11_0_check_fw_version() 299 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() 314 static int smu_v11_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v11_0_set_pptable_v2_1() 341 int smu_v11_0_setup_pptable(struct smu_context *smu) in smu_v11_0_setup_pptable() 395 int smu_v11_0_init_smc_tables(struct smu_context *smu) in smu_v11_0_init_smc_tables() 454 int smu_v11_0_fini_smc_tables(struct smu_context *smu) in smu_v11_0_fini_smc_tables() [all …]
|
D | vangogh_ppt.c | 222 static int vangogh_tables_init(struct smu_context *smu) in vangogh_tables_init() 285 static int vangogh_get_legacy_smu_metrics_data(struct smu_context *smu, in vangogh_get_legacy_smu_metrics_data() 354 static int vangogh_get_smu_metrics_data(struct smu_context *smu, in vangogh_get_smu_metrics_data() 423 static int vangogh_common_get_smu_metrics_data(struct smu_context *smu, in vangogh_common_get_smu_metrics_data() 445 static int vangogh_allocate_dpm_context(struct smu_context *smu) in vangogh_allocate_dpm_context() 459 static int vangogh_init_smc_tables(struct smu_context *smu) in vangogh_init_smc_tables() 481 static int vangogh_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in vangogh_dpm_set_vcn_enable() 499 static int vangogh_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in vangogh_dpm_set_jpeg_enable() 516 static bool vangogh_is_dpm_running(struct smu_context *smu) in vangogh_is_dpm_running() 534 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() 186 static int cyan_skillfish_read_sensor(struct smu_context *smu, in cyan_skillfish_read_sensor() 249 static int cyan_skillfish_get_current_clk_freq(struct smu_context *smu, in cyan_skillfish_get_current_clk_freq() 280 static int cyan_skillfish_print_clk_levels(struct smu_context *smu, in cyan_skillfish_print_clk_levels() 349 static bool cyan_skillfish_is_dpm_running(struct smu_context *smu) in cyan_skillfish_is_dpm_running() 373 static ssize_t cyan_skillfish_get_gpu_metrics(struct smu_context *smu, in cyan_skillfish_get_gpu_metrics() 428 static int cyan_skillfish_od_edit_dpm_table(struct smu_context *smu, in cyan_skillfish_od_edit_dpm_table() 525 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() 364 static void navi10_check_bxco_support(struct smu_context *smu) in navi10_check_bxco_support() 382 static int navi10_check_powerplay_table(struct smu_context *smu) in navi10_check_powerplay_table() 405 static int navi10_append_powerplay_table(struct smu_context *smu) in navi10_append_powerplay_table() 458 static int navi10_store_powerplay_table(struct smu_context *smu) in navi10_store_powerplay_table() 470 static int navi10_setup_pptable(struct smu_context *smu) in navi10_setup_pptable() 493 static int navi10_tables_init(struct smu_context *smu) in navi10_tables_init() 548 static int navi10_get_legacy_smu_metrics_data(struct smu_context *smu, in navi10_get_legacy_smu_metrics_data() 634 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() 450 static int sienna_cichlid_store_powerplay_table(struct smu_context *smu) in sienna_cichlid_store_powerplay_table() 464 static int sienna_cichlid_patch_pptable_quirk(struct smu_context *smu) in sienna_cichlid_patch_pptable_quirk() 494 static int sienna_cichlid_setup_pptable(struct smu_context *smu) in sienna_cichlid_setup_pptable() 517 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.1/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() 212 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() 619 static enum amd_pm_state_type renoir_get_current_power_state(struct smu_context *smu) in renoir_get_current_power_state() 649 static int renoir_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_vcn_enable() 671 static int renoir_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_jpeg_enable() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 112 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_gfx_power_up_by_imu() 256 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_is_mode1_reset_supported() 270 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_mode1_reset() 336 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_allow_xgmi_power_down() 564 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_pages_num() 579 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_send_hbm_bad_channel_flag() 620 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_soft_freq_range() 641 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_write_watermarks_table() 658 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_wait_for_event() 673 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_residency_gfxoff() [all …]
|