]> git.baikalelectronics.ru Git - 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)
commit49380d69b444af342e352f3a3765fcc208c8149b
treedd2013ad666d622cb6b5c007aef7a8b2a6a6165a
parent3938ae2e1d7d8a36dda3e6c996564eec5b3e716c
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