sys/dev/drm/i915/intel_overlay.c
/* recover from an interruption due to a signal
 * We have to be careful not to repeat work forever an make forward progess. */
recover from an interruption due to a signal
We have to be careful not to repeat work forever an make forward progess.
recover from an interruption due to a signal We have to be careful not to repeat work forever an make forward progess .
static int intel_overlay_recover_from_interrupt(struct intel_overlay *overlay)
{
	int ret;
	if (overlay->last_flip_req == NULL)
		return 0;
	ret = i915_wait_request(overlay->last_flip_req);
	if (ret)
		return ret;
	if (overlay->flip_tail)
		overlay->flip_tail(overlay);
	i915_gem_request_assign(&overlay->last_flip_req, NULL);
	return 0;
}
static int intel_overlay_recover_from_interrupt ( struct intel_overlay * overlay ) { int ret ; if ( overlay -> last_flip_req == NULL ) return 0 ; ret = i915_wait_request ( overlay -> last_flip_req ) ; if ( ret ) return ret ; if ( overlay -> flip_tail ) overlay -> flip_tail ( overlay ) ; i915_gem_request_assign ( & overlay -> last_flip_req , NULL ) ; return 0 ; }
recover from an interruption due to a signal
 We have to be careful not to repeat work forever an make forward progess.
recover from an interruption due to a signal We have to be careful not to repeat work forever an make forward progess .