Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dyellow_carp_ppt.c300 uint32_t dgpu_boost = 0; in yellow_carp_get_ss_power_percent() local
318 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in yellow_carp_get_ss_power_percent()
319 dgpu_boost = (dgpu_boost > 100) ? 100 : dgpu_boost; in yellow_carp_get_ss_power_percent()
321 if (dgpu_boost >= apu_boost) in yellow_carp_get_ss_power_percent()
324 dgpu_boost = 0; in yellow_carp_get_ss_power_percent()
327 *dgpu_percent = dgpu_boost; in yellow_carp_get_ss_power_percent()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu12/
H A Drenoir_ppt.c1136 uint32_t dgpu_boost = 0; in renoir_get_ss_power_percent() local
1152 dgpu_boost = ((dgpu_power - dgpu_limit) * 100) / dgpu_limit; in renoir_get_ss_power_percent()
1153 dgpu_boost = (dgpu_boost > 100) ? 100 : dgpu_boost; in renoir_get_ss_power_percent()
1155 if (dgpu_boost >= apu_boost) in renoir_get_ss_power_percent()
1158 dgpu_boost = 0; in renoir_get_ss_power_percent()
1161 *dgpu_percent = dgpu_boost; in renoir_get_ss_power_percent()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsienna_cichlid_ppt.c667 uint32_t dgpu_boost = 0; in sienna_cichlid_get_smartshift_power_percentage() local
694 dgpu_boost = ((metrics_v4->AverageSocketPower - in sienna_cichlid_get_smartshift_power_percentage()
697 if (dgpu_boost > 100) in sienna_cichlid_get_smartshift_power_percentage()
698 dgpu_boost = 100; in sienna_cichlid_get_smartshift_power_percentage()
701 if (dgpu_boost >= apu_boost) in sienna_cichlid_get_smartshift_power_percentage()
704 dgpu_boost = 0; in sienna_cichlid_get_smartshift_power_percentage()
707 *dgpu_percent = dgpu_boost; in sienna_cichlid_get_smartshift_power_percentage()