Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c252 uint32_t *sclk_mask, in renoir_get_profiling_clk_mask() argument
258 if (sclk_mask) in renoir_get_profiling_clk_mask()
259 *sclk_mask = 0; in renoir_get_profiling_clk_mask()
265 if (sclk_mask) in renoir_get_profiling_clk_mask()
267 *sclk_mask = 3 - 1; in renoir_get_profiling_clk_mask()
935 uint32_t sclk_mask, mclk_mask, soc_mask; in renoir_set_performance_level() local
1016 &sclk_mask, in renoir_set_performance_level()
1021 renoir_force_clk_levels(smu, SMU_SCLK, 1 << sclk_mask); in renoir_set_performance_level()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dvega12_hwmgr.c1728 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega12_get_profiling_clk_mask() argument
1735 *sclk_mask = 0; in vega12_get_profiling_clk_mask()
1742 *sclk_mask = VEGA12_UMD_PSTATE_GFXCLK_LEVEL; in vega12_get_profiling_clk_mask()
1748 *sclk_mask = 0; in vega12_get_profiling_clk_mask()
1752 *sclk_mask = gfx_dpm_table->count - 1; in vega12_get_profiling_clk_mask()
1782 uint32_t sclk_mask = 0; in vega12_dpm_force_dpm_level() local
1800 ret = vega12_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega12_dpm_force_dpm_level()
1803 vega12_force_clock_level(hwmgr, PP_SCLK, 1 << sclk_mask); in vega12_dpm_force_dpm_level()
H A Dvega20_hwmgr.c2534 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega20_get_profiling_clk_mask() argument
2541 *sclk_mask = 0; in vega20_get_profiling_clk_mask()
2548 *sclk_mask = VEGA20_UMD_PSTATE_GFXCLK_LEVEL; in vega20_get_profiling_clk_mask()
2554 *sclk_mask = 0; in vega20_get_profiling_clk_mask()
2558 *sclk_mask = gfx_dpm_table->count - 1; in vega20_get_profiling_clk_mask()
2734 uint32_t sclk_mask, mclk_mask, soc_mask; in vega20_dpm_force_dpm_level() local
2753 ret = vega20_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega20_dpm_force_dpm_level()
2756 vega20_force_clock_level(hwmgr, PP_SCLK, 1 << sclk_mask); in vega20_dpm_force_dpm_level()
H A Dsmu7_hwmgr.c3168 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *pcie_mask) in smu7_get_profiling_clk() argument
3198 *sclk_mask = count; in smu7_get_profiling_clk()
3203 *sclk_mask = 0; in smu7_get_profiling_clk()
3206 *sclk_mask = hwmgr->dyn_state.vddc_dependency_on_sclk->count-1; in smu7_get_profiling_clk()
3213 *sclk_mask = count; in smu7_get_profiling_clk()
3218 *sclk_mask = 0; in smu7_get_profiling_clk()
3221 *sclk_mask = table_info->vdd_dep_on_sclk->count - 1; in smu7_get_profiling_clk()
3238 uint32_t sclk_mask = 0; in smu7_force_dpm_level() local
3256 ret = smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); in smu7_force_dpm_level()
3259 smu7_force_clock_level(hwmgr, PP_SCLK, 1<<sclk_mask); in smu7_force_dpm_level()
H A Dvega10_hwmgr.c4215 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega10_get_profiling_clk_mask() argument
4223 *sclk_mask = VEGA10_UMD_PSTATE_GFXCLK_LEVEL; in vega10_get_profiling_clk_mask()
4229 *sclk_mask = 0; in vega10_get_profiling_clk_mask()
4237 *sclk_mask = 4; in vega10_get_profiling_clk_mask()
4239 *sclk_mask = table_info->vdd_dep_on_sclk->count - 1; in vega10_get_profiling_clk_mask()
4332 uint32_t sclk_mask = 0; in vega10_dpm_force_dpm_level() local
4350 ret = vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega10_dpm_force_dpm_level()
4353 vega10_force_clock_level(hwmgr, PP_SCLK, 1<<sclk_mask); in vega10_dpm_force_dpm_level()