Home
last modified time | relevance | path

Searched refs:new_rps (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/radeon/
Dtrinity_dpm.c345 struct radeon_ps *new_rps,
840 struct radeon_ps *new_rps, in trinity_program_power_levels_0_to_n() argument
843 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_program_power_levels_0_to_n()
922 struct radeon_ps *new_rps, in trinity_setup_uvd_clocks() argument
932 if (trinity_uvd_clocks_zero(new_rps) && in trinity_setup_uvd_clocks()
935 } else if (!trinity_uvd_clocks_zero(new_rps)) { in trinity_setup_uvd_clocks()
936 trinity_setup_uvd_clock_table(rdev, new_rps); in trinity_setup_uvd_clocks()
943 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
950 if (trinity_uvd_clocks_zero(new_rps) || in trinity_setup_uvd_clocks()
951 trinity_uvd_clocks_equal(new_rps, old_rps)) in trinity_setup_uvd_clocks()
[all …]
Dsumo_dpm.c678 struct radeon_ps *new_rps, in sumo_pre_notify_alt_vddnb_change() argument
681 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_pre_notify_alt_vddnb_change()
696 struct radeon_ps *new_rps, in sumo_post_notify_alt_vddnb_change() argument
699 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_post_notify_alt_vddnb_change()
752 struct radeon_ps *new_rps, in sumo_program_power_levels_0_to_n() argument
756 struct sumo_ps *new_ps = sumo_get_ps(new_rps); in sumo_program_power_levels_0_to_n()
815 struct radeon_ps *new_rps, in sumo_setup_uvd_clocks() argument
824 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in sumo_setup_uvd_clocks()
828 !r600_is_uvd_state(new_rps->class, new_rps->class2)) in sumo_setup_uvd_clocks()
834 struct radeon_ps *new_rps, in sumo_set_uvd_clock_before_set_eng_clock() argument
[all …]
Dkv_dpm.c45 struct radeon_ps *new_rps);
51 struct radeon_ps *new_rps,
1707 struct radeon_ps *new_rps) in kv_set_valid_clock_range() argument
1709 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_set_valid_clock_range()
1769 struct radeon_ps *new_rps) in kv_update_dfs_bypass_settings() argument
1771 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_update_dfs_bypass_settings()
2139 struct radeon_ps *new_rps, in kv_apply_state_adjust_rules() argument
2142 struct kv_ps *ps = kv_get_ps(new_rps); in kv_apply_state_adjust_rules()
2154 if (new_rps->vce_active) { in kv_apply_state_adjust_rules()
2155 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
[all …]
Dsi_dpm.c5911 struct radeon_ps *new_rps, in si_set_vce_clock() argument
5914 if ((old_rps->evclk != new_rps->evclk) || in si_set_vce_clock()
5915 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock()
5917 if (new_rps->evclk || new_rps->ecclk) in si_set_vce_clock()
5921 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in si_set_vce_clock()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c55 struct amdgpu_ps *new_rps);
61 struct amdgpu_ps *new_rps,
1772 struct amdgpu_ps *new_rps) in kv_set_valid_clock_range() argument
1774 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_set_valid_clock_range()
1834 struct amdgpu_ps *new_rps) in kv_update_dfs_bypass_settings() argument
1836 struct kv_ps *new_ps = kv_get_ps(new_rps); in kv_update_dfs_bypass_settings()
2205 struct amdgpu_ps *new_rps, in kv_apply_state_adjust_rules() argument
2208 struct kv_ps *ps = kv_get_ps(new_rps); in kv_apply_state_adjust_rules()
2220 if (new_rps->vce_active) { in kv_apply_state_adjust_rules()
2221 new_rps->evclk = adev->pm.dpm.vce_states[adev->pm.dpm.vce_level].evclk; in kv_apply_state_adjust_rules()
[all …]
Dsi_dpm.c6957 struct amdgpu_ps *new_rps, in si_set_vce_clock() argument
6960 if ((old_rps->evclk != new_rps->evclk) || in si_set_vce_clock()
6961 (old_rps->ecclk != new_rps->ecclk)) { in si_set_vce_clock()
6963 if (new_rps->evclk || new_rps->ecclk) { in si_set_vce_clock()