| /linux-6.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | vega20_hwmgr.c | 2480 uint32_t soft_min_level, soft_max_level; in vega20_unforce_dpm_levels() local 2486 soft_max_level = in vega20_unforce_dpm_levels() 2497 soft_max_level = in vega20_unforce_dpm_levels() 2508 soft_max_level = in vega20_unforce_dpm_levels() 2576 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega20_force_clock_level() 2580 soft_max_level, in vega20_force_clock_level() 2603 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega20_force_clock_level() 2607 soft_max_level, in vega20_force_clock_level() 2635 soft_max_level, in vega20_force_clock_level() 2663 soft_max_level, in vega20_force_clock_level() [all …]
|
| H A D | vega12_hwmgr.c | 489 dpm_state->soft_max_level = 0xffff; in vega12_init_dpm_state() 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() 1699 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_dpm_lowest() 2035 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() 2039 data->dpm_table.gfx_table.dpm_state.soft_max_level = in vega12_force_clock_level() 2055 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() 2059 data->dpm_table.mem_table.dpm_state.soft_max_level = in vega12_force_clock_level() 2076 soft_max_level = mask ? (fls(mask) - 1) : 0; in vega12_force_clock_level() [all …]
|
| H A D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
| H A D | vega12_hwmgr.h | 101 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-6.15/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_5_ppt.c | 938 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local 943 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels() 952 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 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 | aldebaran_ppt.c | 989 uint32_t soft_min_level, soft_max_level; in aldebaran_force_clk_levels() local 993 soft_max_level = mask ? (fls(mask) - 1) : 0; in aldebaran_force_clk_levels() 998 if (soft_max_level >= single_dpm_table->count) { in aldebaran_force_clk_levels() 1000 soft_max_level, single_dpm_table->count - 1); in aldebaran_force_clk_levels() 1017 soft_max_level); in aldebaran_force_clk_levels()
|
| H A D | yellow_carp_ppt.c | 1120 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local 1125 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels() 1136 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
|
| H A D | smu_v13_0_7_ppt.c | 2001 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 2006 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 2048 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 2051 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 2057 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 | 2012 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 2017 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 2059 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 2062 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 2068 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 | 1510 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1514 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1519 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1522 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1538 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
| /linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/amd/pm/swsmu/smu14/ |
| H A D | smu_v14_0_2_ppt.c | 1410 uint32_t soft_min_level, soft_max_level; in smu_v14_0_2_force_clk_levels() local 1415 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_2_force_clk_levels() 1457 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v14_0_2_force_clk_levels() 1460 if ((soft_max_level >= single_dpm_table->count) || in smu_v14_0_2_force_clk_levels() 1466 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()
|