<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BSW Regression]igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at drivers/gpu/drm/i915/intel_display.c:3486 intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83759">83759</a>
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisect_pending
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[BSW Regression]igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at drivers/gpu/drm/i915/intel_display.c:3486 intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()"
          </td>
        </tr>

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

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jinxianx.guo@intel.com
          </td>
        </tr>

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

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

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

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

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=106120" name="attach_106120" title="dmesg">attachment 106120</a> <a href="attachment.cgi?id=106120&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes.
Good commit on -next-queued: 17c58fe801f5588c5904cc2f15620f7f5a465b53

Non-working platforms: BSW

==kernel==
--------------------------
origin/drm-intel-nightly: 72faa6a63351879b381bd9e4013f38bc94f11999(fails)
    drm-intel-nightly: 2014y-09m-10d-18h-58m-22s integration manifest
origin/drm-intel-next-queued:449b3795f2a48c51ad1714cd5eab0179e37c6a85(fails)
    drm/i915: create intel_update_pipe_size()
origin/drm-intel-fixes: 7a98948f3b536ca9a077e84966ddc0e9f53726df(works)
    drm/i915: Wait for vblank before enabling the TV encoder

==Bug detailed description==
-----------------------------
igt/kms_flip subcases cause "WARNING: CPU: 0 PID: 3785 at
drivers/gpu/drm/i915/intel_display.c:3486
intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()"

Case list:
igt/kms_flip/bcs-flip-vs-panning
igt/kms_flip/bcs-flip-vs-panning-interruptible

Output:
[root@x-bsw01 tests]# ./kms_flip --run-subtest bcs-flip-vs-panning
IGT-Version: 1.8-gd9d3f4b (x86_64) (Linux:
3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ x86_64)
Using monotonic timestamps
Beginning bcs-flip-vs-panning on crtc 8, connector 31
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
bcs-flip-vs-panning on crtc 8, connector 31: PASSED

Beginning bcs-flip-vs-panning on crtc 13, connector 31
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
..
bcs-flip-vs-panning on crtc 13, connector 31: PASSED

Subtest bcs-flip-vs-panning: SUCCESS (128.193s)
[root@x-bsw01 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[  108.356637] WARNING: CPU: 0 PID: 3785 at
drivers/gpu/drm/i915/intel_display.c:3486
intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()
<4>[  108.356641] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw snd_hda_intel
snd_hda_controller snd_hda_codec snd_hwdep snd_pcm i2c_i801 snd_timer r8169 snd
soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper
drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  108.356696] CPU: 0 PID: 3785 Comm: kms_flip Not tainted
3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340
<4>[  108.356885]  [<ffffffffa0017fad>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  108.356903]  [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[  108.356919]  [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  108.356944]  [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm]
<4>[  108.357027] WARNING: CPU: 0 PID: 3785 at
drivers/gpu/drm/i915/intel_display.c:3492
intel_crtc_wait_for_pending_flips+0x115/0x197 [i915]()
<4>[  108.357033] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw snd_hda_intel
snd_hda_controller snd_hda_codec snd_hwdep snd_pcm i2c_i801 snd_timer r8169 snd
soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper
drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  108.357082] CPU: 0 PID: 3785 Comm: kms_flip Tainted: G        W     
3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340
<4>[  108.357293]  [<ffffffffa0017fad>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  108.357310]  [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[  108.357325]  [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  108.357349]  [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm]
<4>[  170.924626] WARNING: CPU: 3 PID: 3785 at
drivers/gpu/drm/i915/intel_display.c:3486
intel_crtc_wait_for_pending_flips+0xdd/0x197 [i915]()
<4>[  170.924631] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic pcspkr serio_raw snd_hda_intel
snd_hda_controller snd_hda_codec snd_hwdep snd_pcm i2c_i801 snd_timer r8169 snd
soundcore battery ac option usb_wwan usbserial i915 button video drm_kms_helper
drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  170.924686] CPU: 3 PID: 3785 Comm: kms_flip Tainted: G        W     
3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340
<4>[  170.924874]  [<ffffffffa0017fad>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[  170.924893]  [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[  170.924908]  [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[  170.924934]  [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm]

==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest bcs-flip-vs-panning</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>