<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 --- - [SNB Regression]igt/pm_rpm subcases causes " WARNING: CPU: 1 PID: 3789 at drivers/gpu/drm/i915/intel_display.c:10259 intel_modeset_check_state+0x3c6/0x56f [i915]()" sporadically"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80463">80463</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>[SNB Regression]igt/pm_rpm subcases causes " WARNING: CPU: 1 PID: 3789 at drivers/gpu/drm/i915/intel_display.c:10259 intel_modeset_check_state+0x3c6/0x56f [i915]()" sporadically
          </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=101656" name="attach_101656" title="dmesg">attachment 101656</a> <a href="attachment.cgi?id=101656&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: Yes. 
The fail rate is about 1 out of 3
I unable to find good commit

Non-working platforms: SNB

==kernel==
--------------------------
origin/drm-intel-nightly: 794975a476b0b5e16d04ed1e5d082b9e2b54b4fb(fails)
    drm-intel-nightly: 2014y-06m-23d-10h-38m-48s integration manifest
origin/drm-intel-next-queued: 9c33baa6b3bbb01c1a88dceba986b20e6642cf31(fails)
    drivers/i915: Fix unnoticed failure of init_ring_common()    
origin/drm-intel-fixes: bfafe93a1cd466ef318b7e5f6c65f59aee147791(fails)
    drm/i915: cache hw power well enabled state

==Bug detailed description==
-----------------------------
igt/pm_rpm subcases causes " WARNING: CPU: 1 PID: 3789 at
drivers/gpu/drm/i915/intel_display.c:10259
intel_modeset_check_state+0x3c6/0x56f [i915]()" sporadically 

Case list:
igt/pm_rpm/modeset-non-lpsp-stress
igt/pm_rpm/modeset-non-lpsp-stress-no-wait
igt/pm_rpm/modeset-stress-extra-wait
igt/pm_rpm/pci-d3-state
igt/pm_rpm/reg-read-ioctl
igt/pm_rpm/rte
igt/pm_rpm/sysfs-read
igt/pm_rpm/system-suspend

Output:
[root@x-sgb4 tests]# ./pm_rpm --run-subtest modeset-non-lpsp-stress-no-wait
IGT-Version: 1.7-gfedb9b6 (i686) (Linux:
3.16.0-rc2_drm-intel-nightly_794975_20140624+ i686)
Runtime PM support: 1
PC8 residency support: 0
Subtest modeset-non-lpsp-stress-no-wait: SUCCESS

Dmesg shows:
[  896.423994] WARNING: CPU: 1 PID: 3789 at
drivers/gpu/drm/i915/intel_display.c:10259
intel_modeset_check_state+0x3c6/0x56f [i915]()
[  896.423995] pll on state mismatch (expected 0, found 1)
[  896.423995] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support ppdev
dcdbas snd_hda_intel snd_hda_controller serio_raw pcspkr snd_hda_codec i2c_i801
snd_hwdep snd_pcm snd_timer lpc_ich mfd_core snd soundcore tpm_tis parport_pc
tpm parport acpi_cpufreq i915 video button drm_kms_helper drm
[  896.424006] CPU: 1 PID: 3789 Comm: pm_rpm Tainted: G        W    
3.15.0-rc8_drm-intel-next-queued_868d66_20140616+ #3598
[  896.424007] Hardware name: Dell Inc. OptiPlex 990/0DXWW6, BIOS A02
02/26/2011
[  896.424008]  00000000 c16e6f4d f213dd64 c102e6c8 f81f0e46 f4ff43b8 f4c61000
00000001
[  896.424010]  f4ff43b0 c102e743 00000009 f213dd64 f822f25c f213dd7c f81f0e46
f822ca3c
[  896.424013]  00002813 f822f25c 00000000 00000001 f21a9600 f213dda4 00000000
f4c611e4
[  896.424016] Call Trace:
[  896.424017]  [<c16e6f4d>] ? dump_stack+0x3e/0x4e
[  896.424018]  [<c102e6c8>] ? warn_slowpath_common+0x65/0x78
[  896.424026]  [<f81f0e46>] ? intel_modeset_check_state+0x3c6/0x56f [i915]
[  896.424027]  [<c102e743>] ? warn_slowpath_fmt+0x29/0x2d
[  896.424035]  [<f81f0e46>] ? intel_modeset_check_state+0x3c6/0x56f [i915]
[  896.424037]  [<c16e4453>] ? printk+0x16/0x1a
[  896.424044]  [<f81f100f>] ? intel_set_mode+0x20/0x25 [i915]
[  896.424052]  [<f81f1a8f>] ? intel_crtc_set_config+0x62f/0x92c [i915]
[  896.424055]  [<f809aefe>] ? drm_mode_setplane+0x136/0x136 [drm]
[  896.424059]  [<f809aefe>] ? drm_mode_setplane+0x136/0x136 [drm]
[  896.424063]  [<f8098267>] ? drm_mode_set_config_internal+0x39/0x8a [drm]
[  896.424067]  [<f809aefe>] ? drm_mode_setplane+0x136/0x136 [drm]
[  896.424070]  [<f809b271>] ? drm_mode_setcrtc+0x373/0x405 [drm]
[  896.424074]  [<f809aefe>] ? drm_mode_setplane+0x136/0x136 [drm]
[  896.424077]  [<f80908cf>] ? drm_ioctl+0x22e/0x35f [drm]
[  896.424081]  [<f809aefe>] ? drm_mode_setplane+0x136/0x136 [drm]
[  896.424083]  [<c104539f>] ? hrtimer_try_to_cancel+0x83/0x8a
[  896.424086]  [<f80906a1>] ? drm_copy_field+0x47/0x47 [drm]
[  896.424088]  [<c10e5335>] ? do_vfs_ioctl+0x3fa/0x444
[  896.424090]  [<c1045f63>] ? hrtimer_nanosleep+0x73/0xf3
[  896.424092]  [<c1044f45>] ? update_rmtp+0x5e/0x5e
[  896.424093]  [<c10e53c1>] ? SyS_ioctl+0x42/0x6d
[  896.424095]  [<c16f154c>] ? sysenter_do_call+0x12/0x22
[  896.424096] ---[ end trace 4bbbd6eefcf269f6 ]---


==Reproduce steps==
---------------------------- 
1.  ./pm_rpm --run-subtest modeset-non-lpsp-stress-no-wait</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>