Home
last modified time | relevance | path

Searched refs:sclk_frequency (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dkv_dpm.c580 if (table->entries[i].sclk_frequency == pi->boot_pl.sclk) in kv_program_bootup_state()
949 if (kv_get_clock_difference(table->entries[i].sclk_frequency, 40000) < 200) in kv_calculate_dfs_bypass_settings()
951 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 30000) < 200) in kv_calculate_dfs_bypass_settings()
953 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 26600) < 200) in kv_calculate_dfs_bypass_settings()
1562 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1570 if (table->entries[i].sclk_frequency <= in kv_set_valid_clock_range()
1578 table->entries[pi->highest_valid].sclk_frequency) > in kv_set_valid_clock_range()
1579 (table->entries[pi->lowest_valid].sclk_frequency - in kv_set_valid_clock_range()
1772 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
2008 ps->levels[i].sclk = table->entries[limit].sclk_frequency; in kv_apply_state_adjust_rules()
[all …]
A Dsumo_dpm.h71 u32 sclk_frequency; member
A Dsumo_dpm.c1035 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in sumo_get_valid_engine_clock()
1036 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in sumo_get_valid_engine_clock()
1039 …ping_table.entries[pi->sys_info.sclk_voltage_mapping_table.num_max_dpm_entries - 1].sclk_frequency; in sumo_get_valid_engine_clock()
1602 sclk_voltage_mapping_table->entries[n].sclk_frequency = in sumo_construct_sclk_voltage_mapping_table()
A Dtrinity_dpm.c1344 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in trinity_get_valid_engine_clock()
1345 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in trinity_get_valid_engine_clock()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/legacy-dpm/
A Dkv_dpm.c147 sclk_voltage_mapping_table->entries[n].sclk_frequency = in sumo_construct_sclk_voltage_mapping_table()
822 if (table->entries[i].sclk_frequency == pi->boot_pl.sclk) in kv_program_bootup_state()
1191 if (kv_get_clock_difference(table->entries[i].sclk_frequency, 40000) < 200) in kv_calculate_dfs_bypass_settings()
1193 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 30000) < 200) in kv_calculate_dfs_bypass_settings()
1810 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1818 if (table->entries[i].sclk_frequency <= in kv_set_valid_clock_range()
1826 table->entries[pi->highest_valid].sclk_frequency) > in kv_set_valid_clock_range()
1827 (table->entries[pi->lowest_valid].sclk_frequency - in kv_set_valid_clock_range()
2045 pi->sys_info.sclk_voltage_mapping_table.entries[idx].sclk_frequency; in kv_construct_max_power_limits_table()
2280 ps->levels[i].sclk = table->entries[limit].sclk_frequency; in kv_apply_state_adjust_rules()
[all …]
A Dkv_dpm.h48 u32 sclk_frequency; member
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Dvegam_smumgr.c1115 uint32_t sclk_frequency; in vegam_populate_smc_acpi_level() local
1126 sclk_frequency = data->vbios_boot_state.sclk_bootup_value; in vegam_populate_smc_acpi_level()
1129 sclk_frequency, in vegam_populate_smc_acpi_level()
1136 result = vegam_calculate_sclk_params(hwmgr, sclk_frequency, in vegam_populate_smc_acpi_level()
A Dpolaris10_smumgr.c1281 uint32_t sclk_frequency; in polaris10_populate_smc_acpi_level() local
1292 sclk_frequency = data->vbios_boot_state.sclk_bootup_value; in polaris10_populate_smc_acpi_level()
1295 sclk_frequency, in polaris10_populate_smc_acpi_level()
1302 result = polaris10_calculate_sclk_params(hwmgr, sclk_frequency, &(table->ACPILevel.SclkSetting)); in polaris10_populate_smc_acpi_level()

Completed in 34 milliseconds