<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 --- - [BYT]igt/pm_rpm some subcases cause "WARNING: CPU: 1 PID: 18504 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_write32+0x64/0xbf [i915]()""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82939">82939</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>[BYT]igt/pm_rpm some subcases cause "WARNING: CPU: 1 PID: 18504 at drivers/gpu/drm/i915/intel_uncore.c:47 gen6_write32+0x64/0xbf [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=105087" name="attach_105087" title="dmesg">attachment 105087</a> <a href="attachment.cgi?id=105087&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: No
These cases always fail

Non-working platforms: BYT

==kernel==
--------------------------
origin/drm-intel-nightly: 257d90d13794c2eb545ab0d6c708f21e2a0378b6(fails)
    drm-intel-nightly: 2014y-08m-21d-10h-03m-09s integration manifest
origin/drm-intel-next-queued: 3a5f87c286515c54ff5c52c3e64d0c522b7570c0(causes
system hang)
    drm: fix plane rotation when restoring fbdev configuration
origin/drm-intel-fixes: 1a125d8a2c22b11741fc47d4ffcf7a5ffa044dd3(fails)
    drm/i915: don't try to retrain a DP link on an inactive CRTC

==Bug detailed description==
-----------------------------
igt/pm_rpm some subcases cause "WARNING: CPU: 1 PID: 18504 at
drivers/gpu/drm/i915/intel_uncore.c:47 gen6_write32+0x64/0xbf [i915]()"

Case list:
igt/pm_rpm/cursor
igt/pm_rpm/cursor-dpms
igt/pm_rpm/dpms-lpsp
igt/pm_rpm/dpms-mode-unset-lpsp
igt/pm_rpm/drm-resources-equal
igt/pm_rpm/fences
igt/pm_rpm/gem-execbuf
igt/pm_rpm/gem-mmap-cpu
igt/pm_rpm/gem-mmap-gtt
igt/pm_rpm/gem-pread
igt/pm_rpm/legacy-planes-dpms
igt/pm_rpm/modeset-lpsp
igt/pm_rpm/modeset-lpsp-stress
igt/pm_rpm/modeset-stress-extra-wait
igt/pm_rpm/pci-d3-state
igt/pm_rpm/rte
igt/pm_rpm/universal-planes-dpms

