Home
last modified time | relevance | path

Searched refs:hardcode_pptable (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c640 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
643 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
644 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
668 if (!smu_table->hardcode_pptable || smu_table->power_play_table_size < size) { in smu_sys_set_pp_table()
669 kfree(smu_table->hardcode_pptable); in smu_sys_set_pp_table()
670 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
671 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
675 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
676 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu15/
H A Dsmu_v15_0.c479 kfree(smu_table->hardcode_pptable); in smu_v15_0_fini_smc_tables()
480 smu_table->hardcode_pptable = NULL; in smu_v15_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0.c510 kfree(smu_table->hardcode_pptable); in smu_v14_0_fini_smc_tables()
511 smu_table->hardcode_pptable = NULL; in smu_v14_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c444 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()
445 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c523 kfree(smu_table->hardcode_pptable); in smu_v13_0_fini_smc_tables()
524 smu_table->hardcode_pptable = NULL; in smu_v13_0_fini_smc_tables()
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h387 void *hardcode_pptable; member