Searched refs:pp_funcs (Results 1 – 10 of 10) sorted by relevance
102 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->display_configuration_change) in dm_pp_apply_display_requirements()103 adev->powerplay.pp_funcs->display_configuration_change( in dm_pp_apply_display_requirements()306 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_clock_by_type) { in dm_pp_get_clock_levels_by_type()307 if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, in dm_pp_get_clock_levels_by_type()317 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_display_mode_validation_clocks) { in dm_pp_get_clock_levels_by_type()318 if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks( in dm_pp_get_clock_levels_by_type()375 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in dm_pp_get_clock_levels_by_type_with_latency() local378 if (pp_funcs && pp_funcs->get_clock_by_type_with_latency) { in dm_pp_get_clock_levels_by_type_with_latency()379 ret = pp_funcs->get_clock_by_type_with_latency(pp_handle, in dm_pp_get_clock_levels_by_type_with_latency()399 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in dm_pp_get_clock_levels_by_type_with_voltage() local[all …]
257 ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle))260 ((adev)->powerplay.pp_funcs->set_power_state((adev)->powerplay.pp_handle))263 ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle))266 ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle))269 ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps)))272 ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle))275 ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e)))278 ((adev)->powerplay.pp_funcs->set_fan_control_mode((adev)->powerplay.pp_handle, (m)))281 ((adev)->powerplay.pp_funcs->get_fan_control_mode((adev)->powerplay.pp_handle))284 ((adev)->powerplay.pp_funcs->set_fan_speed_pwm((adev)->powerplay.pp_handle, (s)))[all …]
914 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_sclk() local916 return pp_funcs->get_sclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_sclk()921 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_mclk() local923 return pp_funcs->get_mclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_mclk()929 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_set_powergating_by_smu() local934 if (pp_funcs && pp_funcs->set_powergating_by_smu) { in amdgpu_dpm_set_powergating_by_smu()962 ret = (pp_funcs->set_powergating_by_smu( in amdgpu_dpm_set_powergating_by_smu()973 if (pp_funcs && pp_funcs->set_powergating_by_smu) { in amdgpu_dpm_set_powergating_by_smu()974 ret = (pp_funcs->set_powergating_by_smu( in amdgpu_dpm_set_powergating_by_smu()987 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_baco_enter() local[all …]
125 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_get_power_dpm_state() local140 if (pp_funcs->get_current_power_state) { in amdgpu_get_power_dpm_state()188 } else if (adev->powerplay.pp_funcs->dispatch_tasks) { in amdgpu_set_power_dpm_state()283 if (adev->powerplay.pp_funcs->get_performance_level) in amdgpu_get_power_dpm_force_performance_level()311 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_set_power_dpm_force_performance_level() local351 if (pp_funcs->get_performance_level) in amdgpu_set_power_dpm_force_performance_level()381 if (pp_funcs->force_performance_level) { in amdgpu_set_power_dpm_force_performance_level()412 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_get_pp_num_states() local428 if (pp_funcs->get_pp_num_states) { in amdgpu_get_pp_num_states()454 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_get_pp_cur_state() local[all …]
865 if (adev->powerplay.pp_funcs && in amdgpu_gfx_state_change_set()866 adev->powerplay.pp_funcs->gfx_state_change_set) in amdgpu_gfx_state_change_set()867 ((adev)->powerplay.pp_funcs->gfx_state_change_set( in amdgpu_gfx_state_change_set()
765 const struct amd_pm_funcs *pp_funcs; member
59 adev->powerplay.pp_funcs = &pp_dpm_funcs; in amd_powerplay_create()
2969 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
7920 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()
635 adev->powerplay.pp_funcs = &swsmu_pm_funcs; in smu_early_init()