Lines Matching refs:new_rps

345 					     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()
954 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
963 struct radeon_ps *new_rps, in trinity_set_uvd_clock_before_set_eng_clock() argument
966 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
967 struct trinity_ps *current_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
973 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_before_set_eng_clock()
977 struct radeon_ps *new_rps, in trinity_set_uvd_clock_after_set_eng_clock() argument
980 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_after_set_eng_clock()
987 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_after_set_eng_clock()
991 struct radeon_ps *new_rps, in trinity_set_vce_clock() argument
994 if ((old_rps->evclk != new_rps->evclk) || in trinity_set_vce_clock()
995 (old_rps->ecclk != new_rps->ecclk)) { in trinity_set_vce_clock()
997 if (new_rps->evclk || new_rps->ecclk) in trinity_set_vce_clock()
1001 radeon_set_vce_clocks(rdev, new_rps->evclk, new_rps->ecclk); in trinity_set_vce_clock()
1535 struct radeon_ps *new_rps, in trinity_apply_state_adjust_rules() argument
1538 struct trinity_ps *ps = trinity_get_ps(new_rps); in trinity_apply_state_adjust_rules()
1549 if (new_rps->class & ATOM_PPLIB_CLASSIFICATION_THERMAL) in trinity_apply_state_adjust_rules()
1552 trinity_adjust_uvd_state(rdev, new_rps); in trinity_apply_state_adjust_rules()
1554 if (new_rps->vce_active) { in trinity_apply_state_adjust_rules()
1555 new_rps->evclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].evclk; in trinity_apply_state_adjust_rules()
1556 new_rps->ecclk = rdev->pm.dpm.vce_states[rdev->pm.dpm.vce_level].ecclk; in trinity_apply_state_adjust_rules()
1558 new_rps->evclk = 0; in trinity_apply_state_adjust_rules()
1559 new_rps->ecclk = 0; in trinity_apply_state_adjust_rules()
1571 if (new_rps->vce_active) { in trinity_apply_state_adjust_rules()
1576 trinity_get_vce_clock_voltage(rdev, new_rps->evclk, new_rps->ecclk, &min_vce_voltage); in trinity_apply_state_adjust_rules()
1594 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1595 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) in trinity_apply_state_adjust_rules()
1604 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1605 … ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) { in trinity_apply_state_adjust_rules()
1606 force_high = ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_HDSTATE) || in trinity_apply_state_adjust_rules()
1607 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_SDSTATE) && in trinity_apply_state_adjust_rules()