Home
last modified time | relevance | path

Searched refs:dgpu_limit (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dyellow_carp_ppt.c302 uint16_t dgpu_limit = 0; in yellow_carp_get_ss_power_percent() local
316 dgpu_limit = metrics->StapmCurrentLimit - metrics->StapmOpnLimit; in yellow_carp_get_ss_power_percent()
317 if (dgpu_power > dgpu_limit && dgpu_limit != 0) in yellow_carp_get_ss_power_percent()
318 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in yellow_carp_get_ss_power_percent()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c1138 uint16_t dgpu_limit = 0; in renoir_get_ss_power_percent() local
1150 dgpu_limit = metrics->StapmCurrentLimit - metrics->StapmOriginalLimit; in renoir_get_ss_power_percent()
1151 if (dgpu_power > dgpu_limit && dgpu_limit != 0) in renoir_get_ss_power_percent()
1152 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in renoir_get_ss_power_percent()