<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [PNV/SKL/BYT]igt/kms_pipe_crc_basic some subcases fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86365#c27">Comment # 27</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [PNV/SKL/BYT]igt/kms_pipe_crc_basic some subcases fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86365">bug 86365</a>
              from <span class="vcard"><a class="email" href="mailto:mika.kahola@intel.com" title="Mika Kahola <mika.kahola@intel.com>"> <span class="fn">Mika Kahola</span></a>
</span></b>
        <pre>I still managed to produce the following error when running i-g-t test

kms_pipe_crc_basic --run-subtest suspend-read-crc-pipe-A

IGT-Version: 1.14-g1e34229 (x86_64) (Linux:
4.8.0-rc1-2016-08-09-12.47-drm-intel-mika x86_64)
rtcwake: wakeup from "mem" using /dev/rtc0 at Thu Jan  1 00:07:11 1998
[  393.096299] [drm:dpi_send_cmd.constprop.3 [i915]] *ERROR* Video mode command
0x00000042 send failed.
[  393.123838] atkbd serio0: Failed to deactivate keyboard on isa0060/serio0
[  393.387830] atkbd serio0: Failed to enable keyboard on isa0060/serio0
[  403.475839] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:26:pipe A] flip_done timed out
suspend-read-crc-pipe-A: Testing connector DSI-1 using pipe A
[  414.483880] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:26:pipe A] flip_done timed out
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Test assertion failure function
igt_wait_for_vblank, file igt_kms.c:2495:
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Failed assertion:
drmWaitVBlank(drm_fd, &wait_vbl) == 0
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Last errno: 16, Device or resource
busy
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [igt_wait_for_vblank+0x83]
  #2 [do_display_commit+0x943]
  #3 [igt_display_commit2+0xe]
  #4 [test_read_crc.constprop.1+0x1a1]
  #5 [__real_main183+0x31a]
  #6 [main+0x23]
  #7 [__libc_start_main+0xf0]
  #8 [_start+0x29]
  #9 [<unknown>+0x29]
Subtest suspend-read-crc-pipe-A failed.
**** DEBUG ****
(kms_pipe_crc_basic:1128) DEBUG: Test requirement passed: !(i >=
data.display.n_pipes)
(kms_pipe_crc_basic:1128) igt-core-DEBUG: Test requirement passed:
!igt_run_in_simulation()
(kms_pipe_crc_basic:1128) igt-aux-DEBUG: Test requirement passed:
system("rtcwake -n -s 15 -m mem" SQUELCH) == 0
(kms_pipe_crc_basic:1128) DEBUG: Test requirement passed: !(pipe >=
data->display.n_pipes)
(kms_pipe_crc_basic:1128) INFO: suspend-read-crc-pipe-A: Testing connector
DSI-1 using pipe A
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display: DSI-1: set_pipe(A)
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display:     DSI-1: Selecting pipe A
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display: }
(kms_pipe_crc_basic:1128) DEBUG: Clearing the fb with color (0,00,1,00,0,00)
(kms_pipe_crc_basic:1128) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1200, format=0x34325258, tiling=0x0, size=0)
(kms_pipe_crc_basic:1128) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1,
pitch=7680)
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display: A.0: plane_set_fb(61)
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display: commit {
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display:     DSI-1: Selecting pipe A
(kms_pipe_crc_basic:1128) igt-kms-DEBUG: display:     DSI-1: SetCrtc pipe A, fb
61, panning (0, 0), mode 1920x1200
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Test assertion failure function
igt_wait_for_vblank, file igt_kms.c:2495:
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Failed assertion:
drmWaitVBlank(drm_fd, &wait_vbl) == 0
(kms_pipe_crc_basic:1128) igt-kms-CRITICAL: Last errno: 16, Device or resource
busy
****  END  ****

I suspect that this is more related on power management when turning on
DSI/MIPI display. 

Let's close this one and I will file another bug report relating the issue I'm
seeing with DSI/MIPI display.</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>
      </ul>
    </body>
</html>