<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI] igt@gem_ppgtt@blt-vs-render-ctxn - incomplete"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106887#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI] igt@gem_ppgtt@blt-vs-render-ctxn - incomplete"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106887">bug 106887</a>
              from <span class="vcard"><a class="email" href="mailto:andi.shyti@intel.com" title="Andi <andi.shyti@intel.com>"> <span class="fn">Andi</span></a>
</span></b>
        <pre>Just to clarify what I wrote above:

The function gen9_render_copyfunc() is called under a for loop that runs
(32768/8 = ) 4096. This loop is executed by 8 processes simultaneously. In my
tests I always got a failure.

To simplify the debugging I run it in a single thread by applying the
following:

diff --git a/tests/i915/gem_ppgtt.c b/tests/i915/gem_ppgtt.c
index af5e3e07..66b71a68 100644
--- a/tests/i915/gem_ppgtt.c
+++ b/tests/i915/gem_ppgtt.c
@@ -294,7 +294,7 @@ static void flink_and_exit(void)
        close(fd);
 }

-#define N_CHILD 8
+#define N_CHILD 1
 int main(int argc, char **argv)
 {
        igt_subtest_init(argc, argv);

that makes the loop iterate exactly 32768 times in a single process.

NOTE: in a single process the gen9_render_copyfunc() doesn't always fail, but
it does with a high rate.</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 QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>