| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| 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 …]
|
| 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 …]
|
| A D | vega10_hwmgr.h | 128 uint32_t soft_max_level; member
|
| A D | vega12_hwmgr.h | 101 uint32_t soft_max_level; member
|
| A D | vega20_hwmgr.h | 154 uint32_t soft_max_level; member
|
| 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/ |
| A D | aldebaran_ppt.h | 41 uint32_t soft_max_level; member
|
| A D | smu_v13_0_5_ppt.c | 935 uint32_t soft_min_level = 0, soft_max_level = 0; in smu_v13_0_5_force_clk_levels() local 940 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_5_force_clk_levels() 949 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()
|
| 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()
|
| 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()
|
| A D | yellow_carp_ppt.c | 1117 uint32_t soft_min_level = 0, soft_max_level = 0; in yellow_carp_force_clk_levels() local 1122 soft_max_level = mask ? (fls(mask) - 1) : 0; in yellow_carp_force_clk_levels() 1133 ret = yellow_carp_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in yellow_carp_force_clk_levels()
|
| A D | smu_v13_0_7_ppt.c | 1906 uint32_t soft_min_level, soft_max_level; in smu_v13_0_7_force_clk_levels() local 1911 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_7_force_clk_levels() 1953 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_7_force_clk_levels() 1956 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_7_force_clk_levels() 1962 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_7_force_clk_levels()
|
| A D | smu_v13_0_0_ppt.c | 1917 uint32_t soft_min_level, soft_max_level; in smu_v13_0_0_force_clk_levels() local 1922 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_0_force_clk_levels() 1964 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v13_0_0_force_clk_levels() 1967 if ((soft_max_level >= single_dpm_table->count) || in smu_v13_0_0_force_clk_levels() 1973 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v13_0_0_force_clk_levels()
|
| A D | smu_v13_0_6_ppt.c | 1327 uint32_t soft_min_level, soft_max_level; in smu_v13_0_6_force_clk_levels() local 1331 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v13_0_6_force_clk_levels() 1336 if (soft_max_level >= single_dpm_table->count) { in smu_v13_0_6_force_clk_levels() 1339 soft_max_level, single_dpm_table->count - 1); in smu_v13_0_6_force_clk_levels() 1355 soft_max_level); in smu_v13_0_6_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
| A D | arcturus_ppt.h | 41 uint32_t soft_max_level; member
|
| A D | vangogh_ppt.c | 1180 uint32_t soft_min_level = 0, soft_max_level = 0; in vangogh_force_clk_levels() local 1185 soft_max_level = mask ? (fls(mask) - 1) : 0; in vangogh_force_clk_levels() 1194 soft_max_level, &max_freq); in vangogh_force_clk_levels() 1214 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1235 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels() 1260 clk_type, soft_max_level, &max_freq); in vangogh_force_clk_levels()
|
| 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()
|
| A D | navi10_ppt.c | 1662 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in navi10_force_clk_levels() local 1665 soft_max_level = mask ? (fls(mask) - 1) : 0; in navi10_force_clk_levels() 1680 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in navi10_force_clk_levels() 1688 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in navi10_force_clk_levels()
|
| A D | sienna_cichlid_ppt.c | 1446 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in sienna_cichlid_force_clk_levels() local 1449 soft_max_level = mask ? (fls(mask) - 1) : 0; in sienna_cichlid_force_clk_levels() 1460 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in sienna_cichlid_force_clk_levels() 1468 ret = smu_v11_0_get_dpm_freq_by_index(smu, clk_type, soft_max_level, &max_freq); in sienna_cichlid_force_clk_levels()
|
| /linux/drivers/gpu/drm/amd/pm/swsmu/smu12/ |
| A D | renoir_ppt.c | 800 uint32_t soft_min_level = 0, soft_max_level = 0, min_freq = 0, max_freq = 0; in renoir_force_clk_levels() local 803 soft_max_level = mask ? (fls(mask) - 1) : 0; in renoir_force_clk_levels() 808 if (soft_min_level > 2 || soft_max_level > 2) { in renoir_force_clk_levels() 817 soft_max_level == 0 ? min_freq : in renoir_force_clk_levels() 818 soft_max_level == 1 ? RENOIR_UMD_PSTATE_GFXCLK : max_freq, in renoir_force_clk_levels() 833 ret = renoir_get_dpm_clk_limited(smu, clk_type, soft_max_level, &max_freq); in renoir_force_clk_levels() 848 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/ |
| A D | smu_v14_0_2_ppt.c | 1399 uint32_t soft_min_level, soft_max_level; in smu_v14_0_2_force_clk_levels() local 1404 soft_max_level = mask ? (fls(mask) - 1) : 0; in smu_v14_0_2_force_clk_levels() 1446 soft_max_level = (soft_max_level >= 1 ? 1 : 0); in smu_v14_0_2_force_clk_levels() 1449 if ((soft_max_level >= single_dpm_table->count) || in smu_v14_0_2_force_clk_levels() 1455 max_freq = single_dpm_table->dpm_levels[soft_max_level].value; in smu_v14_0_2_force_clk_levels()
|
| 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()
|