From 597d105628742f3ddf38c41364dcdce877515084 Mon Sep 17 00:00:00 2001 From: Mario Kleiner Date: Thu, 8 Sep 2016 02:24:17 +0200 Subject: [PATCH] drm/i915: Wait for all fences of dmabuf reservation object in execbuffer. Just for testing prime-sync for windowed swaps. -> prime related tearing replaced by regular tearing. Signed-off-by: Mario Kleiner --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index 102a99d..19d4a4a 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -1148,7 +1148,7 @@ i915_gem_execbuffer_move_to_gpu(struct drm_i915_gem_request *req, if (resv) { ret = i915_sw_fence_await_reservation (&req->submit, resv, &i915_fence_ops, - obj->base.pending_write_domain, + true /* obj->base.pending_write_domain */, GFP_KERNEL | __GFP_NOWARN); if (ret < 0) return ret; -- 2.7.0