]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/i915: Inline i915_gem_ring_retire_request()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Sep 2010 00:38:04 +0000 (01:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:19:50 +0000 (11:19 +0100)
commitb84d5f0c22914d37d709add54c66e741c404fa56
treedd2013ad666d622cb6b5c007aef7a8b2a6a6165a
parent82690bba375586ab93d74265710c2fd5788c8178
drm/i915: Inline i915_gem_ring_retire_request()

Change the semantics to retire any buffer older than the current seqno
rather than repeatedly calling calling the function to retire the
buffer at the head of the list matching the request seqno.

Whilst this should have no semantic impact on the implementation, Daniel
was wondering if there was a bug where we might miss a retirement and so
end up with a continually growing active list.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c