Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c298 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
303 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
304 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
330 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
331 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
332 if (!smu_table->hardcode_pptable) { in smu_sys_set_pp_table()
337 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
338 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
/Linux-v5.10/drivers/gpu/drm/amd/pm/inc/
Damdgpu_smu.h253 void *hardcode_pptable; member
/Linux-v5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c433 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()
434 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()