Home
last modified time | relevance | path

Searched refs:soft_max_level (Results 1 - 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_hwmgr.c480 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state()
1227 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1238 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1249 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1258 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1268 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1279 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level()
1634 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1640 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest()
1663 data->dpm_table.gfx_table.dpm_state.soft_max_level in vega12_force_dpm_lowest()
1999 uint32_t soft_min_level, soft_max_level, hard_min_level; vega12_force_clock_level() local
[all...]
H A Dvega20_hwmgr.c521 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state()
1927 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1939 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1951 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1960 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1971 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1983 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level()
1995 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()
2469 uint32_t soft_min_level, soft_max_level; vega20_unforce_dpm_levels() local
2559 uint32_t soft_min_level, soft_max_level, hard_min_level; vega20_force_clock_level() local
[all...]
H A Dvega12_hwmgr.h102 uint32_t soft_max_level; member
H A Dvega10_hwmgr.h128 uint32_t soft_max_level; member
H A Dvega20_hwmgr.h154 uint32_t soft_max_level; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A 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()
2019 uint32_t soft_min_level, soft_max_level, hard_min_level; vega12_force_clock_level() local
[all...]
H A 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()
2469 uint32_t soft_min_level, soft_max_level; vega20_unforce_dpm_levels() local
2559 uint32_t soft_min_level, soft_max_level, hard_min_level; vega20_force_clock_level() local
[all...]
H A Dvega10_hwmgr.h128 uint32_t soft_max_level; member
H A Dvega12_hwmgr.h101 uint32_t soft_max_level; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Darcturus_ppt.h41 uint32_t soft_max_level; member
H A Dnavi10_ppt.c1117 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local
1120 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels()
1131 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels()
1139 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
H A Darcturus_ppt.c905 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local
923 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels()
928 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels()
930 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels()
947 soft_max_level); in arcturus_force_clk_levels()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Darcturus_ppt.h41 uint32_t soft_max_level; member
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Daldebaran_ppt.h41 uint32_t soft_max_level; member
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c699 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local
702 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels()
707 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels()
716 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels()
717 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels()
732 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
747 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A 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()

Completed in 49 milliseconds

12