Home
last modified time | relevance | path

Searched refs:table_context (Results 1 – 5 of 5) sorted by relevance

/drivers/gpu/drm/amd/powerplay/
Dvega20_ppt.c380 struct smu_table_context *table_context = &smu->smu_table; in vega20_setup_od8_information() local
386 if (!table_context->power_play_table) in vega20_setup_od8_information()
389 powerplay_table = table_context->power_play_table; in vega20_setup_od8_information()
456 struct smu_table_context *table_context = &smu->smu_table; in vega20_store_powerplay_table() local
458 if (!table_context->power_play_table) in vega20_store_powerplay_table()
461 powerplay_table = table_context->power_play_table; in vega20_store_powerplay_table()
463 memcpy(table_context->driver_pptable, &powerplay_table->smcPPTable, in vega20_store_powerplay_table()
466 table_context->thermal_controller_type = powerplay_table->ucThermalControllerType; in vega20_store_powerplay_table()
467table_context->TDPODLimit = le32_to_cpu(powerplay_table->OverDrive8Table.ODSettingsMax[ATOM_VEGA20… in vega20_store_powerplay_table()
474 struct smu_table_context *table_context = &smu->smu_table; in vega20_append_powerplay_table() local
[all …]
Dnavi10_ppt.c400 struct smu_table_context *table_context = &smu->smu_table; in navi10_append_powerplay_table() local
401 PPTable_t *smc_pptable = table_context->driver_pptable; in navi10_append_powerplay_table()
496 struct smu_table_context *table_context = &smu->smu_table; in navi10_store_powerplay_table() local
499 if (!table_context->power_play_table) in navi10_store_powerplay_table()
502 powerplay_table = table_context->power_play_table; in navi10_store_powerplay_table()
504 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in navi10_store_powerplay_table()
507 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in navi10_store_powerplay_table()
588 struct smu_table_context *table_context = &smu->smu_table; in navi10_set_default_dpm_table() local
592 driver_ppt = table_context->driver_pptable; in navi10_set_default_dpm_table()
1392 struct smu_table_context *table_context = &smu->smu_table; in navi10_read_sensor() local
[all …]
Dsmu_v11_0.c734 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_parse_pptable() local
735 struct smu_table *table = &table_context->tables[SMU_TABLE_PPTABLE]; in smu_v11_0_parse_pptable()
737 if (table_context->driver_pptable) in smu_v11_0_parse_pptable()
740 table_context->driver_pptable = kzalloc(table->size, GFP_KERNEL); in smu_v11_0_parse_pptable()
742 if (!table_context->driver_pptable) in smu_v11_0_parse_pptable()
765 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_write_pptable() local
769 table_context->driver_pptable, true); in smu_v11_0_write_pptable()
805 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_set_min_dcef_deep_sleep() local
809 if (!table_context) in smu_v11_0_set_min_dcef_deep_sleep()
813 table_context->boot_values.dcefclk / 100); in smu_v11_0_set_min_dcef_deep_sleep()
[all …]
Darcturus_ppt.c487 struct smu_table_context *table_context = &smu->smu_table; in arcturus_store_powerplay_table() local
490 if (!table_context->power_play_table) in arcturus_store_powerplay_table()
493 powerplay_table = table_context->power_play_table; in arcturus_store_powerplay_table()
495 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in arcturus_store_powerplay_table()
498 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in arcturus_store_powerplay_table()
505 struct smu_table_context *table_context = &smu->smu_table; in arcturus_append_powerplay_table() local
506 PPTable_t *smc_pptable = table_context->driver_pptable; in arcturus_append_powerplay_table()
1017 struct smu_table_context *table_context = &smu->smu_table; in arcturus_read_sensor() local
1018 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor()
1462 struct smu_table_context *table_context = &smu->smu_table; in arcturus_dump_pptable() local
[all …]
Damdgpu_smu.c1299 struct smu_table_context *table_context = &smu->smu_table; in smu_hw_fini() local
1307 kfree(table_context->driver_pptable); in smu_hw_fini()
1308 table_context->driver_pptable = NULL; in smu_hw_fini()
1310 kfree(table_context->max_sustainable_clocks); in smu_hw_fini()
1311 table_context->max_sustainable_clocks = NULL; in smu_hw_fini()
1313 kfree(table_context->overdrive_table); in smu_hw_fini()
1314 table_context->overdrive_table = NULL; in smu_hw_fini()