Lines Matching refs:performance_levels
2322 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2323 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2342 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2343 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2349 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2358 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2417 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
3044 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
3045 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
3049 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3050 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3051 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3052 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
3053 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
3054 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
3055 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
3056 ps->performance_levels[i].vddci = max_limits->vddci; in si_apply_state_adjust_rules()
3070 if (ps->performance_levels[i].sclk > max_sclk_vddc) in si_apply_state_adjust_rules()
3071 ps->performance_levels[i].sclk = max_sclk_vddc; in si_apply_state_adjust_rules()
3074 if (ps->performance_levels[i].mclk > max_mclk_vddci) in si_apply_state_adjust_rules()
3075 ps->performance_levels[i].mclk = max_mclk_vddci; in si_apply_state_adjust_rules()
3078 if (ps->performance_levels[i].mclk > max_mclk_vddc) in si_apply_state_adjust_rules()
3079 ps->performance_levels[i].mclk = max_mclk_vddc; in si_apply_state_adjust_rules()
3082 if (ps->performance_levels[i].mclk > max_mclk) in si_apply_state_adjust_rules()
3083 ps->performance_levels[i].mclk = max_mclk; in si_apply_state_adjust_rules()
3086 if (ps->performance_levels[i].sclk > max_sclk) in si_apply_state_adjust_rules()
3087 ps->performance_levels[i].sclk = max_sclk; in si_apply_state_adjust_rules()
3094 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in si_apply_state_adjust_rules()
3095 vddci = ps->performance_levels[ps->performance_level_count - 1].vddci; in si_apply_state_adjust_rules()
3097 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3098 vddci = ps->performance_levels[0].vddci; in si_apply_state_adjust_rules()
3102 sclk = ps->performance_levels[ps->performance_level_count - 1].sclk; in si_apply_state_adjust_rules()
3103 vddc = ps->performance_levels[ps->performance_level_count - 1].vddc; in si_apply_state_adjust_rules()
3105 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3106 vddc = ps->performance_levels[0].vddc; in si_apply_state_adjust_rules()
3117 ps->performance_levels[0].sclk = sclk; in si_apply_state_adjust_rules()
3118 ps->performance_levels[0].mclk = mclk; in si_apply_state_adjust_rules()
3119 ps->performance_levels[0].vddc = vddc; in si_apply_state_adjust_rules()
3120 ps->performance_levels[0].vddci = vddci; in si_apply_state_adjust_rules()
3123 sclk = ps->performance_levels[0].sclk; in si_apply_state_adjust_rules()
3125 if (sclk < ps->performance_levels[i].sclk) in si_apply_state_adjust_rules()
3126 sclk = ps->performance_levels[i].sclk; in si_apply_state_adjust_rules()
3129 ps->performance_levels[i].sclk = sclk; in si_apply_state_adjust_rules()
3130 ps->performance_levels[i].vddc = vddc; in si_apply_state_adjust_rules()
3134 if (ps->performance_levels[i].sclk < ps->performance_levels[i - 1].sclk) in si_apply_state_adjust_rules()
3135 ps->performance_levels[i].sclk = ps->performance_levels[i - 1].sclk; in si_apply_state_adjust_rules()
3136 if (ps->performance_levels[i].vddc < ps->performance_levels[i - 1].vddc) in si_apply_state_adjust_rules()
3137 ps->performance_levels[i].vddc = ps->performance_levels[i - 1].vddc; in si_apply_state_adjust_rules()
3142 mclk = ps->performance_levels[0].mclk; in si_apply_state_adjust_rules()
3144 if (mclk < ps->performance_levels[i].mclk) in si_apply_state_adjust_rules()
3145 mclk = ps->performance_levels[i].mclk; in si_apply_state_adjust_rules()
3148 ps->performance_levels[i].mclk = mclk; in si_apply_state_adjust_rules()
3149 ps->performance_levels[i].vddci = vddci; in si_apply_state_adjust_rules()
3153 if (ps->performance_levels[i].mclk < ps->performance_levels[i - 1].mclk) in si_apply_state_adjust_rules()
3154 ps->performance_levels[i].mclk = ps->performance_levels[i - 1].mclk; in si_apply_state_adjust_rules()
3155 if (ps->performance_levels[i].vddci < ps->performance_levels[i - 1].vddci) in si_apply_state_adjust_rules()
3156 ps->performance_levels[i].vddci = ps->performance_levels[i - 1].vddci; in si_apply_state_adjust_rules()
3162 &ps->performance_levels[i]); in si_apply_state_adjust_rules()
3165 if (ps->performance_levels[i].vddc < min_vce_voltage) in si_apply_state_adjust_rules()
3166 ps->performance_levels[i].vddc = min_vce_voltage; in si_apply_state_adjust_rules()
3168 ps->performance_levels[i].sclk, in si_apply_state_adjust_rules()
3169 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3171 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3172 max_limits->vddci, &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3174 ps->performance_levels[i].mclk, in si_apply_state_adjust_rules()
3175 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3178 max_limits->vddc, &ps->performance_levels[i].vddc); in si_apply_state_adjust_rules()
3184 &ps->performance_levels[i].vddc, in si_apply_state_adjust_rules()
3185 &ps->performance_levels[i].vddci); in si_apply_state_adjust_rules()
3190 if (ps->performance_levels[i].vddc > rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc.vddc) in si_apply_state_adjust_rules()
4341 ret = si_populate_memory_timing_parameters(rdev, &state->performance_levels[i], &arb_regs); in si_do_program_memory_timing_parameters()
4409 cpu_to_be32(initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4425 cpu_to_be32(initial_state->performance_levels[0].sclk); in si_populate_smc_initial_state()
4433 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4451 initial_state->performance_levels[0].vddci, in si_populate_smc_initial_state()
4457 initial_state->performance_levels[0].vddc, in si_populate_smc_initial_state()
4458 initial_state->performance_levels[0].sclk, in si_populate_smc_initial_state()
4459 initial_state->performance_levels[0].mclk, in si_populate_smc_initial_state()
4474 initial_state->performance_levels[0].mclk); in si_populate_smc_initial_state()
4476 if (initial_state->performance_levels[0].mclk > pi->mclk_edc_enable_threshold) in si_populate_smc_initial_state()
5124 state->performance_levels[i + 1].sclk, in si_populate_smc_t()
5125 state->performance_levels[i].sclk, in si_populate_smc_t()
5167 if (state->performance_levels[0].mclk != ulv->pl.mclk) in si_is_state_ulv_compatible()
5216 threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100; in si_convert_power_state_to_smc()
5240 ret = si_convert_power_level_to_smc(rdev, &state->performance_levels[i], in si_convert_power_state_to_smc()
5250 (state->performance_levels[i].sclk < threshold) ? in si_convert_power_state_to_smc()
5658 &state->performance_levels[i], in si_convert_mc_reg_table_to_smc()
5677 si_convert_mc_reg_table_entry_to_smc(rdev, &boot_state->performance_levels[0], in si_populate_mc_reg_table()
5739 pcie_speed = state->performance_levels[i].pcie_gen; in si_get_maximum_link_speed()
6751 struct rv7xx_pl *pl = &ps->performance_levels[index]; in si_parse_pplib_clock_info()
7102 pl = &ps->performance_levels[current_index]; in si_dpm_debugfs_print_current_performance_level()
7122 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_sclk()
7140 pl = &ps->performance_levels[current_index]; in si_dpm_get_current_mclk()