Searched refs:mclk_mask (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega12_hwmgr.c | 1495 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega12_get_profiling_clk_mask() argument 1503 *mclk_mask = 0; in vega12_get_profiling_clk_mask() 1510 *mclk_mask = VEGA12_UMD_PSTATE_MCLK_LEVEL; in vega12_get_profiling_clk_mask() 1517 *mclk_mask = 0; in vega12_get_profiling_clk_mask() 1520 *mclk_mask = mem_dpm_table->count - 1; in vega12_get_profiling_clk_mask() 1550 uint32_t mclk_mask = 0; in vega12_dpm_force_dpm_level() local 1567 ret = vega12_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega12_dpm_force_dpm_level() 1571 vega12_force_clock_level(hwmgr, PP_MCLK, 1 << mclk_mask); in vega12_dpm_force_dpm_level()
|
D | smu7_hwmgr.c | 2726 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *pcie_mask) in smu7_get_profiling_clk() argument 2744 *mclk_mask = golden_dpm_table->mclk_table.count - 1; in smu7_get_profiling_clk() 2747 *mclk_mask = golden_dpm_table->mclk_table.count - 2; in smu7_get_profiling_clk() 2789 *mclk_mask = 0; in smu7_get_profiling_clk() 2791 *mclk_mask = golden_dpm_table->mclk_table.count - 1; in smu7_get_profiling_clk() 2805 uint32_t mclk_mask = 0; in smu7_force_dpm_level() local 2809 smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); in smu7_force_dpm_level() 2825 ret = smu7_get_profiling_clk(hwmgr, level, &sclk_mask, &mclk_mask, &pcie_mask); in smu7_force_dpm_level() 2829 smu7_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask); in smu7_force_dpm_level()
|
D | vega10_hwmgr.c | 3911 uint32_t *sclk_mask, uint32_t *mclk_mask, uint32_t *soc_mask) in vega10_get_profiling_clk_mask() argument 3921 *mclk_mask = VEGA10_UMD_PSTATE_MCLK_LEVEL; in vega10_get_profiling_clk_mask() 3929 *mclk_mask = 0; in vega10_get_profiling_clk_mask() 3933 *mclk_mask = table_info->vdd_dep_on_mclk->count - 1; in vega10_get_profiling_clk_mask() 4003 uint32_t mclk_mask = 0; in vega10_dpm_force_dpm_level() local 4007 vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega10_dpm_force_dpm_level() 4023 ret = vega10_get_profiling_clk_mask(hwmgr, level, &sclk_mask, &mclk_mask, &soc_mask); in vega10_dpm_force_dpm_level() 4027 vega10_force_clock_level(hwmgr, PP_MCLK, 1<<mclk_mask); in vega10_dpm_force_dpm_level()
|