Searched refs:sclk_frequency (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | kv_dpm.c | 580 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() 955 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 20000) < 200) in kv_calculate_dfs_bypass_settings() 957 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 10000) < 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() [all …]
|
D | sumo_dpm.h | 71 u32 sclk_frequency; member
|
D | sumo_dpm.c | 1035 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()
|
D | trinity_dpm.c | 1344 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.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | kv_dpm.c | 147 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() 1195 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 26600) < 200) in kv_calculate_dfs_bypass_settings() 1197 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 20000) < 200) in kv_calculate_dfs_bypass_settings() 1199 else if (kv_get_clock_difference(table->entries[i].sclk_frequency, 10000) < 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() [all …]
|
D | kv_dpm.h | 48 u32 sclk_frequency; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vegam_smumgr.c | 1115 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()
|
D | polaris10_smumgr.c | 1281 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()
|