Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dyellow_carp_ppt.c292 uint32_t dgpu_boost = 0; in yellow_carp_get_ss_power_percent() local
310 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in yellow_carp_get_ss_power_percent()
311 dgpu_boost = (dgpu_boost > 100) ? 100 : dgpu_boost; in yellow_carp_get_ss_power_percent()
313 if (dgpu_boost >= apu_boost) in yellow_carp_get_ss_power_percent()
316 dgpu_boost = 0; in yellow_carp_get_ss_power_percent()
319 *dgpu_percent = dgpu_boost; in yellow_carp_get_ss_power_percent()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c1135 uint32_t dgpu_boost = 0; in renoir_get_ss_power_percent() local
1151 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in renoir_get_ss_power_percent()
1152 dgpu_boost = (dgpu_boost > 100) ? 100 : dgpu_boost; in renoir_get_ss_power_percent()
1154 if (dgpu_boost >= apu_boost) in renoir_get_ss_power_percent()
1157 dgpu_boost = 0; in renoir_get_ss_power_percent()
1160 *dgpu_percent = dgpu_boost; in renoir_get_ss_power_percent()
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsienna_cichlid_ppt.c657 uint32_t dgpu_boost = 0; in sienna_cichlid_get_smartshift_power_percentage() local
684 dgpu_boost = ((metrics_v4->AverageSocketPower - in sienna_cichlid_get_smartshift_power_percentage()
687 if (dgpu_boost > 100) in sienna_cichlid_get_smartshift_power_percentage()
688 dgpu_boost = 100; in sienna_cichlid_get_smartshift_power_percentage()
691 if (dgpu_boost >= apu_boost) in sienna_cichlid_get_smartshift_power_percentage()
694 dgpu_boost = 0; in sienna_cichlid_get_smartshift_power_percentage()
697 *dgpu_percent = dgpu_boost; in sienna_cichlid_get_smartshift_power_percentage()