<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 --- - [BSW Regresssion]igt/kms_render some subcases fail"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83220">83220</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>[BSW Regresssion]igt/kms_render some subcases fail
          </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. 
It's a igt bug. 
Good commit on igt: 75365eb01b7cb530426d84ea5357ed7b31575337
Bad commit on igt: d0a41b47ea5ed1ac5ca45f83d2917c6ad41b644a

Non-working platforms: BSW

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


==Bug detailed description==
igt/kms_render some subcases fail, and sometimes calltrace "WARNING: CPU: 3
PID: 5335 at drivers/gpu/drm/i915/intel_display.c:1066
chv_dpio_cmn_power_well_disable+0x63/0xc5 [i915]()" occurs.

Case list:
igt/kms_render/direct-render
igt/kms_render/gpu-blit

Output:
[root@x-bsw01 tests]# ./kms_render --run-subtest direct-render
IGT-Version: 1.7-g50166d2 (x86_64) (Linux:
3.17.0-rc1_drm-intel-nightly_257d90_20140825+ x86_64)
Beginning test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe C, encoder
TMDS, connector HDMI-A
Test direct-render with 1920x1080 @ 60Hz / RGB565 on pipe C, encoder TMDS,
connector HDMI-A: SKIPPED
Beginning test direct-render with 1920x1080 @ 60Hz / RGB888 on pipe C, encoder
TMDS, connector HDMI-A
Test assertion failure function igt_create_fb_with_bo_size, file igt_fb.c:427:
Failed assertion: ret == 0
Last errno: 22, Invalid argument
Subtest direct-render: FAIL
[root@x-bsw01 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[ 5400.002259] WARNING: CPU: 3 PID: 5335 at
drivers/gpu/drm/i915/intel_display.c:1066
chv_dpio_cmn_power_well_disable+0x63/0xc5 [i915]()
<4>[ 5400.002267] Modules linked in: ip6table_filter ip6_tables iptable_filter
ip_tables ebtable_nat ebtables x_tables ipv6 dm_mod snd_hda_codec_hdmi
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller
pcspkr serio_raw snd_hda_codec snd_hwdep snd_pcm r8169 snd_timer snd soundcore
battery ac option usb_wwan usbserial i915 button video drm_kms_helper drm
cfbfillrect cfbimgblt cfbcopyarea
<4>[ 5400.002318] CPU: 3 PID: 5335 Comm: kms_render Tainted: G        W     
3.17.0-rc1_drm-intel-nightly_257d90_20140825+ #1796
<4>[ 5400.002501]  [<ffffffffa0058ddc>] ?
drm_helper_probe_single_connector_modes_merge_bits+0xbc/0x31b [drm_kms_helper]
<4>[ 5400.002520]  [<ffffffffa001b26c>] ? drm_mode_getconnector+0xe4/0x2ff
[drm]
<4>[ 5400.002536]  [<ffffffffa0023cd8>] ? drm_modeset_unlock_all+0x41/0x50
[drm]
<4>[ 5400.002551]  [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 5400.002576]  [<ffffffffa001b188>] ? drm_mode_getcrtc+0xb3/0xb3 [drm]


==Reproduce steps==
---------------------------- 
1. ./kms_render --run-subtest direct-render</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>