drm/i915: Inline check required for object syncing prior to execbuf
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Apr 2015 12:41:18 +0000 (13:41 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 13:11:43 +0000 (15:11 +0200)
commit03ade51185596a1d1028531c78fda557f244d676
tree05e55c71597f8f8d212a2986bfb74a43f3a581f9
parentb47161858ba13c9c7e03333132230d66e008dd55
drm/i915: Inline check required for object syncing prior to execbuf

This trims a little overhead from the common case of not needing to
synchronize between rings.

v2: execlists is special and likes to duplicate code.

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_execbuffer.c
drivers/gpu/drm/i915/intel_lrc.c