<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [HSW]igt/kms_setmode/clone-exclusive-crtc causes "WARNING: CPU: 3 PID: 20000 at drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c [i915]()""
href="https://bugs.freedesktop.org/show_bug.cgi?id=82892">82892</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>[HSW]igt/kms_setmode/clone-exclusive-crtc causes "WARNING: CPU: 3 PID: 20000 at drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c [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=105004" name="attach_105004" title="dmesg">attachment 105004</a> <a href="attachment.cgi?id=105004&action=edit" title="dmesg">[details]</a></span>
dmesg
==System Environment==
--------------------------
Regression: Not sure.
I didn't find good commit on both kernel and i-g-t.
Non-working platforms: HSW
==kernel==
--------------------------
origin/drm-intel-nightly: 49ceddc7b3b0e3f7eb21b9fb4c9b840cff630047(fails)
drm-intel-nightly: 2014y-08m-19d-19h-02m-49s integration manifest
origin/drm-intel-next-queued: 3f72c7b12f1a81a32fd37216b3382e6fe46a7184(fails)
drm/i915/bdw: Disable execlists by default
origin/drm-intel-fixes: 1a125d8a2c22b11741fc47d4ffcf7a5ffa044dd3(fails)
drm/i915: don't try to retrain a DP link on an inactive CRTC
==Bug detailed description==
-----------------------------
igt/kms_setmode/clone-exclusive-crtc causes "WARNING: CPU: 3 PID: 20000 at
drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c
[i915]()"
Output:
[root@x-hsw24 tests]# ./kms_setmode --run-subtest clone-exclusive-crtc
IGT-Version: 1.7-g4d2f511 (x86_64) (Linux:
3.17.0-rc1_drm-intel-nightly_49cedd_20140821+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
Test id#1 CRTC count 2
CRTC[7] [Pipe A] Mode: 640x480@60Hz Connectors: VGA-1[18] (NC)
CRTC[12] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[27] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:433:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 22, Invalid argument
Subtest clone-exclusive-crtc: FAIL
[root@x-hsw24 tests]# dmesg -r|egrep ""<[1-4]>""|grep drm
<4>[ 143.879861] WARNING: CPU: 3 PID: 20000 at
drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c
[i915]()
<4>[ 143.879863] Modules linked in: ip6table_filter ip6_tables ipv6
iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi iTCO_wdt
iTCO_vendor_support dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel
snd_hda_controller snd_hda_codec lpc_ich snd_hwdep mfd_core shpchp snd_pcm
snd_timer snd soundcore battery acpi_cpufreq i915 button video drm_kms_helper
drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 143.879876] CPU: 3 PID: 20000 Comm: kms_setmode Not tainted
3.17.0-rc1_drm-intel-nightly_49cedd_20140821+ #1652
<4>[ 143.879934] [<ffffffffa00181c9>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[ 143.879938] [<ffffffffa001bbe4>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[ 143.879942] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 143.879948] [<ffffffffa001b7fe>] ? drm_mode_setplane+0x16d/0x16d [drm]
<4>[ 143.879952] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm]
<4>[ 143.879969] WARNING: CPU: 3 PID: 20000 at
drivers/gpu/drm/i915/intel_dp.c:137 intel_dp_max_link_bw+0x6f/0x77 [i915]()
<4>[ 143.879971] Modules linked in: ip6table_filter ip6_tables ipv6
iptable_filter ip_tables ebtable_nat ebtables x_tables dm_mod
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi iTCO_wdt
iTCO_vendor_support dcdbas serio_raw pcspkr i2c_i801 snd_hda_intel
snd_hda_controller snd_hda_codec lpc_ich snd_hwdep mfd_core shpchp snd_pcm
snd_timer snd soundcore battery acpi_cpufreq i915 button video drm_kms_helper
drm cfbfillrect cfbimgblt cfbcopyarea
<4>[ 143.879981] CPU: 3 PID: 20000 Comm: kms_setmode Tainted: G W
3.17.0-rc1_drm-intel-nightly_49cedd_20140821+ #1652
<4>[ 143.880040] [<ffffffffa00181c9>] ?
drm_mode_set_config_internal+0x48/0xbd [drm]
<4>[ 143.880044] [<ffffffffa001bbe4>] ? drm_mode_setcrtc+0x3e6/0x48b [drm]
<4>[ 143.880047] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm]
<4>[ 143.880053] [<ffffffffa001b7fe>] ? drm_mode_setplane+0x16d/0x16d [drm]
<4>[ 143.880056] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm]
==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>