Home
last modified time | relevance | path

Searched refs:ss_divider_index (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/radeon/
Dsumo_dpm.c564 if (pl->ss_divider_index == 0 || pl->ds_divider_index == 0) { in sumo_program_power_level()
568 sumo_set_ss_dividers(rdev, index, pl->ss_divider_index); in sumo_program_power_level()
1066 ps->levels[0].ss_divider_index = in sumo_patch_thermal_state()
1072 if (ps->levels[0].ds_divider_index > ps->levels[0].ss_divider_index + 1) in sumo_patch_thermal_state()
1073 ps->levels[0].ds_divider_index = ps->levels[0].ss_divider_index + 1; in sumo_patch_thermal_state()
1075 if (ps->levels[0].ss_divider_index == ps->levels[0].ds_divider_index) { in sumo_patch_thermal_state()
1076 if (ps->levels[0].ss_divider_index > 1) in sumo_patch_thermal_state()
1077 ps->levels[0].ss_divider_index = ps->levels[0].ss_divider_index - 1; in sumo_patch_thermal_state()
1080 if (ps->levels[0].ss_divider_index == 0) in sumo_patch_thermal_state()
1084 ps->levels[0].ss_divider_index = 0; in sumo_patch_thermal_state()
[all …]
Dtrinity_dpm.h34 u8 ss_divider_index; member
Dkv_dpm.h74 u8 ss_divider_index; member
Dsumo_dpm.h35 u32 ss_divider_index; member
Dtrinity_dpm.c723 trinity_set_ss_dividers(rdev, index, pl->ss_divider_index); in trinity_program_power_level()
1347 pi->boot_pl.ss_divider_index = 0; in trinity_construct_boot_state()
1422 ps->levels[0].ss_divider_index = ps->levels[0].ds_divider_index; in trinity_patch_thermal_state()
1583 ps->levels[i].ss_divider_index = ps->levels[i].ds_divider_index; in trinity_apply_state_adjust_rules()
1724 pl->ss_divider_index = 5; in trinity_parse_pplib_clock_info()
Dkv_dpm.c2032 pi->boot_pl.ss_divider_index = 0; in kv_construct_boot_state()
2627 pl->ss_divider_index = 5; in kv_parse_pplib_clock_info()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dkv_dpm.h100 u8 ss_divider_index; member
Dkv_dpm.c2101 pi->boot_pl.ss_divider_index = 0; in kv_construct_boot_state()
2698 pl->ss_divider_index = 5; in kv_parse_pplib_clock_info()
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu10_hwmgr.h79 uint8_t ss_divider_index; member
Dsmu10_hwmgr.c730 smu10_ps->levels[index].ss_divider_index = 5; in smu10_dpm_get_pp_table_entry_callback()
929 clock_info->min_eng_clk = ps->levels[0].engine_clock / (1 << (ps->levels[0].ss_divider_index)); in smu10_get_current_shallow_sleep_clocks()
930 …clk = ps->levels[ps->level - 1].engine_clock / (1 << (ps->levels[ps->level - 1].ss_divider_index)); in smu10_get_current_shallow_sleep_clocks()