Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_5_ppt.c965 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_5_set_performance_level() local
970 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_5_set_performance_level()
971 sclk_min = sclk_max; in smu_v13_0_5_set_performance_level()
975 sclk_max = sclk_min; in smu_v13_0_5_set_performance_level()
978 smu_v13_0_5_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_5_set_performance_level()
994 if (sclk_min && sclk_max && smu_v13_0_5_clk_dpm_is_enabled(smu, SMU_SCLK)) { in smu_v13_0_5_set_performance_level()
998 sclk_max); in smu_v13_0_5_set_performance_level()
1003 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_5_set_performance_level()
Dsmu_v13_0_4_ppt.c916 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_4_set_performance_level() local
923 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in smu_v13_0_4_set_performance_level()
926 sclk_min = sclk_max; in smu_v13_0_4_set_performance_level()
934 sclk_max = sclk_min; in smu_v13_0_4_set_performance_level()
939 smu_v13_0_4_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in smu_v13_0_4_set_performance_level()
957 if (sclk_min && sclk_max) { in smu_v13_0_4_set_performance_level()
961 sclk_max); in smu_v13_0_4_set_performance_level()
966 smu->gfx_actual_soft_max_freq = sclk_max; in smu_v13_0_4_set_performance_level()
Dyellow_carp_ppt.c1083 uint32_t sclk_min = 0, sclk_max = 0; in yellow_carp_set_performance_level() local
1090 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, NULL, &sclk_max); in yellow_carp_set_performance_level()
1093 sclk_min = sclk_max; in yellow_carp_set_performance_level()
1101 sclk_max = sclk_min; in yellow_carp_set_performance_level()
1106 yellow_carp_get_dpm_ultimate_freq(smu, SMU_SCLK, &sclk_min, &sclk_max); in yellow_carp_set_performance_level()
1124 if (sclk_min && sclk_max) { in yellow_carp_set_performance_level()
1128 sclk_max); in yellow_carp_set_performance_level()
1133 smu->gfx_actual_soft_max_freq = sclk_max; in yellow_carp_set_performance_level()
Dsmu_v13_0.c1708 uint32_t sclk_min = 0, sclk_max = 0; in smu_v13_0_set_performance_level() local
1718 sclk_min = sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1726 sclk_min = sclk_max = gfx_table->min; in smu_v13_0_set_performance_level()
1735 sclk_max = gfx_table->max; in smu_v13_0_set_performance_level()
1748 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v13_0_set_performance_level()
1756 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v13_0_set_performance_level()
1762 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v13_0_set_performance_level()
1789 if (sclk_min && sclk_max) { in smu_v13_0_set_performance_level()
1793 sclk_max); in smu_v13_0_set_performance_level()
1798 pstate_table->gfxclk_pstate.curr.max = sclk_max; in smu_v13_0_set_performance_level()
/linux-5.19.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1861 uint32_t sclk_min = 0, sclk_max = 0; in smu_v11_0_set_performance_level() local
1868 sclk_min = sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1873 sclk_min = sclk_max = gfx_table->min; in smu_v11_0_set_performance_level()
1879 sclk_max = gfx_table->max; in smu_v11_0_set_performance_level()
1886 sclk_min = sclk_max = pstate_table->gfxclk_pstate.standard; in smu_v11_0_set_performance_level()
1891 sclk_min = sclk_max = pstate_table->gfxclk_pstate.min; in smu_v11_0_set_performance_level()
1897 sclk_min = sclk_max = pstate_table->gfxclk_pstate.peak; in smu_v11_0_set_performance_level()
1918 if (sclk_min && sclk_max) { in smu_v11_0_set_performance_level()
1922 sclk_max); in smu_v11_0_set_performance_level()