<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 --- - [PNV Regression]igt/kms_flip some subcases cause "WARNING: CPU: 1 PID: 5455 at drivers/gpu/drm/i915/i915_drv.c:1487 intel_suspend_complete+0x54a/0x58d [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82751">82751</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>[PNV Regression]igt/kms_flip some subcases cause "WARNING: CPU: 1 PID: 5455 at drivers/gpu/drm/i915/i915_drv.c:1487 intel_suspend_complete+0x54a/0x58d [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=104801" name="attach_104801" title="dmesg">attachment 104801</a> <a href="attachment.cgi?id=104801&action=edit" title="dmesg">[details]</a></span>
dmesg

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

Non-working platforms: PNV

==kernel==
--------------------------
origin/drm-intel-nightly: 186631131a9289dad22f51315d78b9b6ac5b425f(fails)
    drm-intel-nightly: 2014y-08m-15d-14h-55m-27s integration manifest
origin/drm-intel-next-queued: ecca3fd0ea82c45b558f68b1ff3bf6685b443ab1(fails)
    drm/i915/bdw: Enable Logical Ring Contexts (hence, Execlists)
origin/drm-intel-fixes: 103ae732ad26141515f109c80b5c1ced16e457c3(works)
    drm/i915: Don't try to enable cursor from setplane when crtc is disabled

==Bug detailed description==
-----------------------------
igt/kms_flip some subcases cause "WARNING: CPU: 1 PID: 5455 at
drivers/gpu/drm/i915/i915_drv.c:1487 intel_suspend_complete+0x54a/0x58d
[i915]()"

Case list:
igt/kms_flip/vblank-vs-dpms-suspend
igt/kms_flip/vblank-vs-dpms-suspend-interruptible
igt/kms_flip/vblank-vs-modeset-suspend
igt/kms_flip/vblank-vs-modeset-suspend-interruptible
igt/kms_flip/vblank-vs-suspend
igt/kms_flip/vblank-vs-suspend-interruptible

Output:
[root@x-pnv2 tests]# ./kms_flip --run-subtest vblank-vs-dpms-suspend
IGT-Version: 1.7-g1bec6cb (i686) (Linux:
3.16.0_drm-intel-nightly_186631_20140818+ i686)
Using monotonic timestamps
Beginning vblank-vs-dpms-suspend on crtc 10, connector 11
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Aug 18 19:28:27 2014
.rtcwake: wakeup from ""mem"" using /dev/rtc0 at Mon Aug 18 19:29:00 2014
Test assertion failure function check_state, file kms_flip.c:557:
Failed assertion: timercmp(&es->last_received_ts, &es->current_ts, <)
vblank ts before the vblank was issued!
timerdiff -1s, 990844us
Subtest vblank-vs-dpms-suspend: FAIL
[root@x-pnv2 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[  668.924655] WARNING: CPU: 1 PID: 5455 at
drivers/gpu/drm/i915/i915_drv.c:1487 intel_suspend_complete+0x54a/0x58d
[i915]()
<4>[  668.924712] Modules linked in: ip6table_filter ip6_tables ebtable_nat
ebtables nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT
iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc ipv6
dm_mod iTCO_wdt iTCO_vendor_support msi_laptop sparse_keymap rfkill pcspkr
i2c_i801 snd_hda_codec_realtek snd_hda_codec_generic lpc_ich mfd_core
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm r8169
snd_timer snd soundcore wmi battery ac acpi_cpufreq joydev i915 button video
drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  668.924718] CPU: 1 PID: 5455 Comm: kworker/u4:15 Not tainted
3.16.0_drm-intel-nightly_186631_20140818+ #1538
<3>[  668.924964] [drm:i915_pm_suspend_late] *ERROR* Suspend complete failed:
-19
<4>[  672.470656] WARNING: CPU: 1 PID: 5477 at
drivers/gpu/drm/i915/i915_drv.c:1487 intel_suspend_complete+0x54a/0x58d
[i915]()
<4>[  672.470713] Modules linked in: ip6table_filter ip6_tables ebtable_nat
ebtables nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT
iptable_mangle xt_tcpudp iptable_filter ip_tables x_tables bridge stp llc ipv6
dm_mod iTCO_wdt iTCO_vendor_support msi_laptop sparse_keymap rfkill pcspkr
i2c_i801 snd_hda_codec_realtek snd_hda_codec_generic lpc_ich mfd_core
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm r8169
snd_timer snd soundcore wmi battery ac acpi_cpufreq joydev i915 button video
drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
<4>[  672.470719] CPU: 1 PID: 5477 Comm: kworker/u4:37 Tainted: G        W     
3.16.0_drm-intel-nightly_186631_20140818+ #1538
<3>[  672.470974] [drm:i915_pm_suspend_late] *ERROR* Suspend complete failed:
-19

Reproduce steps:
-------------------------
1. ./kms_flip --run-subtest vblank-vs-dpms-suspend</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>