OSDN Git Service

drm/i915: Actually emit the await_start
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Mar 2020 10:42:10 +0000 (10:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Mar 2020 14:26:22 +0000 (14:26 +0000)
commit07e9c59d63df6a1c44c1975c01827ba18b69270a
tree4c6c3b28bf2118fa1d31b64455f6ca3629e62fa9
parent2c1816af090d1ff18f01e5bd17e34d98a4876da7
drm/i915: Actually emit the await_start

Fix the inverted test to emit the wait on the end of the previous
request if we /haven't/ already.

Fixes: 6a79d848403d ("drm/i915: Lock signaler timeline while navigating")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.5+
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200305104210.2619967-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c