/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_hwmgr.c | 531 dpm_state->soft_max_level = VG20_CLOCK_MAX_DEFAULT; in vega20_init_dpm_state() 1930 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1942 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1954 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1963 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1974 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1986 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 1998 max_freq = data->dpm_table.fclk_table.dpm_state.soft_max_level; in vega20_upload_dpm_max_level() 2401 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega20_force_dpm_highest() 2407 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega20_force_dpm_highest() [all …]
|
H A D | vega12_hwmgr.c | 489 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state() 1257 max_freq = data->dpm_table.gfx_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1268 max_freq = data->dpm_table.mem_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1279 max_freq = data->dpm_table.vclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1288 max_freq = data->dpm_table.dclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1298 max_freq = data->dpm_table.eclk_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1309 max_freq = data->dpm_table.soc_table.dpm_state.soft_max_level; in vega12_upload_dpm_max_level() 1664 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1670 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_highest() 1693 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest() [all …]
|
H A D | vega12_hwmgr.h | 101 uint32_t soft_max_level; member
|
H A D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
H A D | vega20_hwmgr.h | 154 uint32_t soft_max_level; member
|
H A D | vega10_hwmgr.c | 1235 dpm_state->soft_max_level = 0xff; in vega10_init_dpm_state() 3707 data->dpm_table.gfx_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3712 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3719 data->dpm_table.mem_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3724 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level() 3734 data->dpm_table.soc_table.dpm_state.soft_max_level) { in vega10_upload_dpm_max_level() 3739 data->dpm_table.soc_table.dpm_state.soft_max_level = in vega10_upload_dpm_max_level()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | aldebaran_ppt.h | 41 uint32_t soft_max_level; member
|
H A D | smu_v13_0_4_ppt.c | 890 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_4_force_clk_levels() local 895 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_4_force_clk_levels() 906 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()
|
H A D | smu_v13_0_7_ppt.c | 1991 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 1996 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 2038 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 2041 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 2047 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
|
H A D | smu_v13_0_0_ppt.c | 2002 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 2007 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 2049 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 2052 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 2058 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
|
H A D | smu_v13_0_6_ppt.c | 1503 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1507 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1512 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1515 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1531 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | arcturus_ppt.h | 41 uint32_t soft_max_level; member
|
H A D | arcturus_ppt.c | 1007 uint32_t soft_min_level, soft_max_level; in arcturus_force_clk_levels() local 1018 soft_max_level = mask ? (fls(mask) - 1) : 0; in arcturus_force_clk_levels() 1023 if (soft_max_level >= single_dpm_table->count) { in arcturus_force_clk_levels() 1025 soft_max_level, single_dpm_table->count - 1); in arcturus_force_clk_levels() 1042 soft_max_level); in arcturus_force_clk_levels()
|
H A D | vangogh_ppt.c | 1168 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local 1173 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels() 1182 soft_max_level, &max_freq); in vangogh_force_clk_levels() 1202 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1223 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1248 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
|
H A D | sienna_cichlid_ppt.c | 1444 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local 1447 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels() 1458 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels() 1466 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
|
H A D | navi10_ppt.c | 1664 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local 1667 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels() 1682 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels() 1690 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
H A D | renoir_ppt.c | 802 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()
|
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
H A D | smu_v14_0_2_ppt.c | 1388 uint32_t soft_min_level, soft_max_level; in smu_v14_0_2_force_clk_levels() local 1393 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_2_force_clk_levels() 1435 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v14_0_2_force_clk_levels() 1438 if ((soft_max_level >= single_dpm_table->count) || in smu_v14_0_2_force_clk_levels() 1444 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v14_0_2_force_clk_levels()
|
H A D | smu_v14_0_0_ppt.c | 1259 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v14_0_0_force_clk_levels() local 1264 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_0_force_clk_levels() 1277 ret = smu_v14_0_common_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in smu_v14_0_0_force_clk_levels()
|