Lines Matching refs:new_rps

346 					     struct radeon_ps *new_rps,
841 struct radeon_ps *new_rps, in trinity_program_power_levels_0_to_n() argument
844 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_program_power_levels_0_to_n()
923 struct radeon_ps *new_rps, in trinity_setup_uvd_clocks() argument
933 if (trinity_uvd_clocks_zero(new_rps) && in trinity_setup_uvd_clocks()
936 } else if (!trinity_uvd_clocks_zero(new_rps)) { in trinity_setup_uvd_clocks()
937 trinity_setup_uvd_clock_table(rdev, new_rps); in trinity_setup_uvd_clocks()
944 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
951 if (trinity_uvd_clocks_zero(new_rps) || in trinity_setup_uvd_clocks()
952 trinity_uvd_clocks_equal(new_rps, old_rps)) in trinity_setup_uvd_clocks()
955 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
964 struct radeon_ps *new_rps, in trinity_set_uvd_clock_before_set_eng_clock() argument
967 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
968 struct trinity_ps *current_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
974 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_before_set_eng_clock()
978 struct radeon_ps *new_rps, in trinity_set_uvd_clock_after_set_eng_clock() argument
981 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_after_set_eng_clock()
988 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_after_set_eng_clock()
992 struct radeon_ps *new_rps, in trinity_set_vce_clock() argument
995 if ((old_rps->evclk != new_rps->evclk) || in trinity_set_vce_clock()
996 (old_rps->ecclk != new_rps->ecclk)) { in trinity_set_vce_clock()
998 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
1002 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1536 struct radeon_ps *new_rps, in trinity_apply_state_adjust_rules() argument
1539 struct trinity_ps *ps = trinity_get_ps(new_rps); in trinity_apply_state_adjust_rules()
1550 if (new_rps->class & ATOM_PPLIB_CLASSIFICATION_THERMAL) in trinity_apply_state_adjust_rules()
1553 trinity_adjust_uvd_state(rdev, new_rps); in trinity_apply_state_adjust_rules()
1555 if (new_rps->vce_active) { in trinity_apply_state_adjust_rules()
1556 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in trinity_apply_state_adjust_rules()
1557 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules()
1559 new_rps->evclk = 0; in trinity_apply_state_adjust_rules()
1560 new_rps->ecclk = 0; in trinity_apply_state_adjust_rules()
1572 if (new_rps->vce_active) { in trinity_apply_state_adjust_rules()
1577 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
1595 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1596 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) in trinity_apply_state_adjust_rules()
1605 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1606 … ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) { in trinity_apply_state_adjust_rules()
1607 force_high = ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_HDSTATE) || in trinity_apply_state_adjust_rules()
1608 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_SDSTATE) && in trinity_apply_state_adjust_rules()