Home
last modified time | relevance | path

Searched refs:soft_max_level (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c520 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state()
1919 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1931 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1943 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1952 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1963 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1975 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1987 max_freq = data->dpm_table.fclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
2390 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega20_force_dpm_highest()
2396 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega20_force_dpm_highest()
[all …]
Dvega12_hwmgr.c479 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state()
1247 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1258 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1269 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1278 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1288 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1299 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1654 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1660 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1683 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest()
[all …]
Dvega10_hwmgr.h128 uint32_t soft_max_level; member
Dvega12_hwmgr.h101 uint32_t soft_max_level; member
Dvega20_hwmgr.h154 uint32_t soft_max_level; member
Dvega10_hwmgr.c1224 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state()
3681 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3686 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
3693 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3698 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
3708 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level()
3713 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Darcturus_ppt.h41 uint32_t soft_max_level; member
Dvangogh_ppt.c1199 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local
1204 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels()
1213 soft_max_level, &max_freq); in vangogh_force_clk_levels()
1233 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
1254 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
1279 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
Darcturus_ppt.c1007 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local
1025 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels()
1030 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels()
1032 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels()
1049 soft_max_level); in arcturus_force_clk_levels()
Dnavi10_ppt.c1658 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local
1661 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels()
1672 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels()
1680 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
Dsienna_cichlid_ppt.c1433 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local
1436 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels()
1447 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels()
1455 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Daldebaran_ppt.h41 uint32_t soft_max_level; member
Dsmu_v13_0_5_ppt.c951 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local
956 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels()
965 ret = smu_v13_0_5_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v13_0_5_force_clk_levels()
Dsmu_v13_0_4_ppt.c894 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_4_force_clk_levels() local
899 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_4_force_clk_levels()
910 ret = smu_v13_0_4_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v13_0_4_force_clk_levels()
Dsmu_v13_0_7_ppt.c1569 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local
1574 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels()
1616 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels()
1619 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels()
1625 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
Daldebaran_ppt.c996 uint32_t soft_min_level, soft_max_level; in aldebaran_force_clk_levels() local
1000 soft_max_level = mask ? (fls(mask) - 1) : 0; in aldebaran_force_clk_levels()
1005 if (soft_max_level >= single_dpm_table->count) { in aldebaran_force_clk_levels()
1007 soft_max_level, single_dpm_table->count - 1); in aldebaran_force_clk_levels()
1024 soft_max_level); in aldebaran_force_clk_levels()
Dsmu_v13_0_0_ppt.c1588 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local
1593 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels()
1635 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels()
1638 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels()
1644 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
Dyellow_carp_ppt.c1133 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local
1138 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels()
1149 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
Dsmu_v13_0_6_ppt.c1070 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local
1074 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels()
1079 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels()
1082 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels()
1098 soft_max_level); in smu_v13_0_6_force_clk_levels()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c802 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local
805 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels()
810 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels()
819 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels()
820 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels()
835 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
850 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()