Output:
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./pm_rpm
--run-subtest cursor
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux:
3.17.0-rc1_drm-intel-nightly_257d90_20140822+ x86_64)
Runtime PM support: 1
PC8 residency support: 0
Subtest cursor: SUCCESS
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep
""<[1-4]>""|grep drm
<4>[ 1895.638603] WARNING: CPU: 1 PID: 18504 at
drivers/gpu/drm/i915/intel_uncore.c:47 gen6_write32+0x64/0xbf [i915]()
<4>[ 1895.638608] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt iTCO_vendor_support
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer
r8169 pcspkr i2c_i801 lpc_ich snd mfd_core soundcore iosf_mbi battery wmi ac
acpi_cpufreq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core
v4l2_common videodev i915 button video drm_kms_helper drm cfbfillrect cfbimgblt
cfbcopyarea
<4>[ 1895.638656] CPU: 1 PID: 18504 Comm: pm_rpm Tainted: G        W     
3.17.0-rc1_drm-intel-nightly_257d90_20140822+ #1688
<4>[ 1895.638931]  [<ffffffffa0023917>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[ 1895.638945]  [<ffffffffa0019154>] ? setplane_internal+0x262/0x2bc [drm]
<4>[ 1895.638959]  [<ffffffffa0019349>] ? drm_mode_cursor_common+0x19b/0x27d
[drm]
<4>[ 1895.638974]  [<ffffffffa001bcba>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[ 1895.638986]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 1895.639005]  [<ffffffffa001bc89>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[ 1895.639097] WARNING: CPU: 1 PID: 18504 at
drivers/gpu/drm/i915/intel_uncore.c:47 vlv_read32+0x20/0x14c [i915]()
<4>[ 1895.639101] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt iTCO_vendor_support
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer
r8169 pcspkr i2c_i801 lpc_ich snd mfd_core soundcore iosf_mbi battery wmi ac
acpi_cpufreq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core
v4l2_common videodev i915 button video drm_kms_helper drm cfbfillrect cfbimgblt
cfbcopyarea
<4>[ 1895.639138] CPU: 1 PID: 18504 Comm: pm_rpm Tainted: G        W     
3.17.0-rc1_drm-intel-nightly_257d90_20140822+ #1688
<4>[ 1895.639365]  [<ffffffffa0023917>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[ 1895.639378]  [<ffffffffa0019154>] ? setplane_internal+0x262/0x2bc [drm]
<4>[ 1895.639392]  [<ffffffffa0019349>] ? drm_mode_cursor_common+0x19b/0x27d
[drm]
<4>[ 1895.639406]  [<ffffffffa001bcba>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[ 1895.639418]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 1895.639436]  [<ffffffffa001bc89>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[ 1895.639532] WARNING: CPU: 1 PID: 18504 at
drivers/gpu/drm/i915/intel_uncore.c:47 gen6_write32+0x64/0xbf [i915]()
<4>[ 1895.639554] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt iTCO_vendor_support
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer
r8169 pcspkr i2c_i801 lpc_ich snd mfd_core soundcore iosf_mbi battery wmi ac
acpi_cpufreq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core
v4l2_common videodev i915 button video drm_kms_helper drm cfbfillrect cfbimgblt
cfbcopyarea
<4>[ 1895.639697] CPU: 1 PID: 18504 Comm: pm_rpm Tainted: G        W     
3.17.0-rc1_drm-intel-nightly_257d90_20140822+ #1688
<4>[ 1895.639923]  [<ffffffffa0023917>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[ 1895.639937]  [<ffffffffa0019154>] ? setplane_internal+0x262/0x2bc [drm]
<4>[ 1895.639950]  [<ffffffffa0019349>] ? drm_mode_cursor_common+0x19b/0x27d
[drm]
<4>[ 1895.639979]  [<ffffffffa001bcba>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[ 1895.640006]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 1895.640033]  [<ffffffffa001bc89>] ? drm_mode_setcrtc+0x48b/0x48b [drm]
<4>[ 1895.640118] WARNING: CPU: 1 PID: 18504 at
drivers/gpu/drm/i915/intel_uncore.c:47 vlv_read32+0x20/0x14c [i915]()
<4>[ 1895.640141] Modules linked in: dm_mod snd_hda_codec_hdmi
snd_hda_codec_conexant snd_hda_codec_generic iTCO_wdt iTCO_vendor_support
snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer
r8169 pcspkr i2c_i801 lpc_ich snd mfd_core soundcore iosf_mbi battery wmi ac
acpi_cpufreq uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core
v4l2_common videodev i915 button video drm_kms_helper drm cfbfillrect cfbimgblt
cfbcopyarea
<4>[ 1895.640189] CPU: 1 PID: 18504 Comm: pm_rpm Tainted: G        W     
3.17.0-rc1_drm-intel-nightly_257d90_20140822+ #1688
<4>[ 1895.640445]  [<ffffffffa0023917>] ? drm_modeset_lock+0x52/0xb3 [drm]
<4>[ 1895.640459]  [<ffffffffa0019154>] ? setplane_internal+0x262/0x2bc [drm]
<4>[ 1895.640473]  [<ffffffffa0019349>] ? drm_mode_cursor_common+0x19b/0x27d
[drm]
<4>[ 1895.640787]  [<ffffffffa001bcba>] ? drm_mode_cursor_ioctl+0x31/0x36 [drm]
<4>[ 1895.640799]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 1895.640817]  [<ffffffffa001bc89>] ? drm_mode_setcrtc+0x48b/0x48b [drm]


==Reproduce steps==
---------------------------- 
1../pm_rpm --run-subtest cursor</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>