/drivers/gpu/drm/radeon/ |
D | rs780_dpm.c | 75 struct radeon_ps *boot_ps) in rs780_initialize_dpm_power_state() argument 78 struct igp_ps *default_state = rs780_get_ps(boot_ps); in rs780_initialize_dpm_power_state() 109 struct radeon_ps *boot_ps) in rs780_initialize_dpm_parameters() argument 145 ret = rs780_initialize_dpm_power_state(rdev, boot_ps); in rs780_initialize_dpm_parameters() 600 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in rs780_dpm_enable() local 608 ret = rs780_initialize_dpm_parameters(rdev, boot_ps); in rs780_dpm_enable() 742 rdev->pm.dpm.boot_ps = rps; in rs780_parse_pplib_non_clock_info()
|
D | rv6xx_dpm.c | 1549 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in rv6xx_dpm_enable() local 1577 rv6xx_calculate_stepping_parameters(rdev, boot_ps); in rv6xx_dpm_enable() 1582 rv6xx_generate_stepping_table(rdev, boot_ps); in rv6xx_dpm_enable() 1602 rv6xx_enable_static_voltage_control(rdev, boot_ps, false); in rv6xx_dpm_enable() 1605 rv6xx_enable_dynamic_pcie_gen2(rdev, boot_ps, true); in rv6xx_dpm_enable() 1616 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in rv6xx_dpm_disable() local 1640 rv6xx_enable_static_voltage_control(rdev, boot_ps, true); in rv6xx_dpm_disable() 1643 rv6xx_enable_dynamic_pcie_gen2(rdev, boot_ps, false); in rv6xx_dpm_disable() 1812 rdev->pm.dpm.boot_ps = rps; in rv6xx_parse_pplib_non_clock_info()
|
D | cypress_dpm.c | 1807 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in cypress_dpm_enable() local 1835 cypress_force_mc_use_s0(rdev, boot_ps); in cypress_dpm_enable() 1839 cypress_force_mc_use_s1(rdev, boot_ps); in cypress_dpm_enable() 1874 ret = cypress_init_smc_table(rdev, boot_ps); in cypress_dpm_enable() 1880 ret = cypress_populate_mc_reg_table(rdev, boot_ps); in cypress_dpm_enable() 1918 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in cypress_dpm_disable() local 1949 cypress_force_mc_use_s1(rdev, boot_ps); in cypress_dpm_disable()
|
D | rv770_dpm.c | 1897 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in rv770_dpm_enable() local 1952 ret = rv770_init_smc_table(rdev, boot_ps); in rv770_dpm_enable() 2084 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; 2088 rv770_program_dcodt_before_state_switch(rdev, boot_ps, boot_ps); 2091 rv770_program_dcodt_after_state_switch(rdev, boot_ps, boot_ps); 2169 rdev->pm.dpm.boot_ps = rps; in rv7xx_parse_pplib_non_clock_info()
|
D | btc_dpm.c | 2379 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in btc_dpm_enable() local 2448 ret = btc_init_smc_table(rdev, boot_ps); in btc_dpm_enable() 2453 ret = cypress_populate_mc_reg_table(rdev, boot_ps); in btc_dpm_enable() 2487 btc_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in btc_dpm_enable() 2528 btc_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in btc_dpm_disable()
|
D | ni_dpm.c | 1943 struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; in ni_init_smc_table() 3587 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in ni_dpm_enable() local 3655 ret = ni_populate_mc_reg_table(rdev, boot_ps); in ni_dpm_enable() 3671 ret = ni_populate_smc_tdp_limits(rdev, boot_ps); in ni_dpm_enable() 3696 ni_update_current_ps(rdev, boot_ps); in ni_dpm_enable() 3705 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in ni_dpm_disable() local 3712 ni_enable_power_containment(rdev, boot_ps, false); in ni_dpm_disable() 3713 ni_enable_smc_cac(rdev, boot_ps, false); in ni_dpm_disable() 3736 ni_update_current_ps(rdev, boot_ps); in ni_dpm_disable() 3913 rdev->pm.dpm.boot_ps = rps; in ni_parse_pplib_non_clock_info()
|
D | si_dpm.c | 4752 struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; in si_init_smc_table() 6406 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in si_dpm_enable() local 6469 ret = si_populate_mc_reg_table(rdev, boot_ps); in si_dpm_enable() 6490 ret = si_populate_smc_tdp_limits(rdev, boot_ps); in si_dpm_enable() 6495 ret = si_populate_smc_tdp_limits_2(rdev, boot_ps); in si_dpm_enable() 6515 ni_update_current_ps(rdev, boot_ps); in si_dpm_enable() 6551 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in si_dpm_disable() local 6560 si_enable_power_containment(rdev, boot_ps, false); in si_dpm_disable() 6561 si_enable_smc_cac(rdev, boot_ps, false); in si_dpm_disable() 6569 ni_update_current_ps(rdev, boot_ps); in si_dpm_disable() [all …]
|
D | radeon_pm.c | 944 return rdev->pm.dpm.boot_ps; in radeon_dpm_pick_power_state() 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 | trinity_dpm.c | 1123 trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in trinity_dpm_enable() 1171 trinity_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in trinity_dpm_disable() 1699 rdev->pm.dpm.boot_ps = rps; in trinity_parse_pplib_non_clock_info()
|
D | sumo_dpm.c | 1233 sumo_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in sumo_dpm_enable() 1278 sumo_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in sumo_dpm_disable() 1423 rdev->pm.dpm.boot_ps = rps; in sumo_parse_pplib_non_clock_info()
|
D | ci_dpm.c | 3541 struct radeon_ps *radeon_boot_state = rdev->pm.dpm.boot_ps; in ci_init_smc_table() 5148 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in ci_dpm_enable() local 5265 ci_update_current_ps(rdev, boot_ps); in ci_dpm_enable() 5303 struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps; in ci_dpm_disable() local 5328 ci_update_current_ps(rdev, boot_ps); in ci_dpm_disable() 5449 rdev->pm.dpm.boot_ps = rps; in ci_parse_pplib_non_clock_info()
|
D | kv_dpm.c | 1280 kv_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in kv_dpm_enable() 1329 kv_update_current_ps(rdev, rdev->pm.dpm.boot_ps); in kv_dpm_disable() 2602 rdev->pm.dpm.boot_ps = rps; in kv_parse_pplib_non_clock_info()
|
D | r600_dpm.c | 149 if (rps == rdev->pm.dpm.boot_ps) in r600_dpm_print_ps_status()
|
D | radeon.h | 1563 struct radeon_ps *boot_ps; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | cz_dpm.c | 279 adev->pm.dpm.boot_ps = rps; in cz_parse_pplib_non_clock_info() 647 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in cz_dpm_sw_init() 1342 cz_update_current_ps(adev, adev->pm.dpm.boot_ps); in cz_dpm_enable() 1413 cz_update_current_ps(adev, adev->pm.dpm.boot_ps); in cz_dpm_disable() 1436 adev->pm.dpm.boot_ps; in cz_dpm_hw_fini() 1458 adev->pm.dpm.boot_ps; in cz_dpm_suspend()
|
D | amdgpu_pm.c | 525 adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; in amdgpu_set_pp_sclk_od() 571 adev->pm.dpm.current_ps = adev->pm.dpm.boot_ps; in amdgpu_set_pp_mclk_od() 934 return adev->pm.dpm.boot_ps; in amdgpu_dpm_pick_power_state()
|
D | si_dpm.c | 5232 struct amdgpu_ps *amdgpu_boot_state = adev->pm.dpm.boot_ps; in si_init_smc_table() 6855 struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; in si_dpm_enable() local 6918 ret = si_populate_mc_reg_table(adev, boot_ps); in si_dpm_enable() 6939 ret = si_populate_smc_tdp_limits(adev, boot_ps); in si_dpm_enable() 6944 ret = si_populate_smc_tdp_limits_2(adev, boot_ps); in si_dpm_enable() 6962 ni_update_current_ps(adev, boot_ps); in si_dpm_enable() 6987 struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; in si_dpm_disable() local 6996 si_enable_power_containment(adev, boot_ps, false); in si_dpm_disable() 6997 si_enable_smc_cac(adev, boot_ps, false); in si_dpm_disable() 7005 ni_update_current_ps(adev, boot_ps); in si_dpm_disable() [all …]
|
D | kv_dpm.c | 1353 kv_update_current_ps(adev, adev->pm.dpm.boot_ps); in kv_dpm_enable() 1396 kv_update_current_ps(adev, adev->pm.dpm.boot_ps); in kv_dpm_disable() 2695 adev->pm.dpm.boot_ps = rps; in kv_parse_pplib_non_clock_info() 3047 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in kv_dpm_sw_init() 3115 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in kv_dpm_suspend()
|
D | ci_dpm.c | 3678 struct amdgpu_ps *amdgpu_boot_state = adev->pm.dpm.boot_ps; in ci_init_smc_table() 5273 struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; in ci_dpm_enable() local 5390 ci_update_current_ps(adev, boot_ps); in ci_dpm_enable() 5398 struct amdgpu_ps *boot_ps = adev->pm.dpm.boot_ps; in ci_dpm_disable() local 5428 ci_update_current_ps(adev, boot_ps); in ci_dpm_disable() 5549 adev->pm.dpm.boot_ps = rps; in ci_parse_pplib_non_clock_info() 6226 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in ci_dpm_sw_init() 6301 adev->pm.dpm.current_ps = adev->pm.dpm.requested_ps = adev->pm.dpm.boot_ps; in ci_dpm_suspend()
|
D | amdgpu_dpm.c | 111 if (rps == adev->pm.dpm.boot_ps) in amdgpu_dpm_print_ps_status()
|
D | amdgpu.h | 1581 struct amdgpu_ps *boot_ps; member
|
/drivers/gpu/drm/amd/powerplay/inc/ |
D | hwmgr.h | 660 struct pp_power_state *boot_ps; member
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | hwmgr.c | 174 hwmgr->boot_ps = state; in hw_init_power_state_table()
|