drm/i915: Do not record a successful syncpoint for a dma-await
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 09:39:23 +0000 (10:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 10:08:53 +0000 (11:08 +0100)
commitfc9d4d2b6fd5a21d7718137807d8587f6fd9e03c
tree35b79f2e2f1fa81ae5ec9d57a65eb2b5cb675fee
parent7e8894e97dc4999270a5713034d8bd265e3ac3da
drm/i915: Do not record a successful syncpoint for a dma-await

As we may unwind the requests, even though the request we are awaiting
has a global_seqno that seqno may be revoked during the await and so we
can not reliably use it as a barrier for all future awaits on the same
timeline.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170503093924.5320-6-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c