Searched refs:od_table (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | navi10_ppt.c | 1233 static inline bool navi10_od_feature_is_supported(struct smu_11_0_overdrive_table *od_table, enum S… in navi10_od_feature_is_supported() argument 1235 return od_table->cap[cap]; in navi10_od_feature_is_supported() 1238 static void navi10_od_setting_get_range(struct smu_11_0_overdrive_table *od_table, in navi10_od_setting_get_range() argument 1243 *min = od_table->min[setting]; in navi10_od_setting_get_range() 1245 *max = od_table->max[setting]; in navi10_od_setting_get_range() 1263 OverDriveTable_t *od_table = in navi10_emit_clk_levels() local 1350 if (!smu->od_enabled || !od_table || !od_settings) in navi10_emit_clk_levels() 1355 od_table->GfxclkFmin, od_table->GfxclkFmax); in navi10_emit_clk_levels() 1358 if (!smu->od_enabled || !od_table || !od_settings) in navi10_emit_clk_levels() 1362 *offset += sysfs_emit_at(buf, *offset, "OD_MCLK:\n1: %uMHz\n", od_table->UclkFmax); in navi10_emit_clk_levels() [all …]
|
D | sienna_cichlid_ppt.c | 1234 static bool sienna_cichlid_is_od_feature_supported(struct smu_11_0_7_overdrive_table *od_table, in sienna_cichlid_is_od_feature_supported() argument 1237 return od_table->cap[cap]; in sienna_cichlid_is_od_feature_supported() 1240 static void sienna_cichlid_get_od_setting_range(struct smu_11_0_7_overdrive_table *od_table, in sienna_cichlid_get_od_setting_range() argument 1245 *min = od_table->min[setting]; in sienna_cichlid_get_od_setting_range() 1247 *max = od_table->max[setting]; in sienna_cichlid_get_od_setting_range() 1260 OverDriveTable_t *od_table = in sienna_cichlid_print_clk_levels() local 1348 if (!smu->od_enabled || !od_table || !od_settings) in sienna_cichlid_print_clk_levels() 1355 …size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMhz\n", od_table->GfxclkFmin, od_table->GfxclkFma… in sienna_cichlid_print_clk_levels() 1359 if (!smu->od_enabled || !od_table || !od_settings) in sienna_cichlid_print_clk_levels() 1366 size += sysfs_emit_at(buf, size, "0: %uMhz\n1: %uMHz\n", od_table->UclkFmin, od_table->UclkFmax); in sienna_cichlid_print_clk_levels() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_hwmgr.c | 1244 OverDriveTable_t *od_table = &(data->smc_state_table.overdrive_table); in vega20_od8_initialize_default_settings() local 1254 ret = smum_smc_table_manager(hwmgr, (uint8_t *)od_table, TABLE_OVERDRIVE, true); in vega20_od8_initialize_default_settings() 1261 od_table->GfxclkFmin; in vega20_od8_initialize_default_settings() 1263 od_table->GfxclkFmax; in vega20_od8_initialize_default_settings() 1272 od_table->GfxclkFreq1 = od_table->GfxclkFmin; in vega20_od8_initialize_default_settings() 1274 od_table->GfxclkFreq1; in vega20_od8_initialize_default_settings() 1276 od_table->GfxclkFreq3 = od_table->GfxclkFmax; in vega20_od8_initialize_default_settings() 1278 od_table->GfxclkFreq3; in vega20_od8_initialize_default_settings() 1280 od_table->GfxclkFreq2 = (od_table->GfxclkFreq1 + od_table->GfxclkFreq3) / 2; in vega20_od8_initialize_default_settings() 1282 od_table->GfxclkFreq2; in vega20_od8_initialize_default_settings() [all …]
|
D | vega10_hwmgr.c | 313 struct phm_ppt_v1_clock_voltage_dependency_table *od_table[3]; in vega10_odn_initial_default_setting() local 335 od_table[0] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_sclk; in vega10_odn_initial_default_setting() 336 od_table[1] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_mclk; in vega10_odn_initial_default_setting() 337 od_table[2] = (struct phm_ppt_v1_clock_voltage_dependency_table *)&odn_table->vdd_dep_on_socclk; in vega10_odn_initial_default_setting() 340 smu_get_voltage_dependency_table_ppt_v1(dep_table[i], od_table[i]); in vega10_odn_initial_default_setting() 347 i = od_table[2]->count - 1; in vega10_odn_initial_default_setting() 348 …od_table[2]->entries[i].clk = hwmgr->platform_descriptor.overdriveLimit.memoryClock > od_table[2]-… in vega10_odn_initial_default_setting() 350 od_table[2]->entries[i].clk; in vega10_odn_initial_default_setting() 351 od_table[2]->entries[i].vddc = odn_table->max_vddc > od_table[2]->entries[i].vddc ? in vega10_odn_initial_default_setting() 353 od_table[2]->entries[i].vddc; in vega10_odn_initial_default_setting()
|