Lines Matching refs:flip_interval

474 	in_vrr->flip_interval.vsync_to_flip_in_us = curr_time_stamp_in_us -  in determine_flip_interval_workaround_req()
475 in_vrr->flip_interval.v_update_timestamp_in_us; in determine_flip_interval_workaround_req()
478 if (in_vrr->flip_interval.flip_interval_workaround_active && in determine_flip_interval_workaround_req()
479 in_vrr->flip_interval.vsyncs_between_flip < VSYNCS_BETWEEN_FLIP_THRESHOLD && in determine_flip_interval_workaround_req()
480 in_vrr->flip_interval.vsync_to_flip_in_us > FREESYNC_VSYNC_TO_FLIP_DELTA_IN_US) { in determine_flip_interval_workaround_req()
481 in_vrr->flip_interval.flip_interval_detect_counter = 0; in determine_flip_interval_workaround_req()
482 in_vrr->flip_interval.program_flip_interval_workaround = true; in determine_flip_interval_workaround_req()
483 in_vrr->flip_interval.flip_interval_workaround_active = false; in determine_flip_interval_workaround_req()
486 if (in_vrr->flip_interval.vsyncs_between_flip >= VSYNCS_BETWEEN_FLIP_THRESHOLD && in determine_flip_interval_workaround_req()
487 in_vrr->flip_interval.vsync_to_flip_in_us < FREESYNC_VSYNC_TO_FLIP_DELTA_IN_US) { in determine_flip_interval_workaround_req()
491 in_vrr->flip_interval.flip_interval_detect_counter++; in determine_flip_interval_workaround_req()
492 if (in_vrr->flip_interval.flip_interval_detect_counter > FREESYNC_CONSEC_FLIP_AFTER_VSYNC) { in determine_flip_interval_workaround_req()
494 in_vrr->flip_interval.program_flip_interval_workaround = true; in determine_flip_interval_workaround_req()
495 in_vrr->flip_interval.flip_interval_workaround_active = true; in determine_flip_interval_workaround_req()
499 in_vrr->flip_interval.flip_interval_detect_counter = 0; in determine_flip_interval_workaround_req()
503 in_vrr->flip_interval.vsyncs_between_flip = 0; in determine_flip_interval_workaround_req()
1236 in_out_vrr->flip_interval.vsyncs_between_flip++; in mod_freesync_handle_v_update()
1237 in_out_vrr->flip_interval.v_update_timestamp_in_us = cur_timestamp_in_us; in mod_freesync_handle_v_update()
1240 (in_out_vrr->flip_interval.flip_interval_workaround_active || in mod_freesync_handle_v_update()
1241 (!in_out_vrr->flip_interval.flip_interval_workaround_active && in mod_freesync_handle_v_update()
1242 in_out_vrr->flip_interval.program_flip_interval_workaround))) { in mod_freesync_handle_v_update()
1249 in_out_vrr->flip_interval.program_flip_interval_workaround = false; in mod_freesync_handle_v_update()
1250 in_out_vrr->flip_interval.do_flip_interval_workaround_cleanup = true; in mod_freesync_handle_v_update()
1255 in_out_vrr->flip_interval.do_flip_interval_workaround_cleanup) { in mod_freesync_handle_v_update()
1256 in_out_vrr->flip_interval.do_flip_interval_workaround_cleanup = false; in mod_freesync_handle_v_update()
1257 in_out_vrr->flip_interval.flip_interval_detect_counter = 0; in mod_freesync_handle_v_update()
1258 in_out_vrr->flip_interval.vsyncs_between_flip = 0; in mod_freesync_handle_v_update()
1259 in_out_vrr->flip_interval.vsync_to_flip_in_us = 0; in mod_freesync_handle_v_update()