Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/drm/radeon/
Dni_dpm.c808 if (ps->performance_levels[i].mclk > max_limits->mclk) in ni_apply_state_adjust_rules()
809 ps->performance_levels[i].mclk = max_limits->mclk; in ni_apply_state_adjust_rules()
810 if (ps->performance_levels[i].sclk > max_limits->sclk) in ni_apply_state_adjust_rules()
811 ps->performance_levels[i].sclk = max_limits->sclk; in ni_apply_state_adjust_rules()
812 if (ps->performance_levels[i].vddc > max_limits->vddc) in ni_apply_state_adjust_rules()
813 ps->performance_levels[i].vddc = max_limits->vddc; in ni_apply_state_adjust_rules()
814 if (ps->performance_levels[i].vddci > max_limits->vddci) in ni_apply_state_adjust_rules()
815 ps->performance_levels[i].vddci = max_limits->vddci; in ni_apply_state_adjust_rules()
823 ps->performance_levels[0].mclk = in ni_apply_state_adjust_rules()
824 ps->performance_levels[ps->performance_level_count - 1].mclk; in ni_apply_state_adjust_rules()
[all …]
Dsi_dpm.c2321 prev_sclk = state->performance_levels[i-1].sclk; in si_populate_power_containment_values()
2322 max_sclk = state->performance_levels[i].sclk; in si_populate_power_containment_values()
2341 if (min_sclk < state->performance_levels[0].sclk) in si_populate_power_containment_values()
2342 min_sclk = state->performance_levels[0].sclk; in si_populate_power_containment_values()
2348 state->performance_levels[i-1].vddc, &vddc); in si_populate_power_containment_values()
2357 state->performance_levels[i].vddc, &vddc); in si_populate_power_containment_values()
2416 if ((state->performance_levels[i].sclk >= rdev->pm.dpm.sq_ramping_threshold) && in si_populate_sq_ramping_values()
2978 if (ps->performance_levels[i].vddc > ps->performance_levels[i+1].vddc) in si_apply_state_adjust_rules()
2979 ps->performance_levels[i].vddc = ps->performance_levels[i+1].vddc; in si_apply_state_adjust_rules()
2983 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
[all …]
Dci_dpm.c822 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
823 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
824 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
825 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
832 mclk = ps->performance_levels[ps->performance_level_count - 1].mclk; in ci_apply_state_adjust_rules()
833 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
835 mclk = ps->performance_levels[0].mclk; in ci_apply_state_adjust_rules()
836 sclk = ps->performance_levels[0].sclk; in ci_apply_state_adjust_rules()
846 ps->performance_levels[0].sclk = sclk; in ci_apply_state_adjust_rules()
847 ps->performance_levels[0].mclk = mclk; in ci_apply_state_adjust_rules()
[all …]
Dni_dpm.h175 struct rv7xx_pl performance_levels[NISLANDS_MAX_SMC_PERFORMANCE_LEVELS_PER_SWSTATE]; member
Dci_dpm.h49 struct ci_pl performance_levels[CISLANDS_MAX_HARDWARE_POWERLEVELS]; member
/linux-4.1.27/drivers/platform/x86/
Dsamsung-laptop.c152 const struct sabi_performance_level performance_levels[4]; member
209 .performance_levels = {
272 .performance_levels = {
676 for (i = 0; config->performance_levels[i].name; ++i) { in get_performance_level()
677 if (sretval.data[0] == config->performance_levels[i].value) in get_performance_level()
678 return sprintf(buf, "%s\n", config->performance_levels[i].name); in get_performance_level()
695 for (i = 0; config->performance_levels[i].name; ++i) { in set_performance_level()
697 &config->performance_levels[i]; in set_performance_level()
706 if (!config->performance_levels[i].name) in set_performance_level()
1224 ok = !!samsung->config->performance_levels[0].name; in samsung_sysfs_is_visible()