Home
last modified time | relevance | path

Searched refs:pp_table (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/
Dvega10_hwmgr.c953 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega10_setup_dpm_led_config() local
976 pp_table->LedPin0 = (uint8_t)(mask & 0xff); in vega10_setup_dpm_led_config()
977 pp_table->LedPin1 = (uint8_t)((mask >> 8) & 0xff); in vega10_setup_dpm_led_config()
978 pp_table->LedPin2 = (uint8_t)((mask >> 16) & 0xff); in vega10_setup_dpm_led_config()
1469 data->smc_state_table.pp_table.UlvOffsetVid = in vega10_populate_ulv_state()
1472 data->smc_state_table.pp_table.UlvSmnclkDid = in vega10_populate_ulv_state()
1474 data->smc_state_table.pp_table.UlvMp1clkDid = in vega10_populate_ulv_state()
1476 data->smc_state_table.pp_table.UlvGfxclkBypass = in vega10_populate_ulv_state()
1478 data->smc_state_table.pp_table.UlvPhaseSheddingPsi0 = in vega10_populate_ulv_state()
1480 data->smc_state_table.pp_table.UlvPhaseSheddingPsi1 = in vega10_populate_ulv_state()
[all …]
Dvega12_processpptables.c364 const ATOM_Vega12_POWERPLAYTABLE *pp_table =
367 PP_ASSERT_WITH_CODE(pp_table, "Missing PowerPlay Table!",
371 if (pp_table->sHeader.format_revision >=
374 (((unsigned long)pp_table) +
375 le16_to_cpu(pp_table->usStateArrayOffset));
377 PP_ASSERT_WITH_CODE(pp_table->usStateArrayOffset > 0,
390 (void *)pp_table,
Dprocess_pptables_v1_0.c1164 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in get_number_of_powerplay_table_entries_v1_0() local
1166 PP_ASSERT_WITH_CODE((NULL != pp_table), in get_number_of_powerplay_table_entries_v1_0()
1168 PP_ASSERT_WITH_CODE((pp_table->sHeader.ucTableFormatRevision >= in get_number_of_powerplay_table_entries_v1_0()
1172 state_arrays = (ATOM_Tonga_State_Array *)(((unsigned long)pp_table) + in get_number_of_powerplay_table_entries_v1_0()
1173 le16_to_cpu(pp_table->usStateArrayOffset)); in get_number_of_powerplay_table_entries_v1_0()
1212 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in ppt_get_num_of_vce_state_table_entries_v1_0() local
1216 if (pp_table == NULL) in ppt_get_num_of_vce_state_table_entries_v1_0()
1219 vce_state_table = (void *)pp_table + in ppt_get_num_of_vce_state_table_entries_v1_0()
1220 le16_to_cpu(pp_table->usVCEStateTableOffset); in ppt_get_num_of_vce_state_table_entries_v1_0()
1294 const ATOM_Tonga_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in get_powerplay_table_entry_v1_0() local
[all …]
Dvega20_thermal.c121 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_fan_ctrl_get_fan_speed_percent() local
129 percent = current_rpm * 100 / pp_table->FanMaximumRpm; in vega20_fan_ctrl_get_fan_speed_percent()
328 PPTable_t *table = &(data->smc_state_table.pp_table); in vega20_thermal_setup_fan_table()
Dvega10_processpptables.c1286 const ATOM_Vega10_POWERPLAYTABLE *pp_table = get_powerplay_table(hwmgr); in vega10_get_number_of_powerplay_table_entries() local
1288 PP_ASSERT_WITH_CODE((pp_table != NULL), in vega10_get_number_of_powerplay_table_entries()
1290 PP_ASSERT_WITH_CODE((pp_table->sHeader.format_revision >= in vega10_get_number_of_powerplay_table_entries()
1294 state_arrays = (ATOM_Vega10_State_Array *)(((unsigned long)pp_table) + in vega10_get_number_of_powerplay_table_entries()
1295 le16_to_cpu(pp_table->usStateArrayOffset)); in vega10_get_number_of_powerplay_table_entries()
1337 const ATOM_Vega10_POWERPLAYTABLE *pp_table = in vega10_get_powerplay_table_entry() local
1340 PP_ASSERT_WITH_CODE(pp_table, "Missing PowerPlay Table!", in vega10_get_powerplay_table_entry()
1344 if (pp_table->sHeader.format_revision >= in vega10_get_powerplay_table_entry()
1347 (((unsigned long)pp_table) + in vega10_get_powerplay_table_entry()
1348 le16_to_cpu(pp_table->usStateArrayOffset)); in vega10_get_powerplay_table_entry()
[all …]
Dvega10_thermal.c507 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_thermal_setup_fan_table()
551 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_thermal_setup_fan_table()
562 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_enable_mgpu_fan_boost()
576 (uint8_t *)(&(data->smc_state_table.pp_table)), in vega10_enable_mgpu_fan_boost()
Dvega20_hwmgr.c787 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_init_smc_table() local
814 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega20_init_smc_table()
817 (uint8_t *)pp_table, TABLE_PPTABLE, false); in vega20_init_smc_table()
1015 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_od8_set_feature_capabilities() local
1030 pp_table->MinVoltageGfx / VOLTAGE_SCALE) && in vega20_od8_set_feature_capabilities()
1032 pp_table->MaxVoltageGfx / VOLTAGE_SCALE) && in vega20_od8_set_feature_capabilities()
1066 (pp_table->FanPwmMin * pp_table->FanMaximumRpm / 100)) && in vega20_od8_set_feature_capabilities()
1093 pp_table->FanZeroRpmEnable) in vega20_od8_set_feature_capabilities()
1317 od_table->FanMinimumPwm * data->smc_state_table.pp_table.FanMaximumRpm / 100; in vega20_od8_initialize_default_settings()
4120 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega20_get_thermal_temperature_range() local
[all …]
Dvega12_hwmgr.c734 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega12_init_smc_table() local
757 memcpy(pp_table, pptable_information->smc_pptable, sizeof(PPTable_t)); in vega12_init_smc_table()
760 (uint8_t *)pp_table, TABLE_PPTABLE, false); in vega12_init_smc_table()
2583 PPTable_t *pp_table = &(data->smc_state_table.pp_table); in vega12_get_thermal_temperature_range() local
2587 thermal_data->max = pp_table->TedgeLimit * in vega12_get_thermal_temperature_range()
2589 thermal_data->edge_emergency_max = (pp_table->TedgeLimit + CTF_OFFSET_EDGE) * in vega12_get_thermal_temperature_range()
2591 thermal_data->hotspot_crit_max = pp_table->ThotspotLimit * in vega12_get_thermal_temperature_range()
2593 thermal_data->hotspot_emergency_max = (pp_table->ThotspotLimit + CTF_OFFSET_HOTSPOT) * in vega12_get_thermal_temperature_range()
2595 thermal_data->mem_crit_max = pp_table->ThbmLimit * in vega12_get_thermal_temperature_range()
2597 thermal_data->mem_emergency_max = (pp_table->ThbmLimit + CTF_OFFSET_HBM)* in vega12_get_thermal_temperature_range()
Dvega12_thermal.c258 PPTable_t *table = &(data->smc_state_table.pp_table); in vega12_thermal_setup_fan_table()
Dvega10_hwmgr.h208 PPTable_t pp_table; member
Dvega12_hwmgr.h195 PPTable_t pp_table; member
Dvega20_hwmgr.h255 PPTable_t pp_table; member
Dvega10_powertune.c1291 PPTable_t *table = &(data->smc_state_table.pp_table); in vega10_initialize_power_tune_defaults()
Dsmu7_hwmgr.c3120 void *pp_table, uint32_t classification_flag) in smu7_get_pp_table_entry_callback_func_v1() argument
3128 (ATOM_Tonga_POWERPLAYTABLE *)pp_table; in smu7_get_pp_table_entry_callback_func_v1()
/Linux-v5.4/Documentation/gpu/
Damdgpu.rst121 pp_table subsection
125 :doc: pp_table
/Linux-v5.4/drivers/video/fbdev/
Dpm2fb.c201 } pp_table[] = { variable
224 for (i = 0; pp_table[i].width && pp_table[i].width != xres; i++) in partprod()
226 if (pp_table[i].width == 0) in partprod()
228 return pp_table[i].pp; in partprod()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pm.c1422 static DEVICE_ATTR(pp_table, S_IRUGO | S_IWUSR,