drm/i915: Remove the unsightly "optimisation" from flush_fence()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 17 Apr 2012 14:31:29 +0000 (15:31 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 18 Apr 2012 11:23:17 +0000 (13:23 +0200)
commit1899184547dec95ec8b7eb00e202d9b3a3b1c87b
tree1b52611ddb6b6d6bc3a59f13948683480c28ac81
parent8fe301add51206ca53576471059393b925f30124
drm/i915: Remove the unsightly "optimisation" from flush_fence()

As i915_wait_request() will first check for an already passed seqno,
doing it also in the caller is a waste of space for a cold path.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c