summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorChris Wilson2016-09-09 15:11:56 +0200
committerChris Wilson2016-09-09 15:23:06 +0200
commita2bc4695bbf24877d75b34da5d11fcb38393eee9 (patch)
tree7f87e3e04bf11a321fd6a316bd05a51855e17969 /drivers/gpu/drm/i915/intel_display.c
parentdrm/i915: Reorder i915_add_request to separate the phases better (diff)
downloadkernel-qcow2-linux-a2bc4695bbf24877d75b34da5d11fcb38393eee9.tar.gz
kernel-qcow2-linux-a2bc4695bbf24877d75b34da5d11fcb38393eee9.tar.xz
kernel-qcow2-linux-a2bc4695bbf24877d75b34da5d11fcb38393eee9.zip
drm/i915: Prepare object synchronisation for asynchronicity
We are about to specialize object synchronisation to enable nonblocking execbuf submission. First we make a copy of the current object synchronisation for execbuffer. The general i915_gem_object_sync() will be removed following the removal of CS flips in the near future. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: John Harrison <john.c.harrison@intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20160909131201.16673-16-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r--drivers/gpu/drm/i915/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index b92042f4dc50..69b80d078f06 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -12273,7 +12273,7 @@ static int intel_crtc_page_flip(struct drm_crtc *crtc,
goto cleanup_unpin;
}
- ret = i915_gem_object_sync(obj, request);
+ ret = i915_gem_request_await_object(request, obj, false);
if (ret)
goto cleanup_request;