/drivers/gpu/drm/amd/powerplay/eventmgr/ |
D | psm.c | 98 pcurrent = hwmgr->current_ps; in psm_adjust_power_state_dynamic() 111 memcpy(hwmgr->current_ps, hwmgr->request_ps, hwmgr->ps_size); in psm_adjust_power_state_dynamic()
|
/drivers/gpu/drm/radeon/ |
D | trinity_dpm.c | 966 struct trinity_ps *current_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock() local 969 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_before_set_eng_clock() 980 struct trinity_ps *current_ps = trinity_get_ps(old_rps); in trinity_set_uvd_clock_after_set_eng_clock() local 983 current_ps->levels[current_ps->num_levels - 1].sclk) in trinity_set_uvd_clock_after_set_eng_clock() 1073 pi->current_ps = *new_ps; in trinity_update_current_ps() 1074 pi->current_rps.ps_priv = &pi->current_ps; in trinity_update_current_ps() 1352 pi->current_ps.num_levels = 1; in trinity_construct_boot_state() 1353 pi->current_ps.levels[0] = pi->boot_pl; in trinity_construct_boot_state() 1399 struct trinity_ps *current_ps) in trinity_patch_thermal_state() argument 1407 if (current_ps) { in trinity_patch_thermal_state() [all …]
|
D | sumo_dpm.c | 839 struct sumo_ps *current_ps = sumo_get_ps(old_rps); in sumo_set_uvd_clock_before_set_eng_clock() local 846 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_before_set_eng_clock() 857 struct sumo_ps *current_ps = sumo_get_ps(old_rps); in sumo_set_uvd_clock_after_set_eng_clock() local 864 current_ps->levels[current_ps->num_levels - 1].sclk) in sumo_set_uvd_clock_after_set_eng_clock() 1045 struct sumo_ps *current_ps) in sumo_patch_thermal_state() argument 1053 if (current_ps) { in sumo_patch_thermal_state() 1054 current_vddc = current_ps->levels[current_index].vddc_index; in sumo_patch_thermal_state() 1055 current_sclk = current_ps->levels[current_index].sclk; in sumo_patch_thermal_state() 1092 struct sumo_ps *current_ps = sumo_get_ps(old_rps); in sumo_apply_state_adjust_rules() local 1100 return sumo_patch_thermal_state(rdev, ps, current_ps); in sumo_apply_state_adjust_rules() [all …]
|
D | rs780_dpm.c | 380 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_voltage() 407 struct igp_ps *current_state = rs780_get_ps(rdev->pm.dpm.current_ps); in rs780_force_fbdiv() 653 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in rs780_dpm_set_power_state() 983 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_debugfs_print_current_performance_level() 1030 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rs780_dpm_force_performance_level()
|
D | trinity_dpm.h | 114 struct trinity_ps current_ps; member
|
D | cypress_dpm.h | 92 struct rv7xx_ps current_ps; member
|
D | kv_dpm.h | 181 struct kv_ps current_ps; member
|
D | sumo_dpm.h | 132 struct sumo_ps current_ps; member
|
D | ni_dpm.h | 205 struct ni_ps current_ps; member
|
D | radeon_pm.c | 1024 if (rdev->pm.dpm.current_ps == rdev->pm.dpm.requested_ps) { in radeon_dpm_change_power_state_locked() 1070 radeon_dpm_print_power_state(rdev, rdev->pm.dpm.current_ps); in radeon_dpm_change_power_state_locked() 1101 rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps; in radeon_dpm_change_power_state_locked() 1204 rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; in radeon_pm_suspend_dpm() 1260 rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; in radeon_pm_resume_dpm() 1389 rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps = rdev->pm.dpm.boot_ps; in radeon_pm_init_dpm()
|
D | ci_dpm.h | 289 struct ci_ps current_ps; member
|
D | rv6xx_dpm.c | 1661 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in rv6xx_dpm_set_power_state() 2031 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_debugfs_print_current_performance_level() 2056 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_sclk() 2079 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv6xx_dpm_get_current_mclk()
|
D | rv770_dpm.c | 2041 struct radeon_ps *old_ps = rdev->pm.dpm.current_ps; in rv770_dpm_set_power_state() 2468 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_debugfs_print_current_performance_level() 2497 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_sclk() 2519 struct radeon_ps *rps = rdev->pm.dpm.current_ps; in rv770_dpm_get_current_mclk()
|
D | btc_dpm.c | 2264 eg_pi->current_ps = *new_ps; in btc_update_current_ps() 2265 eg_pi->current_rps.ps_priv = &eg_pi->current_ps; in btc_update_current_ps()
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | hwmgr.c | 164 hwmgr->current_ps = kzalloc(size, GFP_KERNEL); in hw_init_power_state_table() 165 if (hwmgr->current_ps == NULL) { in hw_init_power_state_table() 180 memcpy(hwmgr->current_ps, state, size); in hw_init_power_state_table() 199 kfree(hwmgr->current_ps); in hw_fini_power_state_table() 204 hwmgr->current_ps = NULL; in hw_fini_power_state_table()
|
D | hardwaremanager.c | 175 const struct pp_power_state *current_ps) in phm_apply_state_adjust_rules() argument 183 current_ps); in phm_apply_state_adjust_rules()
|
/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 536 if (hwmgr->current_ps == NULL) in pp_dpm_get_current_power_state() 541 state = hwmgr->current_ps; in pp_dpm_get_current_power_state() 1306 ret = phm_get_clock_info(hwmgr, &hwmgr->current_ps->hardware, in amd_powerplay_get_current_clocks() 1309 ret = phm_get_clock_info(hwmgr, &hwmgr->current_ps->hardware, in amd_powerplay_get_current_clocks() 1330 if (0 == phm_get_current_shallow_sleep_clocks(hwmgr, &hwmgr->current_ps->hardware, &hw_clocks)) { in amd_powerplay_get_current_clocks()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | kv_dpm.h | 207 struct kv_ps current_ps; member
|
D | ci_dpm.h | 290 struct ci_ps current_ps; member
|
D | si_dpm.h | 676 struct rv7xx_ps current_ps; member 845 struct si_ps current_ps; member
|
D | amdgpu_pm.c | 565 adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; in amdgpu_set_pp_sclk_od() 611 adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; in amdgpu_set_pp_mclk_od() 1241 amdgpu_dpm_print_power_state(adev, adev->pm.dpm.current_ps); in amdgpu_dpm_change_power_state_locked() 1255 …if ((0 != amgdpu_dpm_check_state_equal(adev, adev->pm.dpm.current_ps, adev->pm.dpm.requested_ps, &… in amdgpu_dpm_change_power_state_locked()
|
D | kv_dpm.c | 1231 pi->current_ps = *new_ps; in kv_update_current_ps() 1232 pi->current_rps.ps_priv = &pi->current_ps; in kv_update_current_ps() 1233 adev->pm.dpm.current_ps = &pi->current_rps; in kv_update_current_ps() 3010 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in kv_dpm_sw_init() 3081 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in kv_dpm_suspend()
|
D | amdgpu_dpm.h | 422 struct amdgpu_ps *current_ps; member
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hardwaremanager.h | 390 const struct pp_power_state *current_ps);
|
D | hwmgr.h | 780 struct pp_power_state *current_ps; member
|