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>
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);
}