Lines Matching refs:new_rps
343 struct radeon_ps *new_rps,
838 struct radeon_ps *new_rps, in trinity_program_power_levels_0_to_n() argument
841 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_program_power_levels_0_to_n()
920 struct radeon_ps *new_rps, in trinity_setup_uvd_clocks() argument
930 if (trinity_uvd_clocks_zero(new_rps) && in trinity_setup_uvd_clocks()
933 } else if (!trinity_uvd_clocks_zero(new_rps)) { in trinity_setup_uvd_clocks()
934 trinity_setup_uvd_clock_table(rdev, new_rps); in trinity_setup_uvd_clocks()
941 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
948 if (trinity_uvd_clocks_zero(new_rps) || in trinity_setup_uvd_clocks()
949 trinity_uvd_clocks_equal(new_rps, old_rps)) in trinity_setup_uvd_clocks()
952 radeon_set_uvd_clocks(rdev, new_rps->vclk, new_rps->dclk); in trinity_setup_uvd_clocks()
961 struct radeon_ps *new_rps, in trinity_set_uvd_clock_before_set_eng_clock() argument
964 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
965 struct trinity_ps *current_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_before_set_eng_clock()
971 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_before_set_eng_clock()
975 struct radeon_ps *new_rps, in trinity_set_uvd_clock_after_set_eng_clock() argument
978 struct trinity_ps *new_ps = trinity_get_ps(new_rps); in trinity_set_uvd_clock_after_set_eng_clock()
985 trinity_setup_uvd_clocks(rdev, new_rps, old_rps); in trinity_set_uvd_clock_after_set_eng_clock()
1489 struct radeon_ps *new_rps, in trinity_apply_state_adjust_rules() argument
1492 struct trinity_ps *ps = trinity_get_ps(new_rps); in trinity_apply_state_adjust_rules()
1502 if (new_rps->class & ATOM_PPLIB_CLASSIFICATION_THERMAL) in trinity_apply_state_adjust_rules()
1505 trinity_adjust_uvd_state(rdev, new_rps); in trinity_apply_state_adjust_rules()
1528 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1529 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) in trinity_apply_state_adjust_rules()
1538 if ((new_rps->class & (ATOM_PPLIB_CLASSIFICATION_HDSTATE | ATOM_PPLIB_CLASSIFICATION_SDSTATE)) || in trinity_apply_state_adjust_rules()
1539 … ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_UI_MASK) == ATOM_PPLIB_CLASSIFICATION_UI_BATTERY)) { in trinity_apply_state_adjust_rules()
1540 force_high = ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_HDSTATE) || in trinity_apply_state_adjust_rules()
1541 ((new_rps->class & ATOM_PPLIB_CLASSIFICATION_SDSTATE) && in trinity_apply_state_adjust_rules()