<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BXT] igt / gem_pread_after_blit several subcases are fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92795">92795</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BXT] igt / gem_pread_after_blit several subcases are fail
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>christophe.prigent@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=119378" name="attach_119378" title="kern.log">attachment 119378</a> <a href="attachment.cgi?id=119378&action=edit" title="kern.log">[details]</a></span>
kern.log

BXT-P
Hardware 
Platform: Broxton P A0 Platform 
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) – 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake RVP Fab1
Software 
Linux distribution: Ubuntu 15.04 64 bits 
kernel 4.3.0-rc5 (26f82bd8) from <a href="https://github.com/ideak/linux.git">https://github.com/ideak/linux.git</a> BXT branch
commit 26f82bd872901733b739480e8899a92966ae9292
Author: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
Date:   Tue Oct 20 16:44:03 2015 +0300
drm/i915/bxt: update bxt_defconfig
Enable Kconfig options needed for UART/eMMC.
Signed-off-by: Imre Deak <<a href="mailto:imre.deak@intel.com">imre.deak@intel.com</a>>
BIOS: APLKRVPA.X64.0104.R43.1510080446 
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_41_5_02
CSE : 3.0.0.1044
KSC : 1.02
One HDMI monitor connected: Samsung ls24c65u

Regression:
------------
No. Tested for the first time

Steps:
-------
1. Execute command:
./gem_pread_after_blit

Actual result:
--------------
1. Following subcases are fail:
uncached-hang
snooped-interruptible
snooped-hang
display-normal
display-interruptible
display-hang

Expected result:
----------------
1. Subcases are Pass

/var/log/kern.log attached

Log from IGT:
--------------
./gem_pread_after_blit
IGT-Version: 1.12-NOT-GIT (x86_64) (Linux: 4.3.0-rc5-intel-bxt+ x86_64)
Subtest default-normal: SUCCESS (0.056s)
Subtest default-interruptible: SUCCESS (4.816s)
Subtest default-hang: SUCCESS (51.180s)
Subtest uncached-normal: SUCCESS (0.048s)
Subtest uncached-interruptible: SUCCESS (4.816s)
Test assertion failure function intel_batchbuffer_flush_on_ring, file
intel_batchbuffer.c:184:
Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring))
== 0
Last errno: 5, Input/output error
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_batchbuffer_flush_on_ring+0xbf]
  #2 [intel_batchbuffer_flush+0x91a]
  #3 [intel_blt_copy+0x94f]
  #4 [intel_copy_bo+0x95]
  #5 [do_test+0x102]
  #6 [__real_main197+0x313]
  #7 [main+0x35]
  #8 [__libc_start_main+0xf0]
  #9 [_start+0x29]
  #10 [<unknown>+0x29]
Subtest uncached-hang failed.
**** DEBUG ****
Test requirement passed: has_ban_period
Test requirement passed: has_gpu_reset(fd)
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_batchbuffer_flush_on_ring, file
intel_batchbuffer.c:184:
Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring))
== 0
Last errno: 5, Input/output error
****  END  ****
Subtest uncached-hang: FAIL (17.152s)
Received signal SIGSEGV.
Subtest snooped-normal: CRASH (0.000s)
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_blt_copy+0x355]
  #2 [intel_copy_bo+0x95]
  #3 [do_test+0x62]
  #4 [__real_main197+0x25b]
  #5 [main+0x35]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest snooped-interruptible failed.
**** DEBUG ****
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
****  END  ****
Subtest snooped-interruptible: FAIL (0.004s)
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_blt_copy+0x355]
  #2 [intel_copy_bo+0x95]
  #3 [do_test+0x62]
  #4 [__real_main197+0x313]
  #5 [main+0x35]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest snooped-hang failed.
**** DEBUG ****
Test requirement passed: has_ban_period
Test requirement passed: has_gpu_reset(fd)
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
****  END  ****
Subtest snooped-hang: FAIL (0.004s)
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_blt_copy+0x355]
  #2 [intel_copy_bo+0x95]
  #3 [do_test+0x62]
  #4 [__real_main197+0x1b3]
  #5 [main+0x35]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest display-normal failed.
**** DEBUG ****
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
****  END  ****
Subtest display-normal: FAIL (0.004s)
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_blt_copy+0x355]
  #2 [intel_copy_bo+0x95]
  #3 [do_test+0x62]
  #4 [__real_main197+0x25b]
  #5 [main+0x35]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest display-interruptible failed.
**** DEBUG ****
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
****  END  ****
Subtest display-interruptible: FAIL (0.004s)
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [intel_blt_copy+0x355]
  #2 [intel_copy_bo+0x95]
  #3 [do_test+0x62]
  #4 [__real_main197+0x313]
  #5 [main+0x35]
  #6 [__libc_start_main+0xf0]
  #7 [_start+0x29]
  #8 [<unknown>+0x29]
Subtest display-hang failed.
**** DEBUG ****
Test requirement passed: has_ban_period
Test requirement passed: has_gpu_reset(fd)
Test requirement passed: ret == 0
Test requirement passed: ret == 0
Test assertion failure function intel_blt_copy, file intel_batchbuffer.c:384:
Failed assertion: batch->end == NULL
****  END  ****
Subtest display-hang: FAIL (0.004s)
Test assertion failure function gem_quiescent_gpu, file drmtest.c:180:
Failed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) <<
(0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct
drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0
Last errno: 5, Input/output error
error: -1 != 0
Stack trace:
  #0 [__igt_fail_assert+0x11d]
  #1 [gem_quiescent_gpu+0x147]
  #2 [quiescent_gpu_at_exit+0x1d]
  #3 [call_exit_handlers+0x26]
  #4 [igt_atexit_handler+0x23]
  #5 [__libc_secure_getenv+0x112]
  #6 [exit+0x15]
  #7 [igt_exit+0x185]
  #8 [main+0x3a]
  #9 [__libc_start_main+0xf0]
  #10 [_start+0x29]
  #11 [<unknown>+0x29]</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>