Home
last modified time | relevance | path

Searched refs:table_clk_vlt (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c496 struct phm_clock_voltage_dependency_table *table_clk_vlt; in phm_initializa_dynamic_state_adjustment_rule_settings() local
501 table_clk_vlt = kzalloc(table_size, GFP_KERNEL); in phm_initializa_dynamic_state_adjustment_rule_settings()
503 if (NULL == table_clk_vlt) { in phm_initializa_dynamic_state_adjustment_rule_settings()
507 table_clk_vlt->count = 4; in phm_initializa_dynamic_state_adjustment_rule_settings()
508 table_clk_vlt->entries[0].clk = PP_DAL_POWERLEVEL_ULTRALOW; in phm_initializa_dynamic_state_adjustment_rule_settings()
509 table_clk_vlt->entries[0].v = 0; in phm_initializa_dynamic_state_adjustment_rule_settings()
510 table_clk_vlt->entries[1].clk = PP_DAL_POWERLEVEL_LOW; in phm_initializa_dynamic_state_adjustment_rule_settings()
511 table_clk_vlt->entries[1].v = 720; in phm_initializa_dynamic_state_adjustment_rule_settings()
512 table_clk_vlt->entries[2].clk = PP_DAL_POWERLEVEL_NOMINAL; in phm_initializa_dynamic_state_adjustment_rule_settings()
513 table_clk_vlt->entries[2].v = 810; in phm_initializa_dynamic_state_adjustment_rule_settings()
[all …]
Dsmu10_hwmgr.c133 struct phm_clock_voltage_dependency_table *table_clk_vlt; in smu10_init_dynamic_state_adjustment_rule_settings() local
135 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, 7), in smu10_init_dynamic_state_adjustment_rule_settings()
138 if (NULL == table_clk_vlt) { in smu10_init_dynamic_state_adjustment_rule_settings()
143 table_clk_vlt->count = 8; in smu10_init_dynamic_state_adjustment_rule_settings()
144 table_clk_vlt->entries[0].clk = PP_DAL_POWERLEVEL_0; in smu10_init_dynamic_state_adjustment_rule_settings()
145 table_clk_vlt->entries[0].v = 0; in smu10_init_dynamic_state_adjustment_rule_settings()
146 table_clk_vlt->entries[1].clk = PP_DAL_POWERLEVEL_1; in smu10_init_dynamic_state_adjustment_rule_settings()
147 table_clk_vlt->entries[1].v = 1; in smu10_init_dynamic_state_adjustment_rule_settings()
148 table_clk_vlt->entries[2].clk = PP_DAL_POWERLEVEL_2; in smu10_init_dynamic_state_adjustment_rule_settings()
149 table_clk_vlt->entries[2].v = 2; in smu10_init_dynamic_state_adjustment_rule_settings()
[all …]
Dsmu8_hwmgr.c277 struct phm_clock_voltage_dependency_table *table_clk_vlt; in smu8_init_dynamic_state_adjustment_rule_settings() local
279 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, 7), in smu8_init_dynamic_state_adjustment_rule_settings()
282 if (NULL == table_clk_vlt) { in smu8_init_dynamic_state_adjustment_rule_settings()
287 table_clk_vlt->count = 8; in smu8_init_dynamic_state_adjustment_rule_settings()
288 table_clk_vlt->entries[0].clk = PP_DAL_POWERLEVEL_0; in smu8_init_dynamic_state_adjustment_rule_settings()
289 table_clk_vlt->entries[0].v = 0; in smu8_init_dynamic_state_adjustment_rule_settings()
290 table_clk_vlt->entries[1].clk = PP_DAL_POWERLEVEL_1; in smu8_init_dynamic_state_adjustment_rule_settings()
291 table_clk_vlt->entries[1].v = 1; in smu8_init_dynamic_state_adjustment_rule_settings()
292 table_clk_vlt->entries[2].clk = PP_DAL_POWERLEVEL_2; in smu8_init_dynamic_state_adjustment_rule_settings()
293 table_clk_vlt->entries[2].v = 2; in smu8_init_dynamic_state_adjustment_rule_settings()
[all …]