Home
last modified time | relevance | path

Searched refs:tdp_table (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_processpptables.c423 struct phm_tdp_table *tdp_table; in get_tdp_table() local
432 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()
434 if (!tdp_table) in get_tdp_table()
439 tdp_table->usMaximumPowerDeliveryLimit = le16_to_cpu(power_tune_table->usSocketPowerLimit); in get_tdp_table()
440 tdp_table->usTDC = le16_to_cpu(power_tune_table->usTdcLimit); in get_tdp_table()
441 tdp_table->usEDCLimit = le16_to_cpu(power_tune_table->usEdcLimit); in get_tdp_table()
442 tdp_table->usSoftwareShutdownTemp = in get_tdp_table()
444 tdp_table->usTemperatureLimitTedge = in get_tdp_table()
446 tdp_table->usTemperatureLimitHotspot = in get_tdp_table()
448 tdp_table->usTemperatureLimitLiquid1 = in get_tdp_table()
[all …]
Dprocess_pptables_v1_0.c574 struct phm_cac_tdp_table *tdp_table; in get_cac_tdp_table() local
577 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
579 if (NULL == tdp_table) in get_cac_tdp_table()
585 kfree(tdp_table); in get_cac_tdp_table()
592 tdp_table->usTDP = le16_to_cpu(tonga_table->usTDP); in get_cac_tdp_table()
593 tdp_table->usConfigurableTDP = in get_cac_tdp_table()
595 tdp_table->usTDC = le16_to_cpu(tonga_table->usTDC); in get_cac_tdp_table()
596 tdp_table->usBatteryPowerLimit = in get_cac_tdp_table()
598 tdp_table->usSmallPowerLimit = in get_cac_tdp_table()
600 tdp_table->usLowCACLeakage = in get_cac_tdp_table()
[all …]
Dvega10_powertune.c1241 struct phm_tdp_table *tdp_table = table_info->tdp_table; in vega10_initialize_power_tune_defaults() local
1245 tdp_table->usMaximumPowerDeliveryLimit); in vega10_initialize_power_tune_defaults()
1246 table->TdcLimit = cpu_to_le16(tdp_table->usTDC); in vega10_initialize_power_tune_defaults()
1247 table->EdcLimit = cpu_to_le16(tdp_table->usEDCLimit); in vega10_initialize_power_tune_defaults()
1248 table->TedgeLimit = cpu_to_le16(tdp_table->usTemperatureLimitTedge); in vega10_initialize_power_tune_defaults()
1249 table->ThotspotLimit = cpu_to_le16(tdp_table->usTemperatureLimitHotspot); in vega10_initialize_power_tune_defaults()
1250 table->ThbmLimit = cpu_to_le16(tdp_table->usTemperatureLimitHBM); in vega10_initialize_power_tune_defaults()
1251 table->Tvr_socLimit = cpu_to_le16(tdp_table->usTemperatureLimitVrVddc); in vega10_initialize_power_tune_defaults()
1252 table->Tvr_memLimit = cpu_to_le16(tdp_table->usTemperatureLimitVrMvdd); in vega10_initialize_power_tune_defaults()
1253 table->Tliquid1Limit = cpu_to_le16(tdp_table->usTemperatureLimitLiquid1); in vega10_initialize_power_tune_defaults()
[all …]
Dvega10_thermal.c364 struct phm_tdp_table *tdp_table = pp_table_info->tdp_table; in vega10_thermal_set_temperature_range() local
380 if ((tdp_table->usSoftwareShutdownTemp > in vega10_thermal_set_temperature_range()
382 if (high > tdp_table->usSoftwareShutdownTemp) in vega10_thermal_set_temperature_range()
383 high = tdp_table->usSoftwareShutdownTemp; in vega10_thermal_set_temperature_range()
Dprocesspptables.c318 struct phm_cac_tdp_table *tdp_table; in get_cac_tdp_table() local
322 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_cac_tdp_table()
323 if (NULL == tdp_table) in get_cac_tdp_table()
326 tdp_table->usTDP = le16_to_cpu(table->usTDP); in get_cac_tdp_table()
327 tdp_table->usConfigurableTDP = le16_to_cpu(table->usConfigurableTDP); in get_cac_tdp_table()
328 tdp_table->usTDC = le16_to_cpu(table->usTDC); in get_cac_tdp_table()
329 tdp_table->usBatteryPowerLimit = le16_to_cpu(table->usBatteryPowerLimit); in get_cac_tdp_table()
330 tdp_table->usSmallPowerLimit = le16_to_cpu(table->usSmallPowerLimit); in get_cac_tdp_table()
331 tdp_table->usLowCACLeakage = le16_to_cpu(table->usLowCACLeakage); in get_cac_tdp_table()
332 tdp_table->usHighCACLeakage = le16_to_cpu(table->usHighCACLeakage); in get_cac_tdp_table()
[all …]
Dvega10_hwmgr.c285 if (table_info->tdp_table->usClockStretchAmount && in vega10_set_features_platform_caps()
5259 struct phm_tdp_table *tdp_table = pp_table_info->tdp_table; in vega10_get_thermal_temperature_range() local
5276 if (tdp_table->usSoftwareShutdownTemp > pp_table->ThotspotLimit && in vega10_get_thermal_temperature_range()
5277 tdp_table->usSoftwareShutdownTemp < VEGA10_THERMAL_MAXIMUM_ALERT_TEMP) in vega10_get_thermal_temperature_range()
5278 thermal_data->sw_ctf_threshold = tdp_table->usSoftwareShutdownTemp; in vega10_get_thermal_temperature_range()
/drivers/gpu/drm/amd/pm/powerplay/inc/
Dhwmgr.h547 struct phm_tdp_table *tdp_table; member
584 struct phm_tdp_table *tdp_table; member