<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 --- - [BDW Bisected]igt/kms_flip/bo-too-big causes "WARNING: CPU: 0 PID: 23592 at drivers/gpu/drm/drm_irq.c:1089 drm_wait_one_vblank+0x140/0x16b [drm]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84162">84162</a>
          </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>[BDW Bisected]igt/kms_flip/bo-too-big causes "WARNING: CPU: 0 PID: 23592 at drivers/gpu/drm/drm_irq.c:1089 drm_wait_one_vblank+0x140/0x16b [drm]()"
          </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>==System Environment==
--------------------------
Regression: Yes.

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly:c5660b4ad395f1e34eacc22cf81c687edfc9c83c(fails)
    drm-intel-nightly: 2014y-09m-19d-18h-12m-22s UTC integration manifest

==Bug detailed description==
-----------------------------
igt/kms_flip/bo-too-big causes "WARNING: CPU: 0 PID: 23592 at
drivers/gpu/drm/drm_irq.c:1089 drm_wait_one_vblank+0x140/0x16b [drm]()"

Dmesg:
[ 800.191509] WARNING: CPU: 0 PID: 23592 at drivers/gpu/drm/drm_irq.c:1089
drm_wait_one_vblank+0x140/0x16b [drm]()
[ 800.331935] vblank wait timed out on crtc 1
[ 800.399579] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables ipv6 x_tables dm_mod iTCO_wdt
iTCO_vendor_support ppdev snd_hda_codec_hdmi snd_hda_intel snd_hda_controller
snd_hda_codec snd_hwdep pcspkr lpc_ich snd_pcm snd_timer i2c_i801 mfd_core snd
soundcore battery parport_pc parport ac acpi_cpufreq i915 button video
drm_kms_helper drm
[ 801.215019] CPU: 0 PID: 23592 Comm: kms_flip Not tainted
3.17.0-rc5_prts_ab7f1a_20140917_debug+ #28
[ 801.341792] 0000000000000000 ffff8800a59cba08 ffffffff8181608c
ffff8800a59cba50
[ 801.499527] ffff8800a59cba40 ffffffff8103e87f ffffffffa000611a
0000000000000001
[ 801.623572] ffff880149f83000 ffff88014999e500 0000000000000001
ffff8800a59cbaa0
[ 801.798185] Call Trace:
[ 801.844769] [] dump_stack+0x45/0x56
[ 801.924017] [] warn_slowpath_common+0x7f/0x98
[ 802.013826] [] ? drm_wait_one_vblank+0x140/0x16b [drm]
[ 802.113102] [] warn_slowpath_fmt+0x4c/0x4e
[ 802.199736] [] ? finish_wait+0x5c/0x65
[ 802.282182] [] drm_wait_one_vblank+0x140/0x16b [drm]
[ 802.379324] [] ? abort_exclusive_wait+0x89/0x89
[ 802.471260] [] intel_enable_primary_hw_plane+0x7a/0x83 [i915]
[ 802.577936] [] intel_crtc_enable_planes+0x2f/0xd7 [i915]
[ 802.679338] [] haswell_crtc_enable+0x876/0x89d [i915]
[ 802.777576] [] __intel_set_mode+0xc77/0x127f [i915]
[ 802.873708] [] intel_set_mode+0x14/0x2a [i915]
[ 802.964555] [] intel_crtc_set_config+0x9b6/0xa9f [i915]
[ 803.064888] [] drm_mode_set_config_internal+0x55/0xe0 [drm]
[ 803.169474] [] drm_mode_setcrtc+0x39e/0x498 [drm]
[ 803.263508] [] drm_ioctl+0x385/0x404 [drm]
[ 803.350123] [] ? drm_mode_setplane+0x1d8/0x1d8 [drm]
[ 803.447289] [] do_vfs_ioctl+0x3a3/0x46c
[ 803.530752] [] ? current_kernel_time+0x61/0x9a
[ 803.621606] [] ? trace_hardirqs_on_caller+0x16e/0x18a
[ 803.719836] [] SyS_ioctl+0x50/0x7d
[ 803.798028] [] system_call_fastpath+0x16/0x1b
[ 803.887828] ---[ end trace cf73ea7c0a54ece6 ]---
[ 805.364639] ------------[ cut here ]------------
[ 805.436565] WARNING: CPU: 0 PID: 23592 at drivers/gpu/drm/drm_irq.c:1089
drm_wait_one_vblank+0x140/0x16b [drm]()
[ 805.576987] vblank wait timed out on crtc 2
[ 805.644631] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables ipv6 x_tables dm_mod iTCO_wdt
iTCO_vendor_support ppdev snd_hda_codec_hdmi snd_hda_intel snd_hda_controller
snd_hda_codec snd_hwdep pcspkr lpc_ich snd_pcm snd_timer i2c_i801 mfd_core snd
soundcore battery parport_pc parport ac acpi_cpufreq i915 button video
drm_kms_helper drm
[ 806.493896] CPU: 0 PID: 23592 Comm: kms_flip Tainted: G W
3.17.0-rc5_prts_ab7f1a_20140917_debug+ #28
[ 806.634340] 0000000000000000 ffff8800a59cba08 ffffffff8181608c
ffff8800a59cba50
[ 806.808959] ffff8800a59cba40 ffffffff8103e87f ffffffffa000611a
0000000000000002
[ 806.949849] ffff880149f83000 ffff88014999e600 0000000000000001
ffff8800a59cbaa0
[ 807.107663] Call Trace:
[ 807.154207] [] dump_stack+0x45/0x56
[ 807.233458] [] warn_slowpath_common+0x7f/0x98
[ 807.323266] [] ? drm_wait_one_vblank+0x140/0x16b [drm]
[ 807.422548] [] warn_slowpath_fmt+0x4c/0x4e
[ 807.509181] [] ? finish_wait+0x5c/0x65
[ 807.591603] [] drm_wait_one_vblank+0x140/0x16b [drm]
[ 807.688778] [] ? abort_exclusive_wait+0x89/0x89
[ 807.780717] [] intel_enable_primary_hw_plane+0x7a/0x83 [i915]
[ 807.887390] [] intel_crtc_enable_planes+0x2f/0xd7 [i915]
[ 807.988791] [] haswell_crtc_enable+0x876/0x89d [i915]
[ 808.087031] [] __intel_set_mode+0xc77/0x127f [i915]
[ 808.183163] [] intel_set_mode+0x14/0x2a [i915]
[ 808.274004] [] intel_crtc_set_config+0x9b6/0xa9f [i915]
[ 808.374348] [] drm_mode_set_config_internal+0x55/0xe0 [drm]
[ 808.478914] [] drm_mode_setcrtc+0x39e/0x498 [drm]
[ 808.572927] [] drm_ioctl+0x385/0x404 [drm]
[ 808.659562] [] ? drm_mode_setplane+0x1d8/0x1d8 [drm]
[ 808.756735] [] do_vfs_ioctl+0x3a3/0x46c
[ 808.840202] [] ? current_kernel_time+0x61/0x9a
[ 808.931053] [] ? trace_hardirqs_on_caller+0x16e/0x18a
[ 809.029291] [] SyS_ioctl+0x50/0x7d
[ 809.107613] [] system_call_fastpath+0x16/0x1b
[ 809.197281] ---[ end trace cf73ea7c0a54ece7 ]---", 

==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest bo-too-big

==Bisect results form [PRTS][auto-bisect]==
----------------------------
commit 7682654dacbf60887b6d090f1228a80e14caddbc
Author:     Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
AuthorDate: Mon Sep 15 12:36:02 2014 +0200
Commit:     Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
CommitDate: Tue Sep 16 10:22:08 2014 +0200

    drm/i915: Use generic vblank wait

    This has the upside that it will no longer steal interrupts from the
    interrupt handler on pre-g4x. Furthermore this will now scream properly
    on all platforms if we don't have hw counters enabled.

    v2: Adjust to the new names.

    Cc: Ville Syrjälä <<a href="mailto:ville.syrjala@linux.intel.com">ville.syrjala@linux.intel.com</a>>
    Reviewed-by: Matt Roper <<a href="mailto:matthew.d.roper@intel.com">matthew.d.roper@intel.com</a>>
    Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>></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>