]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Wait for all fences before installing an exclusive clflush fence
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Mar 2017 08:57:58 +0000 (08:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Mar 2017 12:02:53 +0000 (12:02 +0000)
commitd223760f38b13f3c0a14978b6c4261b9bd690494
treee40afde472db7ddaa95b20e652bc918d2955a0c0
parent233ebf5733d51cb7581b8d330799520d69484cc4
drm/i915: Wait for all fences before installing an exclusive clflush fence

Ensure that before we overwrite the reservation_object with our
exclusive fence for the pending clflush operation, that we do wait upon
all the fences in the current reservation_object.

Fixes: 57822dc6b9cf ("drm/i915: Perform object clflushing asynchronously")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170323085758.11695-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem_clflush.c