/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_smu.h | 387 struct smu_context struct 465 int (*run_btc)(struct smu_context *smu); argument 466 int (*get_allowed_feature_mask)(struct smu_context *smu, uint32_t *feature_mask, uint32_t num); 467 enum amd_pm_state_type (*get_current_power_state)(struct smu_context *smu); 468 int (*set_default_dpm_table)(struct smu_context *smu); 469 int (*set_power_state)(struct smu_context *smu); 470 int (*populate_umd_state_clk)(struct smu_context *smu); 471 int (*print_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, char *buf); 472 int (*force_clk_levels)(struct smu_context *smu, enum smu_clk_type clk_type, uint32_t mask); 473 int (*set_default_od8_settings)(struct smu_context *smu); [all …]
|
D | smu_v11_0.h | 139 int smu_v11_0_init_microcode(struct smu_context *smu); 141 void smu_v11_0_fini_microcode(struct smu_context *smu); 143 int smu_v11_0_load_microcode(struct smu_context *smu); 145 int smu_v11_0_init_smc_tables(struct smu_context *smu); 147 int smu_v11_0_fini_smc_tables(struct smu_context *smu); 149 int smu_v11_0_init_power(struct smu_context *smu); 151 int smu_v11_0_fini_power(struct smu_context *smu); 153 int smu_v11_0_check_fw_status(struct smu_context *smu); 155 int smu_v11_0_setup_pptable(struct smu_context *smu); 157 int smu_v11_0_get_vbios_bootup_values(struct smu_context *smu); [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-v5.10/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.h | 29 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, 34 int smu_cmn_send_smc_msg(struct smu_context *smu, 38 int smu_cmn_to_asic_specific_index(struct smu_context *smu, 42 int smu_cmn_feature_is_supported(struct smu_context *smu, 45 int smu_cmn_feature_is_enabled(struct smu_context *smu, 48 bool smu_cmn_clk_dpm_is_enabled(struct smu_context *smu, 51 int smu_cmn_get_enabled_mask(struct smu_context *smu, 55 int smu_cmn_feature_update_enable_state(struct smu_context *smu, 59 int smu_cmn_feature_set_enabled(struct smu_context *smu, 63 size_t smu_cmn_get_pp_feature_mask(struct smu_context *smu, [all …]
|
D | amdgpu_smu.c | 48 size_t smu_sys_get_pp_feature_mask(struct smu_context *smu, char *buf) in smu_sys_get_pp_feature_mask() 64 int smu_sys_set_pp_feature_mask(struct smu_context *smu, uint64_t new_mask) in smu_sys_set_pp_feature_mask() 83 struct smu_context *smu = &adev->smu; in smu_get_status_gfxoff() 93 int smu_set_soft_freq_range(struct smu_context *smu, in smu_set_soft_freq_range() 113 int smu_get_dpm_freq_range(struct smu_context *smu, in smu_get_dpm_freq_range() 136 static int smu_dpm_set_vcn_enable_locked(struct smu_context *smu, in smu_dpm_set_vcn_enable_locked() 156 static int smu_dpm_set_vcn_enable(struct smu_context *smu, in smu_dpm_set_vcn_enable() 172 static int smu_dpm_set_jpeg_enable_locked(struct smu_context *smu, in smu_dpm_set_jpeg_enable_locked() 192 static int smu_dpm_set_jpeg_enable(struct smu_context *smu, in smu_dpm_set_jpeg_enable() 222 int smu_dpm_set_power_gate(struct smu_context *smu, uint32_t block_type, in smu_dpm_set_power_gate() [all …]
|
D | smu_cmn.c | 62 static const char *smu_get_message_name(struct smu_context *smu, in smu_get_message_name() 71 static void smu_cmn_send_msg_without_waiting(struct smu_context *smu, in smu_cmn_send_msg_without_waiting() 79 static void smu_cmn_read_arg(struct smu_context *smu, in smu_cmn_read_arg() 87 static int smu_cmn_wait_for_response(struct smu_context *smu) in smu_cmn_wait_for_response() 107 int smu_cmn_send_smc_msg_with_param(struct smu_context *smu, in smu_cmn_send_smc_msg_with_param() 153 int smu_cmn_send_smc_msg(struct smu_context *smu, in smu_cmn_send_smc_msg() 163 int smu_cmn_to_asic_specific_index(struct smu_context *smu, in smu_cmn_to_asic_specific_index() 246 int smu_cmn_feature_is_supported(struct smu_context *smu, in smu_cmn_feature_is_supported() 268 int smu_cmn_feature_is_enabled(struct smu_context *smu, in smu_cmn_feature_is_enabled() 292 bool smu_cmn_clk_dpm_is_enabled(struct smu_context *smu, in smu_cmn_clk_dpm_is_enabled() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
D | smu_v12_0.c | 57 int smu_v12_0_check_fw_status(struct smu_context *smu) in smu_v12_0_check_fw_status() 72 int smu_v12_0_check_fw_version(struct smu_context *smu) in smu_v12_0_check_fw_version() 106 int smu_v12_0_powergate_sdma(struct smu_context *smu, bool gate) in smu_v12_0_powergate_sdma() 117 int smu_v12_0_set_gfx_cgpg(struct smu_context *smu, bool enable) in smu_v12_0_set_gfx_cgpg() 140 uint32_t smu_v12_0_get_gfxoff_status(struct smu_context *smu) in smu_v12_0_get_gfxoff_status() 153 int smu_v12_0_gfx_off_control(struct smu_context *smu, bool enable) in smu_v12_0_gfx_off_control() 177 int smu_v12_0_fini_smc_tables(struct smu_context *smu) in smu_v12_0_fini_smc_tables() 193 int smu_v12_0_set_default_dpm_tables(struct smu_context *smu) in smu_v12_0_set_default_dpm_tables() 200 int smu_v12_0_mode2_reset(struct smu_context *smu){ in smu_v12_0_mode2_reset() 204 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 | 131 static int renoir_init_smc_tables(struct smu_context *smu) in renoir_init_smc_tables() 177 static int renoir_get_dpm_clk_limited(struct smu_context *smu, enum smu_clk_type clk_type, in renoir_get_dpm_clk_limited() 213 static int renoir_get_profiling_clk_mask(struct smu_context *smu, in renoir_get_profiling_clk_mask() 243 static int renoir_get_dpm_ultimate_freq(struct smu_context *smu, in renoir_get_dpm_ultimate_freq() 346 static int renoir_print_clk_levels(struct smu_context *smu, in renoir_print_clk_levels() 422 static enum amd_pm_state_type renoir_get_current_power_state(struct smu_context *smu) in renoir_get_current_power_state() 452 static int renoir_dpm_set_vcn_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_vcn_enable() 474 static int renoir_dpm_set_jpeg_enable(struct smu_context *smu, bool enable) in renoir_dpm_set_jpeg_enable() 495 static int renoir_get_current_clk_freq_by_table(struct smu_context *smu, in renoir_get_current_clk_freq_by_table() 517 static int renoir_force_dpm_limit_value(struct smu_context *smu, bool highest) in renoir_force_dpm_limit_value() [all …]
|
D | renoir_ppt.h | 26 extern void renoir_set_ppt_funcs(struct smu_context *smu);
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 83 int smu_v11_0_init_microcode(struct smu_context *smu) in smu_v11_0_init_microcode() 149 void smu_v11_0_fini_microcode(struct smu_context *smu) in smu_v11_0_fini_microcode() 158 int smu_v11_0_load_microcode(struct smu_context *smu) in smu_v11_0_load_microcode() 198 int smu_v11_0_check_fw_status(struct smu_context *smu) in smu_v11_0_check_fw_status() 213 int smu_v11_0_check_fw_version(struct smu_context *smu) in smu_v11_0_check_fw_version() 272 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() 287 static int smu_v11_0_set_pptable_v2_1(struct smu_context *smu, void **table, in smu_v11_0_set_pptable_v2_1() 314 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() 418 int smu_v11_0_fini_smc_tables(struct smu_context *smu) in smu_v11_0_fini_smc_tables() [all …]
|
D | navi10_ppt.c | 239 static bool is_asic_secure(struct smu_context *smu) in is_asic_secure() 255 navi10_get_allowed_feature_mask(struct smu_context *smu, in navi10_get_allowed_feature_mask() 341 static int navi10_check_powerplay_table(struct smu_context *smu) in navi10_check_powerplay_table() 367 static int navi10_append_powerplay_table(struct smu_context *smu) in navi10_append_powerplay_table() 420 static int navi10_store_powerplay_table(struct smu_context *smu) in navi10_store_powerplay_table() 432 static int navi10_setup_pptable(struct smu_context *smu) in navi10_setup_pptable() 455 static int navi10_tables_init(struct smu_context *smu) in navi10_tables_init() 507 static int navi10_get_smu_metrics_data(struct smu_context *smu, in navi10_get_smu_metrics_data() 603 static int navi10_allocate_dpm_context(struct smu_context *smu) in navi10_allocate_dpm_context() 617 static int navi10_init_smc_tables(struct smu_context *smu) in navi10_init_smc_tables() [all …]
|
D | arcturus_ppt.c | 213 static int arcturus_tables_init(struct smu_context *smu) in arcturus_tables_init() 249 static int arcturus_allocate_dpm_context(struct smu_context *smu) in arcturus_allocate_dpm_context() 272 static int arcturus_init_smc_tables(struct smu_context *smu) in arcturus_init_smc_tables() 288 arcturus_get_allowed_feature_mask(struct smu_context *smu, in arcturus_get_allowed_feature_mask() 300 static int arcturus_set_default_dpm_table(struct smu_context *smu) in arcturus_set_default_dpm_table() 382 static int arcturus_check_powerplay_table(struct smu_context *smu) in arcturus_check_powerplay_table() 399 static int arcturus_store_powerplay_table(struct smu_context *smu) in arcturus_store_powerplay_table() 411 static int arcturus_append_powerplay_table(struct smu_context *smu) in arcturus_append_powerplay_table() 439 static int arcturus_setup_pptable(struct smu_context *smu) in arcturus_setup_pptable() 462 static int arcturus_run_btc(struct smu_context *smu) in arcturus_run_btc() [all …]
|
D | sienna_cichlid_ppt.c | 225 sienna_cichlid_get_allowed_feature_mask(struct smu_context *smu, in sienna_cichlid_get_allowed_feature_mask() 297 static int sienna_cichlid_check_powerplay_table(struct smu_context *smu) in sienna_cichlid_check_powerplay_table() 314 static int sienna_cichlid_append_powerplay_table(struct smu_context *smu) in sienna_cichlid_append_powerplay_table() 335 static int sienna_cichlid_store_powerplay_table(struct smu_context *smu) in sienna_cichlid_store_powerplay_table() 347 static int sienna_cichlid_setup_pptable(struct smu_context *smu) in sienna_cichlid_setup_pptable() 370 static int sienna_cichlid_tables_init(struct smu_context *smu) in sienna_cichlid_tables_init() 415 static int sienna_cichlid_get_smu_metrics_data(struct smu_context *smu, in sienna_cichlid_get_smu_metrics_data() 519 static int sienna_cichlid_allocate_dpm_context(struct smu_context *smu) in sienna_cichlid_allocate_dpm_context() 533 static int sienna_cichlid_init_smc_tables(struct smu_context *smu) in sienna_cichlid_init_smc_tables() 548 static int sienna_cichlid_set_default_dpm_table(struct smu_context *smu) in sienna_cichlid_set_default_dpm_table() [all …]
|
D | sienna_cichlid_ppt.h | 32 extern void sienna_cichlid_set_ppt_funcs(struct smu_context *smu);
|
D | navi10_ppt.h | 52 extern void navi10_set_ppt_funcs(struct smu_context *smu);
|
D | arcturus_ppt.h | 70 extern void arcturus_set_ppt_funcs(struct smu_context *smu);
|
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_pp_smu.c | 43 struct smu_context *smu = &adev->smu; in dm_pp_apply_display_requirements() 677 struct smu_context *smu = &adev->smu; in pp_nv_set_pme_wa_enable() 693 struct smu_context *smu = &adev->smu; in pp_nv_set_display_count() 710 struct smu_context *smu = &adev->smu; in pp_nv_set_min_deep_sleep_dcfclk() 727 struct smu_context *smu = &adev->smu; in pp_nv_set_hard_min_dcefclk_by_freq() 750 struct smu_context *smu = &adev->smu; in pp_nv_set_hard_min_uclk_by_freq() 773 struct smu_context *smu = &adev->smu; in pp_nv_set_pstate_handshake_support() 786 struct smu_context *smu = &adev->smu; in pp_nv_set_voltage_by_freq() 821 struct smu_context *smu = &adev->smu; in pp_nv_get_maximum_sustainable_clocks() 840 struct smu_context *smu = &adev->smu; in pp_nv_get_uclk_dpm_states() [all …]
|
D | amdgpu_dm.c | 1539 struct smu_context *smu = &adev->smu; in amdgpu_dm_smu_write_watermarks_table()
|
/Linux-v5.10/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1022 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_enter() 1042 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_exit() 1079 struct smu_context *smu = &adev->smu; in amdgpu_dpm_is_baco_supported() 1099 struct smu_context *smu = &adev->smu; in amdgpu_dpm_mode2_reset() 1115 struct smu_context *smu = &adev->smu; in amdgpu_dpm_baco_reset() 1147 struct smu_context *smu = &adev->smu; in amdgpu_dpm_is_mode1_reset_supported() 1157 struct smu_context *smu = &adev->smu; in amdgpu_dpm_mode1_reset() 1202 struct smu_context *smu = &adev->smu; in amdgpu_dpm_set_df_cstate() 1215 struct smu_context *smu = &adev->smu; in amdgpu_dpm_allow_xgmi_power_down() 1228 struct smu_context *smu = &adev->smu; in amdgpu_dpm_enable_mgpu_fan_boost()
|
D | amdgpu_pm.c | 454 struct smu_context *smu = &adev->smu; in amdgpu_get_pp_cur_state()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | nv.c | 309 struct smu_context *smu = &adev->smu; in nv_asic_supports_baco() 320 struct smu_context *smu = &adev->smu; in nv_asic_reset_method() 345 struct smu_context *smu = &adev->smu; in nv_asic_reset()
|
D | amdgpu.h | 872 struct smu_context smu;
|