]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Lift timeline ordering to await_dma_fence
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 09:39:20 +0000 (10:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 10:08:47 +0000 (11:08 +0100)
commitceae14bd4cc4333b9a3b0b6b9457bb16e7ca410a
tree54b5f7321cb9cfb1ea68334119784b4ca826e9e5
parent29ef3fa987edb9768e19a6325030e1d2d58e29de
drm/i915: Lift timeline ordering to await_dma_fence

Currently we filter out repeated use of the same timeline in the low
level i915_gem_request_await_request(), after having added the
dependency on the old request. However, we can lift this to
i915_gem_request_await_dma_fence() (before the dependency is added)
using the observation that requests along the same timeline are
explicitly ordered via i915_add_request (along with the dependencies).

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