Home
last modified time | relevance | path

Searched refs:sclk_min (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_5_ppt.c1018 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_5_set_performance_level() local
1028 sclk_min = sclk_max; in smu_v13_0_5_set_performance_level()
1033 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in smu_v13_0_5_set_performance_level()
1036 sclk_max = sclk_min; in smu_v13_0_5_set_performance_level()
1041 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1048 smu_v13_0_5_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
1063 if (sclk_min && sclk_max && smu_v13_0_5_clk_dpm_is_enabled(smu, SMU_SCLK)) { in smu_v13_0_5_set_performance_level()
1066 sclk_min, in smu_v13_0_5_set_performance_level()
1071 smu->gfx_actual_hard_min_freq = sclk_min; in smu_v13_0_5_set_performance_level()
H A Dsmu_v13_0_4_ppt.c984 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_4_set_performance_level() local
998 sclk_min = sclk_max; in smu_v13_0_4_set_performance_level()
1005 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in smu_v13_0_4_set_performance_level()
1010 sclk_max = sclk_min; in smu_v13_0_4_set_performance_level()
1017 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level()
1027 smu_v13_0_4_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level()
1041 if (sclk_min && sclk_max) { in smu_v13_0_4_set_performance_level()
1044 sclk_min, in smu_v13_0_4_set_performance_level()
1049 smu->gfx_actual_hard_min_freq = sclk_min; in smu_v13_0_4_set_performance_level()
H A Dyellow_carp_ppt.c1213 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local
1228 sclk_min = sclk_max; in yellow_carp_set_performance_level()
1235 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, NULL); in yellow_carp_set_performance_level()
1240 sclk_max = sclk_min; in yellow_carp_set_performance_level()
1247 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1257 yellow_carp_get_dpm_profile_freq(smu, level, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1271 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level()
1274 sclk_min, in yellow_carp_set_performance_level()
1279 smu->gfx_actual_hard_min_freq = sclk_min; in yellow_carp_set_performance_level()
H A Dsmu_v13_0.c1712 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local
1722 sclk_min = sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1730 sclk_min = sclk_max = gfx_table->min; in smu_v13_0_set_performance_level()
1738 sclk_min = gfx_table->min; in smu_v13_0_set_performance_level()
1752 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1760 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level()
1766 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level()
1793 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level()
1796 sclk_min, in smu_v13_0_set_performance_level()
1801 pstate_table->gfxclk_pstate.curr.min = sclk_min; in smu_v13_0_set_performance_level()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1847 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local
1854 sclk_min = sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1859 sclk_min = sclk_max = gfx_table->min; in smu_v11_0_set_performance_level()
1864 sclk_min = gfx_table->min; in smu_v11_0_set_performance_level()
1872 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1877 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level()
1883 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level()
1904 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level()
1907 sclk_min, in smu_v11_0_set_performance_level()