drm/i915: Inline __i915_gem_request_wait_for_execute()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 07:44:12 +0000 (07:44 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Feb 2017 14:49:30 +0000 (14:49 +0000)
commit541ca6ed79f0058f8885b2b41409204731946767
tree9a3cfa84a1e994158e1ab1e96b588dbaaa3721e5
parent7de53bf7e6f3f823267f77b1fe19e6db7532000d
drm/i915: Inline __i915_gem_request_wait_for_execute()

It had only one callsite and existed to keep the code clearer. Now
having shared the wait-on-error between phases and with plans to change
the wait-for-execute in the next few patches, remove the out of line
wait loop and move it into the main body of i915_wait_request.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170223074422.4125-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c