[Bug 95472] [i915] Feature request: Add support for fencing for PRIME setups
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Aug 6 06:27:54 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95472
--- Comment #27 from Chris Wilson <chris at chris-wilson.co.uk> ---
Next attempt,
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
index f72e8e68e394..d29d6824ece3 100644
--- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c
+++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c
@@ -1447,6 +1447,8 @@ static int eb_add_reservations(struct reservation_object
*resv,
fence_put(fence);
if (ret < 0)
goto err;
+
+ pr_err("third party read fence: %d\n", ret);
}
}
@@ -1457,6 +1459,8 @@ static int eb_add_reservations(struct reservation_object
*resv,
fence_put(fence);
if (ret < 0)
goto err;
+
+ pr_err("third party write fence: %d\n", ret);
}
ret = 0;
just to confirm whether the fences are no-ops or not.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160806/b24cd159/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list