Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/
H A Damdgpu_smu_v11_0.c722 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_parse_pptable() local
723 struct smu_table *table = &table_context->tables[SMU_TABLE_PPTABLE]; in smu_v11_0_parse_pptable()
725 if (table_context->driver_pptable) in smu_v11_0_parse_pptable()
728 table_context->driver_pptable = kzalloc(table->size, GFP_KERNEL); in smu_v11_0_parse_pptable()
730 if (!table_context->driver_pptable) in smu_v11_0_parse_pptable()
753 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_write_pptable() local
757 table_context->driver_pptable, true); in smu_v11_0_write_pptable()
776 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_set_min_dcef_deep_sleep() local
780 if (!table_context) in smu_v11_0_set_min_dcef_deep_sleep()
783 return smu_v11_0_set_deep_sleep_dcefclk(smu, table_context->boot_values.dcefclk / 100); in smu_v11_0_set_min_dcef_deep_sleep()
[all …]
H A Damdgpu_vega20_ppt.c393 struct smu_table_context *table_context = &smu->smu_table; in vega20_setup_od8_information() local
399 if (!table_context->power_play_table) in vega20_setup_od8_information()
402 powerplay_table = table_context->power_play_table; in vega20_setup_od8_information()
469 struct smu_table_context *table_context = &smu->smu_table; in vega20_store_powerplay_table() local
471 if (!table_context->power_play_table) in vega20_store_powerplay_table()
474 powerplay_table = table_context->power_play_table; in vega20_store_powerplay_table()
476 memcpy(table_context->driver_pptable, &powerplay_table->smcPPTable, in vega20_store_powerplay_table()
479 table_context->thermal_controller_type = powerplay_table->ucThermalControllerType; in vega20_store_powerplay_table()
486 struct smu_table_context *table_context = &smu->smu_table; in vega20_append_powerplay_table() local
487 PPTable_t *smc_pptable = table_context->driver_pptable; in vega20_append_powerplay_table()
[all …]
H A Damdgpu_navi10_ppt.c430 struct smu_table_context *table_context = &smu->smu_table; in navi10_append_powerplay_table() local
431 PPTable_t *smc_pptable = table_context->driver_pptable; in navi10_append_powerplay_table()
526 struct smu_table_context *table_context = &smu->smu_table; in navi10_store_powerplay_table() local
529 if (!table_context->power_play_table) in navi10_store_powerplay_table()
532 powerplay_table = table_context->power_play_table; in navi10_store_powerplay_table()
534 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in navi10_store_powerplay_table()
537 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in navi10_store_powerplay_table()
622 struct smu_table_context *table_context = &smu->smu_table; in navi10_set_default_dpm_table() local
627 driver_ppt = table_context->driver_pptable; in navi10_set_default_dpm_table()
771 struct smu_table_context *table_context = &smu->smu_table; in navi10_print_clk_levels() local
[all …]
H A Damdgpu_arcturus_ppt.c505 struct smu_table_context *table_context = &smu->smu_table; in arcturus_store_powerplay_table() local
509 if (!table_context->power_play_table) in arcturus_store_powerplay_table()
512 powerplay_table = table_context->power_play_table; in arcturus_store_powerplay_table()
514 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in arcturus_store_powerplay_table()
517 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in arcturus_store_powerplay_table()
530 struct smu_table_context *table_context = &smu->smu_table; in arcturus_append_powerplay_table() local
531 PPTable_t *smc_pptable = table_context->driver_pptable; in arcturus_append_powerplay_table()
990 struct smu_table_context *table_context = &smu->smu_table; in arcturus_read_sensor() local
991 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor()
1528 struct smu_table_context *table_context = &smu->smu_table; in arcturus_dump_pptable() local
[all …]
H A Damdgpu_smu.c1390 struct smu_table_context *table_context = &smu->smu_table; in smu_hw_fini() local
1434 kfree(table_context->driver_pptable); in smu_hw_fini()
1435 table_context->driver_pptable = NULL; in smu_hw_fini()
1437 kfree(table_context->max_sustainable_clocks); in smu_hw_fini()
1438 table_context->max_sustainable_clocks = NULL; in smu_hw_fini()
1440 kfree(table_context->overdrive_table); in smu_hw_fini()
1441 table_context->overdrive_table = NULL; in smu_hw_fini()