Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/radeon/
Dkv_dpm.c579 if (table->entries[i].sclk_frequency == pi->boot_pl.sclk) in kv_program_bootup_state()
948 if (kv_get_clock_difference(table->entries[i].sclk_frequency, 40000) < 200) in kv_calculate_dfs_bypass_settings()
950 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 30000) < 200) in kv_calculate_dfs_bypass_settings()
952 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 26600) < 200) in kv_calculate_dfs_bypass_settings()
954 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 20000) < 200) in kv_calculate_dfs_bypass_settings()
956 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 10000) < 200) in kv_calculate_dfs_bypass_settings()
1561 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1569 if (table->entries[i].sclk_frequency <= in kv_set_valid_clock_range()
1577 table->entries[pi->highest_valid].sclk_frequency) > in kv_set_valid_clock_range()
1578 (table->entries[pi->lowest_valid].sclk_frequency - in kv_set_valid_clock_range()
[all …]
Dsumo_dpm.h71 u32 sclk_frequency; member
Dsumo_dpm.c1033 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in sumo_get_valid_engine_clock()
1034 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in sumo_get_valid_engine_clock()
1037 …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()
Dtrinity_dpm.c1340 if (pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency >= lower_limit) in trinity_get_valid_engine_clock()
1341 return pi->sys_info.sclk_voltage_mapping_table.entries[i].sclk_frequency; in trinity_get_valid_engine_clock()
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dkv_dpm.c147 sclk_voltage_mapping_table->entries[n].sclk_frequency = in sumo_construct_sclk_voltage_mapping_table()
811 if (table->entries[i].sclk_frequency == pi->boot_pl.sclk) in kv_program_bootup_state()
1180 if (kv_get_clock_difference(table->entries[i].sclk_frequency, 40000) < 200) in kv_calculate_dfs_bypass_settings()
1182 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 30000) < 200) in kv_calculate_dfs_bypass_settings()
1184 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 26600) < 200) in kv_calculate_dfs_bypass_settings()
1186 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 20000) < 200) in kv_calculate_dfs_bypass_settings()
1188 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 10000) < 200) in kv_calculate_dfs_bypass_settings()
1799 if (table->entries[i].sclk_frequency >= new_ps->levels[0].sclk || in kv_set_valid_clock_range()
1807 if (table->entries[i].sclk_frequency <= in kv_set_valid_clock_range()
1815 table->entries[pi->highest_valid].sclk_frequency) > in kv_set_valid_clock_range()
[all …]
Dkv_dpm.h48 u32 sclk_frequency; member
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c1114 uint32_t sclk_frequency; in vegam_populate_smc_acpi_level() local
1125 sclk_frequency = data->vbios_boot_state.sclk_bootup_value; in vegam_populate_smc_acpi_level()
1128 sclk_frequency, in vegam_populate_smc_acpi_level()
1135 result = vegam_calculate_sclk_params(hwmgr, sclk_frequency, in vegam_populate_smc_acpi_level()
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()