Searched refs:pp_funcs (Results 1 – 8 of 8) sorted by relevance
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_percent((adev)->powerplay.pp_handle, (s)))[all …]
105 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->display_configuration_change) in dm_pp_apply_display_requirements()106 adev->powerplay.pp_funcs->display_configuration_change( in dm_pp_apply_display_requirements()342 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_clock_by_type) { in dm_pp_get_clock_levels_by_type()343 if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, in dm_pp_get_clock_levels_by_type()360 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->get_display_mode_validation_clocks) { in dm_pp_get_clock_levels_by_type()361 if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks( in dm_pp_get_clock_levels_by_type()425 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in dm_pp_get_clock_levels_by_type_with_latency() local428 if (pp_funcs && pp_funcs->get_clock_by_type_with_latency) { in dm_pp_get_clock_levels_by_type_with_latency()429 ret = pp_funcs->get_clock_by_type_with_latency(pp_handle, in dm_pp_get_clock_levels_by_type_with_latency()455 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in dm_pp_get_clock_levels_by_type_with_voltage() local[all …]
925 return (adev)->powerplay.pp_funcs->get_sclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_sclk()942 return (adev)->powerplay.pp_funcs->get_mclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_mclk()956 } else if (adev->powerplay.pp_funcs && in amdgpu_dpm_set_powergating_by_smu()957 adev->powerplay.pp_funcs->set_powergating_by_smu) { in amdgpu_dpm_set_powergating_by_smu()985 ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( in amdgpu_dpm_set_powergating_by_smu()995 else if (adev->powerplay.pp_funcs && in amdgpu_dpm_set_powergating_by_smu()996 adev->powerplay.pp_funcs->set_powergating_by_smu) in amdgpu_dpm_set_powergating_by_smu()997 ret = ((adev)->powerplay.pp_funcs->set_powergating_by_smu( in amdgpu_dpm_set_powergating_by_smu()1006 if (adev->powerplay.pp_funcs && in amdgpu_dpm_set_powergating_by_smu()1007 adev->powerplay.pp_funcs->set_powergating_by_smu) in amdgpu_dpm_set_powergating_by_smu()[all …]
138 } else if (adev->powerplay.pp_funcs->get_current_power_state) { in amdgpu_get_power_dpm_state()184 } else if (adev->powerplay.pp_funcs->dispatch_tasks) { in amdgpu_set_power_dpm_state()279 else if (adev->powerplay.pp_funcs->get_performance_level) in amdgpu_get_power_dpm_force_performance_level()343 else if (adev->powerplay.pp_funcs->get_performance_level) in amdgpu_set_power_dpm_force_performance_level()380 } else if (adev->powerplay.pp_funcs->force_performance_level) { in amdgpu_set_power_dpm_force_performance_level()427 } else if (adev->powerplay.pp_funcs->get_pp_num_states) { in amdgpu_get_pp_num_states()472 } else if (adev->powerplay.pp_funcs->get_current_power_state in amdgpu_get_pp_cur_state()473 && adev->powerplay.pp_funcs->get_pp_num_states) { in amdgpu_get_pp_cur_state()526 else if (adev->powerplay.pp_funcs->dispatch_tasks && in amdgpu_set_pp_force_state()527 adev->powerplay.pp_funcs->get_pp_num_states) { in amdgpu_set_pp_force_state()[all …]
724 const struct amd_pm_funcs *pp_funcs; member
59 adev->powerplay.pp_funcs = &pp_dpm_funcs; in amd_powerplay_create()
2959 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
7921 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()