Home
last modified time | relevance | path

Searched refs:hardcode_pptable (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c492 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
495 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
496 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
520 if (!smu_table->hardcode_pptable) { in smu_sys_set_pp_table()
521 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
522 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
526 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
527 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
H A Damdgpu_smu.h253 void *hardcode_pptable; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Damdgpu_smu.h326 void *hardcode_pptable; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c447 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()
448 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c520 kfree(smu_table->hardcode_pptable); in smu_v13_0_fini_smc_tables()
521 smu_table->hardcode_pptable = NULL; in smu_v13_0_fini_smc_tables()

Completed in 28 milliseconds