Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/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
1025 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_5_set_performance_level()
1028 sclk_min = sclk_max; 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()
1067 sclk_max); in smu_v13_0_5_set_performance_level()
1072 smu->gfx_actual_soft_max_freq = sclk_max; 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
993 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_4_set_performance_level()
998 sclk_min = sclk_max; 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()
1045 sclk_max); in smu_v13_0_4_set_performance_level()
1050 smu->gfx_actual_soft_max_freq = sclk_max; 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
1223 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in yellow_carp_set_performance_level()
1228 sclk_min = sclk_max; 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()
1275 sclk_max); in yellow_carp_set_performance_level()
1280 smu->gfx_actual_soft_max_freq = sclk_max; 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()
1739 sclk_max = gfx_table->max; 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()
1797 sclk_max); in smu_v13_0_set_performance_level()
1802 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v13_0_set_performance_level()
/openbsd/sys/dev/pci/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()
1865 sclk_max = gfx_table->max; 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()
1908 sclk_max); in smu_v11_0_set_performance_level()