[Intel-gfx] [PATCH 2/6] drm/i915: Retire requests along rings

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 25 09:36:38 UTC 2018


Quoting Tvrtko Ursulin (2018-04-25 10:30:51)
> Related, there could be potential to unify i915_request_retire_upto and 
> ring_retire_requests. Latter could pass in NULL as the upto request, 
> just the completed check would need to be different depending on the mode.

Also remember that _upto is the public variant, doing the individual
request retirement was kept private. As the ordering is paramount, the
public version needs to be retire iff first, or retire all/upto.

An attempt was made to have one interface that dtrt.
-Chris


More information about the Intel-gfx mailing list