<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [i915] Feature request: Add support for fencing for PRIME setups"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95472#c27">Comment # 27</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [i915] Feature request: Add support for fencing for PRIME setups"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95472">bug 95472</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>