<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 - [KBL][IGT]kms_busy@flip-bsd-b test cause error hw_done timed out"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99903">99903</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[KBL][IGT]kms_busy@flip-bsd-b test cause error hw_done timed out
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>ramix.ben.hassine@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>

        <tr>
          <th>i915 platform</th>
          <td>KBL
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Test fail on KBL and cause error hw_done timed out:

Setup
======

Kernel: drm-tip: 2017y-02m-14d-22h-44m-17s UTC integration manifest
commit e80b772bf85da72c46b582e7c4f7b0d861cb4669
Author: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
Date:   Tue Feb 14 23:45:02 2017 +0100

intel-gpu-tools: intel-gpu-tools-1.17-240-gca2ba47 
drm:libdrm-2.4.75-6-gec80fd3
cairo:1.15.4-6-g5854dd9

Actual result:
==============
./kms_busy --r flip-bsd-b

IGT-Version: 1.17-gca2ba47 (x86_64) (Linux:
4.10.0-rc8-drm-tip-qa-ww7-commit-e80b772+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [flip_to_fb+0xc2]
  #2 [<unknown>+0xc2]
Subtest flip-bsd-B: FAIL (226.326s)

Stderr  

(kms_busy:10817) CRITICAL: Test assertion failure function flip_to_fb, file
kms_busy.c:131:
(kms_busy:10817) CRITICAL: Failed assertion: nanosleep(&tv, NULL) == -1
(kms_busy:10817) CRITICAL: flip to fb[0] blocked waiting for busy fbSubtest
flip-bsd-B failed.
**** DEBUG ****
(kms_busy:10817) DEBUG: Test requirement passed: gem_has_ring(display.drm_fd,
e->exec_id | e->flags)
(kms_busy:10817) igt-kms-DEBUG: display: HDMI-A-2: set_pipe(B)
(kms_busy:10817) igt-kms-DEBUG: display: HDMI-A-2: Selecting pipe B
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) &&
has_known_intel_chipset(fd)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) &&
has_known_intel_chipset(fd)
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_busy:10817) igt-kms-DEBUG: display: B.0: plane_set_fb(83)
(kms_busy:10817) DEBUG: Test requirement passed: (output = set_fb_on_crtc(dpy,
pipe, &fb[0]))
(kms_busy:10817) igt-kms-DEBUG: display: commit {
(kms_busy:10817) igt-kms-DEBUG: display:     HDMI-A-2: Selecting pipe B
(kms_busy:10817) igt-kms-DEBUG: display:     SetCrtc pipe A, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe A, plane 1,
disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe A, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     HDMI-A-2: SetCrtc pipe B, fb 83,
src (0, 0), mode 1920x1080
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe B, plane 1,
disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe B, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCrtc pipe C, disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetPlane pipe C, plane 1,
disabling
(kms_busy:10817) igt-kms-DEBUG: display:     SetCursor pipe C, disabling
(kms_busy:10817) igt-kms-DEBUG: display: }
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920,
height=1080, format=0x34325258, tiling=0x100000000000001, size=0)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) &&
has_known_intel_chipset(fd)
(kms_busy:10817) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) &&
has_known_intel_chipset(fd)
(kms_busy:10817) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=7680)
(kms_busy:10817) ioctl-wrappers-DEBUG: Test requirement passed:
gem_has_ring(fd, ring)
(kms_busy:10817) igt-dummyload-DEBUG: Test requirement passed: nengine
(kms_busy:10817) CRITICAL: Test assertion failure function flip_to_fb, file
kms_busy.c:131:
(kms_busy:10817) CRITICAL: Failed assertion: nanosleep(&tv, NULL) == -1
(kms_busy:10817) CRITICAL: flip to fb[0] blocked waiting for busy fb****  END 
****

Dmesg:
=======[ 5165.022890] [drm:drm_atomic_helper_swap_state [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5175.262899] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5185.502910] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:45:pipe C] hw_done timed out
[ 5195.742880] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5205.983066] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5216.223056] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5226.462893] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5236.706914] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:31:pipe A] hw_done timed out
[ 5246.943073] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5257.182951] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:45:pipe C] hw_done timed out
[ 5267.423031] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5277.662876] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5287.902946] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5298.142913] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5308.382916] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:45:pipe C] hw_done timed out
[ 5318.622939] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5328.862893] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5339.102922] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5349.343122] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5359.583044] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5369.823133] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5380.062916] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5390.302952] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5390.303296] drm/i915: Resetting chip after gpu hang
[ 5400.542921] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5400.542925] [drm:drm_atomic_helper_setup_commit [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] cleanup_done timed out
[ 5410.783033] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:31:pipe A] hw_done timed out
[ 5421.023057] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5431.263087] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:45:pipe C] hw_done timed out
[ 5441.502929] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5451.742940] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5461.982929] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5472.222905] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:45:pipe C] hw_done timed out
[ 5482.466959] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:31:pipe A] hw_done timed out
[ 5492.702910] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:38:pipe B] hw_done timed out
[ 5502.942932] [drm:drm_atomic_helper_swap_state [drm_kms_helper]] *ERROR*
[CRTC:45:pipe C] hw_done timed out
[ 5513.182899] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] hw_done timed out
[ 5523.423061] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:31:pipe A] flip_done timed out
[ 5533.662934] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:38:pipe B] hw_done timed out
[ 5543.902954] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
*ERROR* [CRTC:45:pipe C] hw_done timed out</pre>
        </div>
      </p>


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

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