Home
last modified time | relevance | path

Searched refs:max_limits (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Dbtc_dpm.c1240 const struct radeon_clock_and_voltage_limits *max_limits, in btc_adjust_clock_combinations() argument
1253 max_limits->sclk, in btc_adjust_clock_combinations()
1260 max_limits->mclk, in btc_adjust_clock_combinations()
2069 struct radeon_clock_and_voltage_limits *max_limits; in btc_apply_state_adjust_rules() local
2081 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in btc_apply_state_adjust_rules()
2083 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in btc_apply_state_adjust_rules()
2086 if (ps->high.mclk > max_limits->mclk) in btc_apply_state_adjust_rules()
2087 ps->high.mclk = max_limits->mclk; in btc_apply_state_adjust_rules()
2088 if (ps->high.sclk > max_limits->sclk) in btc_apply_state_adjust_rules()
2089 ps->high.sclk = max_limits->sclk; in btc_apply_state_adjust_rules()
[all …]
H A Dbtc_dpm.h48 const struct radeon_clock_and_voltage_limits *max_limits,
H A Dni_dpm.c789 struct radeon_clock_and_voltage_limits *max_limits; in ni_apply_state_adjust_rules() local
802 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ni_apply_state_adjust_rules()
804 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ni_apply_state_adjust_rules()
808 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()
[all …]
H A Dci_dpm.c770 struct radeon_clock_and_voltage_limits *max_limits; in ci_apply_state_adjust_rules() local
795 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_apply_state_adjust_rules()
797 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_apply_state_adjust_rules()
801 if (ps->performance_levels[i].mclk > max_limits->mclk) in ci_apply_state_adjust_rules()
802 ps->performance_levels[i].mclk = max_limits->mclk; in ci_apply_state_adjust_rules()
803 if (ps->performance_levels[i].sclk > max_limits->sclk) in ci_apply_state_adjust_rules()
804 ps->performance_levels[i].sclk = max_limits->sclk; in ci_apply_state_adjust_rules()
3890 const struct radeon_clock_and_voltage_limits *max_limits; in ci_enable_uvd_dpm() local
3894 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in ci_enable_uvd_dpm()
3896 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in ci_enable_uvd_dpm()
[all …]
H A Dsi_dpm.c2906 struct radeon_clock_and_voltage_limits *max_limits; in si_apply_state_adjust_rules() local
2963 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in si_apply_state_adjust_rules()
2965 max_limits = &rdev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in si_apply_state_adjust_rules()
2973 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
2974 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
2975 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
2976 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
2977 if (ps->performance_levels[i].vddc > max_limits->vddc) in si_apply_state_adjust_rules()
2978 ps->performance_levels[i].vddc = max_limits->vddc; in si_apply_state_adjust_rules()
2979 if (ps->performance_levels[i].vddci > max_limits->vddci) in si_apply_state_adjust_rules()
[all …]
H A Dkv_dpm.c1947 struct radeon_clock_and_voltage_limits *max_limits = in kv_apply_state_adjust_rules() local
1958 mclk = max_limits->mclk; in kv_apply_state_adjust_rules()
1962 stable_p_state_sclk = (max_limits->sclk * 75) / 100; in kv_apply_state_adjust_rules()
2081 struct radeon_clock_and_voltage_limits *max_limits = in kv_calculate_nbps_level_settings() local
2083 u32 mclk = max_limits->mclk; in kv_calculate_nbps_level_settings()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3283 const struct amdgpu_clock_and_voltage_limits *max_limits, in btc_adjust_clock_combinations() argument
3296 max_limits->sclk, in btc_adjust_clock_combinations()
3303 max_limits->mclk, in btc_adjust_clock_combinations()
3426 struct amdgpu_clock_and_voltage_limits *max_limits; in si_apply_state_adjust_rules() local
3480 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_ac; in si_apply_state_adjust_rules()
3482 max_limits = &adev->pm.dpm.dyn_state.max_clock_voltage_on_dc; in si_apply_state_adjust_rules()
3490 if (ps->performance_levels[i].mclk > max_limits->mclk) in si_apply_state_adjust_rules()
3491 ps->performance_levels[i].mclk = max_limits->mclk; in si_apply_state_adjust_rules()
3492 if (ps->performance_levels[i].sclk > max_limits->sclk) in si_apply_state_adjust_rules()
3493 ps->performance_levels[i].sclk = max_limits->sclk; in si_apply_state_adjust_rules()
[all …]
H A Dkv_dpm.c2209 struct amdgpu_clock_and_voltage_limits *max_limits = in kv_apply_state_adjust_rules() local
2220 mclk = max_limits->mclk; in kv_apply_state_adjust_rules()
2224 stable_p_state_sclk = (max_limits->sclk * 75) / 100; in kv_apply_state_adjust_rules()
2343 struct amdgpu_clock_and_voltage_limits *max_limits = in kv_calculate_nbps_level_settings() local
2345 u32 mclk = max_limits->mclk; in kv_calculate_nbps_level_settings()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega10_hwmgr.c3289 const struct phm_clock_and_voltage_limits *max_limits; in vega10_apply_state_adjust_rules() local
3309 max_limits = adev->pm.ac_power ? in vega10_apply_state_adjust_rules()
3317 max_limits->mclk) in vega10_apply_state_adjust_rules()
3319 max_limits->mclk; in vega10_apply_state_adjust_rules()
3321 max_limits->sclk) in vega10_apply_state_adjust_rules()
3323 max_limits->sclk; in vega10_apply_state_adjust_rules()
3340 max_limits = &(hwmgr->dyn_state.max_clock_voltage_on_ac); in vega10_apply_state_adjust_rules()
3341 stable_pstate_sclk = (max_limits->sclk * in vega10_apply_state_adjust_rules()
3357 stable_pstate_mclk = max_limits->mclk; in vega10_apply_state_adjust_rules()
3382 sclk = (minimum_clocks.engineClock > max_limits->sclk) ? in vega10_apply_state_adjust_rules()
[all …]
H A Dsmu7_hwmgr.c3324 const struct phm_clock_and_voltage_limits *max_limits; in smu7_apply_state_adjust_rules() local
3342 max_limits = adev->pm.ac_power ? in smu7_apply_state_adjust_rules()
3349 if (smu7_ps->performance_levels[i].memory_clock > max_limits->mclk) in smu7_apply_state_adjust_rules()
3350 smu7_ps->performance_levels[i].memory_clock = max_limits->mclk; in smu7_apply_state_adjust_rules()
3351 if (smu7_ps->performance_levels[i].engine_clock > max_limits->sclk) in smu7_apply_state_adjust_rules()
3352 smu7_ps->performance_levels[i].engine_clock = max_limits->sclk; in smu7_apply_state_adjust_rules()
3361 max_limits = &(hwmgr->dyn_state.max_clock_voltage_on_ac); in smu7_apply_state_adjust_rules()
3362 stable_pstate_sclk = (max_limits->sclk * 75) / 100; in smu7_apply_state_adjust_rules()
3377 stable_pstate_mclk = max_limits->mclk; in smu7_apply_state_adjust_rules()
3412 sclk = (minimum_clocks.engineClock > max_limits->sclk) ? in smu7_apply_state_adjust_rules()
[all …]
H A Dvega12_hwmgr.c1831 struct phm_clock_and_voltage_limits *max_limits = in vega12_get_dal_power_level()
1834 info->engine_max_clock = max_limits->sclk; in vega12_get_dal_power_level()
1835 info->memory_max_clock = max_limits->mclk; in vega12_get_dal_power_level()
H A Dvega20_hwmgr.c2805 struct phm_clock_and_voltage_limits *max_limits = in vega20_get_dal_power_level()
2808 info->engine_max_clock = max_limits->sclk; in vega20_get_dal_power_level()
2809 info->memory_max_clock = max_limits->mclk; in vega20_get_dal_power_level()