Home
last modified time | relevance | path

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

/haiku/src/add-ons/accelerants/radeon/
H A Dmonitor_detection.c748 int refresh_rate, cur_refresh_deviation; in Radeon_FindFPTiming_StandardTiming() local
762 cur_refresh_deviation = (100 * (refresh_rate - std_timing->refresh in Radeon_FindFPTiming_StandardTiming()
765 if (cur_refresh_deviation < 0) in Radeon_FindFPTiming_StandardTiming()
766 cur_refresh_deviation = -cur_refresh_deviation; in Radeon_FindFPTiming_StandardTiming()
771 if (cur_refresh_deviation < 1 in Radeon_FindFPTiming_StandardTiming()
772 && cur_refresh_deviation < best_refresh_deviation) { in Radeon_FindFPTiming_StandardTiming()
774 best_refresh_deviation = cur_refresh_deviation; in Radeon_FindFPTiming_StandardTiming()