<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [BDW Regression]igt/kms_setmode/clone-exclusive-crtc takes more than 10 minutes and causes BUG: unable to handle kernel NULL pointer dereference at (null)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=86187">86187</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[BDW Regression]igt/kms_setmode/clone-exclusive-crtc takes more than 10 minutes and causes BUG: unable to handle kernel NULL pointer dereference at  (null)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=109320" name="attach_109320" title="dmesg">attachment 109320</a> <a href="attachment.cgi?id=109320&action=edit" title="dmesg">[details]</a></span>
dmesg

==System Environment==
--------------------------
Regression: yes
good commit: 0b5492d6b53251acab99b1906a328fac56e08be3(it has <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [HSW/BDW]igt/kms_setmode/clone-exclusive-crtc fail"
   href="show_bug.cgi?id=68463">bug 68463</a>, fail
but not time out)
bad commit: 477f799e966db4c36ca40198e1f48ff0af69e319
Non-working platforms: BDW

==kernel==
--------------------------
drm-intel-nightly/9a7620f405895714b4e0dc3181a8328b4406287e

==Bug detailed description==
It takes more than 10 minutes and doesn't exit testing.

dmesg BUG:
[  103.953141] BUG: unable to handle kernel NULL pointer dereference at        
  (null)

output:
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# time
./kms_setmode --run-subtest clone-exclusive-crtc
IGT-Version: 1.8-gc049c39 (x86_64) (Linux:
3.18.0-rc3_drm-intel-nightly_9a7620_20141112+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
  Test id#1 CRTC count 2
    CRTC[8] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[12] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#2 CRTC count 2
    CRTC[8] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[16] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#3 CRTC count 2
    CRTC[12] [Pipe B] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[8] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#4 CRTC count 2
    CRTC[12] [Pipe B] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[16] [Pipe C] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#5 CRTC count 2
    CRTC[16] [Pipe C] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[8] [Pipe A] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#6 CRTC count 2
    CRTC[16] [Pipe C] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[12] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[32] (NC)
  Test id#7 CRTC count 2
    CRTC[8] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[19]
    CRTC[12] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-2[35] (NC)

Call trace:
[   67.323990] ------------[ cut here ]------------
[   67.324004] WARNING: CPU: 0 PID: 4679 at
drivers/gpu/drm/i915/intel_ddi.c:1565 intel_ddi_compute_config+0x39/0x6c
[i915]()
[   67.324005] compute_config() on unknown output!
[   67.324006] Modules linked in: dm_mod ac acpi_cpufreq i915 button video
drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea
[   67.324016] CPU: 0 PID: 4679 Comm: kms_setmode Not tainted
3.18.0-rc3_drm-intel-nightly_9a7620_20141112+ #1450
[   67.324017]  0000000000000000 0000000000000009 ffffffff81789012
ffff880142d3fb68
[   67.324020]  ffffffff810368cc ffffffff8337f162 ffffffffa00e3620
ffff880142d3fb88
[   67.324022]  ffff880002c56000 ffff880147e0e400 000000000000000a
0000000000000001
[   67.324024] Call Trace:
[   67.324030]  [<ffffffff81789012>] ? dump_stack+0x41/0x51
[   67.324034]  [<ffffffff810368cc>] ? warn_slowpath_common+0x78/0x90
[   67.324044]  [<ffffffffa00e3620>] ? intel_ddi_compute_config+0x39/0x6c
[i915]
[   67.324047]  [<ffffffff8103697c>] ? warn_slowpath_fmt+0x45/0x4a
[   67.324056]  [<ffffffffa00e3620>] ? intel_ddi_compute_config+0x39/0x6c
[i915]
[   67.324067]  [<ffffffffa00d1be3>] ? intel_modeset_pipe_config+0x3d5/0x935
[i915]
[   67.324073]  [<ffffffffa0012ffb>] ? drm_ut_debug_printk+0x59/0x5e [drm]
[   67.324083]  [<ffffffffa00d48b8>] ? intel_crtc_set_config+0x76f/0xbf0 [i915]
[   67.324091]  [<ffffffffa0017f25>] ? drm_mode_set_config_internal+0x48/0xbd
[drm]
[   67.324097]  [<ffffffffa001b938>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
[   67.324107]  [<ffffffffa0010738>] ? drm_ioctl+0x279/0x3bc [drm]
[   67.324110]  [<ffffffff810e86b6>] ? tlb_finish_mmu+0xb/0x2f
[   67.324115]  [<ffffffffa001b552>] ? drm_mode_setplane+0x1ce/0x1ce [drm]
[   67.324120]  [<ffffffffa000fac7>] ? drm_gem_vm_close+0x2a/0x4b [drm]
[   67.324124]  [<ffffffff8111a53f>] ? do_vfs_ioctl+0x3ec/0x435
[   67.324126]  [<ffffffff8111a5d1>] ? SyS_ioctl+0x49/0x78
[   67.324130]  [<ffffffff8178e6d2>] ? system_call_fastpath+0x12/0x17
[   67.324131] ---[ end trace bf75bc0a2682d00b ]---

==Reproduce steps==
---------------------------- 
1. ./kms_setmode --run-subtest clone-exclusive-crtc</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>