<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 Regression]igt/kms_flip/vblank-vs-modeset-suspend causes "WARNING: CPU: 2 PID: 1051 at drivers/gpu/drm/i915/i915_irq.c:267 intel_gen6_powersave_work+0xa49/0xf1e [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80376">80376</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 Regression]igt/kms_flip/vblank-vs-modeset-suspend causes "WARNING: CPU: 2 PID: 1051 at drivers/gpu/drm/i915/i915_irq.c:267 intel_gen6_powersave_work+0xa49/0xf1e [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=101553" name="attach_101553" title="dmesg">attachment 101553</a> <a href="attachment.cgi?id=101553&action=edit" title="dmesg">[details]</a></span>
dmesg

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

Non-working platforms: BDW

==kernel==
--------------------------
origin/drm-intel-nightly: 78f31a2d50183db12c0532eadcf486b9ebfa5f6d(fails)
    drm-intel-nightly: 2014y-06m-19d-21h-00m-17s integration manifest
origin/drm-intel-next-queued: 9c33baa6b3bbb01c1a88dceba986b20e6642cf31(fails)
    drivers/i915: Fix unnoticed failure of init_ring_common()    
origin/drm-intel-fixes: 4a11e398b39b018c7aa3b22267cfdf3b7fae3625(works)
    drm/i915: cache hw power well enabled state

==Bug detailed description==
-----------------------------
igt/kms_flip/vblank-vs-modeset-suspend causes "WARNING: CPU: 2 PID: 1051 at
drivers/gpu/drm/i915/i915_irq.c:267 intel_gen6_powersave_work+0xa49/0xf1e
[i915]()"

Output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_flip
--run-subtest vblank-vs-modeset-suspend
IGT-Version: 1.7-gfedb9b6 (x86_64) (Linux:
3.15.0-rc8_drm-intel-nightly_78f31a_20140623+ x86_64)
Using monotonic timestamps
Beginning vblank-vs-modeset-suspend on crtc 6, connector 17
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Sat Jan 13 21:11:13 2001
.rtcwake: assuming RTC uses UTC ...
rtcwake: wakeup from "mem" using /dev/rtc0 at Sat Jan 13 21:11:45 2001

vblank-vs-modeset-suspend on crtc 6, connector 17: PASSED

Beginning vblank-vs-modeset-suspend on crtc 10, connector 17
  1920x1080 60 1920 1966 1996 2080 1080 1082 1086 1112 0xa 0x48 138780
Test assertion failure function wait_for_events, file kms_flip.c:1174:
Last errno: 0, Success
Failed assertion: ret > 0
select timed out or error (ret 0)
Subtest vblank-vs-modeset-suspend: FAIL

Dmesg shows:
[  216.231742] WARNING: CPU: 2 PID: 1051 at drivers/gpu/drm/i915/i915_irq.c:267
intel_gen6_powersave_work+0xa49/0xf1e [i915]()
[  216.231754] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt
iTCO_vendor_support ppdev pcspkr snd_hda_intel i2c_i801 snd_hda_controller
snd_hda_codec snd_hwdep snd_pcm lpc_ich mfd_core snd_timer snd soundcore
battery parport_pc parport ac acpi_cpufreq i915 video button drm_kms_helper drm
[  216.231757] CPU: 2 PID: 1051 Comm: kworker/2:1 Tainted: G        W    
3.15.0-rc8_drm-intel-nightly_78f31a_20140623+ #3826
[  216.231766] Workqueue: events intel_gen6_powersave_work [i915]
[  216.231769]  0000000000000000 0000000000000009 ffffffff81772bca
0000000000000000
[  216.231770]  ffffffff81036e54 ffff880002f00000 ffffffffa0070883
ffff880002f00000
[  216.231772]  ffff880002f00000 ffff880145349000 ffff880002f00000
ffff880002f08238
[  216.231773] Call Trace:
[  216.231778]  [<ffffffff81772bca>] ? dump_stack+0x41/0x51
[  216.231781]  [<ffffffff81036e54>] ? warn_slowpath_common+0x78/0x90
[  216.231790]  [<ffffffffa0070883>] ? intel_gen6_powersave_work+0xa49/0xf1e
[i915]
[  216.231798]  [<ffffffffa0070883>] ? intel_gen6_powersave_work+0xa49/0xf1e
[i915]
[  216.231801]  [<ffffffff8104aade>] ? process_one_work+0x1e2/0x363
[  216.231804]  [<ffffffff8104ac77>] ? process_scheduled_works+0x18/0x25
[  216.231807]  [<ffffffff8104b39f>] ? worker_thread+0x1e1/0x2bc
[  216.231809]  [<ffffffff8104b1be>] ? manage_workers.isra.23+0x1b5/0x1b5
[  216.231811]  [<ffffffff8104fb32>] ? kthread+0xc5/0xcd
[  216.231814]  [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40
[  216.231816]  [<ffffffff8177e9bc>] ? ret_from_fork+0x7c/0xb0
[  216.231818]  [<ffffffff8104fa6d>] ? kthread_freezable_should_stop+0x40/0x40


==Reproduce steps==
---------------------------- 
1.  ./kms_flip --run-subtest vblank-vs-modeset-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>