Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c495 struct phm_clock_voltage_dependency_table *table_clk_vlt; in phm_initializa_dynamic_state_adjustment_rule_settings() local
499 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, 4), in phm_initializa_dynamic_state_adjustment_rule_settings()
502 if (NULL == table_clk_vlt) { in phm_initializa_dynamic_state_adjustment_rule_settings()
506 table_clk_vlt->count = 4; in phm_initializa_dynamic_state_adjustment_rule_settings()
507 table_clk_vlt->entries[0].clk = PP_DAL_POWERLEVEL_ULTRALOW; in phm_initializa_dynamic_state_adjustment_rule_settings()
510 table_clk_vlt->entries[0].v = 700; in phm_initializa_dynamic_state_adjustment_rule_settings()
512 table_clk_vlt->entries[0].v = 0; in phm_initializa_dynamic_state_adjustment_rule_settings()
513 table_clk_vlt->entries[1].clk = PP_DAL_POWERLEVEL_LOW; in phm_initializa_dynamic_state_adjustment_rule_settings()
516 table_clk_vlt->entries[1].v = 740; in phm_initializa_dynamic_state_adjustment_rule_settings()
518 table_clk_vlt->entries[1].v = 720; in phm_initializa_dynamic_state_adjustment_rule_settings()
[all …]
Dsmu10_hwmgr.c134 struct phm_clock_voltage_dependency_table *table_clk_vlt; in smu10_init_dynamic_state_adjustment_rule_settings() local
136 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, count), in smu10_init_dynamic_state_adjustment_rule_settings()
139 if (NULL == table_clk_vlt) { in smu10_init_dynamic_state_adjustment_rule_settings()
144 table_clk_vlt->count = count; in smu10_init_dynamic_state_adjustment_rule_settings()
145 table_clk_vlt->entries[0].clk = PP_DAL_POWERLEVEL_0; in smu10_init_dynamic_state_adjustment_rule_settings()
146 table_clk_vlt->entries[0].v = 0; in smu10_init_dynamic_state_adjustment_rule_settings()
147 table_clk_vlt->entries[1].clk = PP_DAL_POWERLEVEL_1; in smu10_init_dynamic_state_adjustment_rule_settings()
148 table_clk_vlt->entries[1].v = 1; in smu10_init_dynamic_state_adjustment_rule_settings()
149 table_clk_vlt->entries[2].clk = PP_DAL_POWERLEVEL_2; in smu10_init_dynamic_state_adjustment_rule_settings()
150 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, 8), 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 …]