drm/i915: Update ring->add_request() to take a request structure
Updated the various ring->add_request() implementations to take a request instead of a ring. This removes their reliance on the OLR to obtain the seqno value that the request should be tagged with. For: VIZ-5115 Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Tomas Elf <tomas.elf@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:

committed by
Daniel Vetter

parent
7deb4d3980
commit
ee044a8863
@@ -2524,7 +2524,7 @@ void __i915_add_request(struct drm_i915_gem_request *request,
|
||||
if (i915.enable_execlists)
|
||||
ret = ring->emit_request(ringbuf, request);
|
||||
else {
|
||||
ret = ring->add_request(ring);
|
||||
ret = ring->add_request(request);
|
||||
|
||||
request->tail = intel_ring_get_tail(ringbuf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user