Searched refs:dgpu_limit (Results 1 – 2 of 2) sorted by relevance
302 uint16_t dgpu_limit = 0; in yellow_carp_get_ss_power_percent() local316 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()
1138 uint16_t dgpu_limit = 0; in renoir_get_ss_power_percent() local1150 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()