<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]igt/kms_setmode/invalid-clone-single-crtc kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4212!"
href="https://bugs.freedesktop.org/show_bug.cgi?id=86230">86230</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[BDW]igt/kms_setmode/invalid-clone-single-crtc kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4212!
</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=109379" name="attach_109379" title="dmesg">attachment 109379</a> <a href="attachment.cgi?id=109379&action=edit" title="dmesg">[details]</a></span>
dmesg
==System Environment==
--------------------------
Regression: yes
good commit: 4241f00ad1f6c906486ee05ebf35b4251c59ef5c
bad commit: f1e0a6fc5af65661170eed49ba85339b54e5015a
Non-working platforms: BDW
==kernel==
--------------------------
drm-intel-nightly/22ba72f728eaf30e63ded0c0bb0484b4bc6f92d4
==Bug detailed description==
It has this error and doesn't exit testing.
output:
IGT-Version: 1.8-g50d539e (x86_64) (Linux:
3.18.0-rc4_drm-intel-nightly_22ba72_20141113+ x86_64)
Testing: invalid-clone-single-crtc 2 connector combinations
Test id#1 CRTC count 1
CRTC[8] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[19], HDMI-A-1[32]
(NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:431:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 2, No such file or directory
Subtest invalid-clone-single-crtc: FAIL (1.130s)
[ 34.805516] ------------[ cut here ]------------
[ 34.805545] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4212!
[ 34.805577] invalid opcode: 0000 [#1] SMP
[ 34.805602] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev
snd_hda_codec_hdmi snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep
snd_pcm pcspkr i2c_i801 lpc_ich mfd_core snd_timer snd soundcore battery
parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm
cfbfillrect cfbimgblt cfbcopyarea
[ 34.805795] CPU: 0 PID: 4661 Comm: kms_setmode Not tainted
3.18.0-rc4_drm-intel-nightly_22ba72_20141113+ #1486
[ 34.805847] task: ffff880002637800 ti: ffff8800a74cc000 task.ti:
ffff8800a74cc000
[ 34.805887] RIP: 0010:[<ffffffffa00a33b0>] [<ffffffffa00a33b0>]
i915_gem_object_ggtt_unpin+0x27/0x6d [i915]
[ 34.805952] RSP: 0018:ffff8800a74cfc10 EFLAGS: 00010246
[ 34.805981] RAX: ffff880002dc7200 RBX: ffff880002d99a40 RCX:
ffff880002dc7200
[ 34.806018] RDX: ffff880002dc7270 RSI: ffff880002e27ad8 RDI:
ffff880002d99a40
[ 34.806056] RBP: ffff880002dc7200 R08: 0000000000000002 R09:
00000000fffffffe
[ 34.806093] R10: 00000000fffffffe R11: ffff880002e20000 R12:
ffff8801434a9000
[ 34.806131] R13: ffff880002d99a00 R14: ffff8801434a9060 R15:
ffff8801486f3000
[ 34.806169] FS: 00007f9f161f38c0(0000) GS:ffff88014dc00000(0000)
knlGS:0000000000000000
[ 34.806211] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 34.806242] CR2: 000000000061804d CR3: 0000000002333000 CR4:
00000000003407f0
[ 34.806279] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 34.806317] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 34.806354] Stack:
[ 34.806365] ffff880002d99a40 ffff8801486f3000 ffff8801434a9000
ffff880002d99a40
[ 34.806409] ffffffffa00a42f2 ffff8801434a9000 ffffffffa00cf0d2
ffff88014dc126f0
[ 34.806453] ffffffffa010c210 ffff8801434a9360 ffff880002e20000
ffff88014807d700
[ 34.806497] Call Trace:
[ 34.806521] [<ffffffffa00a42f2>] ?
i915_gem_object_unpin_from_display_plane+0x9/0x4b [i915]
[ 34.806576] [<ffffffffa00cf0d2>] ? __intel_set_mode+0x2f2/0x98a [i915]
[ 34.806621] [<ffffffffa00d4a95>] ? intel_crtc_set_config+0x83e/0xbf6 [i915]
[ 34.806665] [<ffffffffa0017f31>] ? drm_mode_set_config_internal+0x4e/0xd2
[drm]
[ 34.806709] [<ffffffffa001813d>] ? drm_framebuffer_remove+0x75/0xf8 [drm]
[ 34.806751] [<ffffffffa001be76>] ? drm_fb_release+0x74/0x93 [drm]
[ 34.806788] [<ffffffffa000f410>] ? drm_release+0x2b5/0x449 [drm]
[ 34.806823] [<ffffffff8178ba63>] ? __schedule+0x6cb/0x850
[ 34.806855] [<ffffffff8110d40e>] ? __fput+0xdb/0x1a8
[ 34.806884] [<ffffffff8104a834>] ? task_work_run+0x73/0x87
[ 34.806914] [<ffffffff81002674>] ? do_notify_resume+0x5b/0x6c
[ 34.806947] [<ffffffff8178ea3f>] ? int_signal+0x12/0x17
[ 34.806975] Code: 5d 41 5c c3 41 55 41 54 55 53 48 89 fb e8 44 ff ff ff 48
85 c0 48 89 c5 75 02 0f 0b 44 8a a0 b0 00 00 00 41 b5 0f 45 20 e5 75 02 <0f> 0b
48 8b 43 08 48 89 df 48 8b 70 28 48 81 c6 d8 7a 00 00 e8
[ 34.807151] RIP [<ffffffffa00a33b0>] i915_gem_object_ggtt_unpin+0x27/0x6d
[i915]
[ 34.807201] RSP <ffff8800a74cfc10>
==Reproduce steps==
----------------------------
1. ./kms_setmode --run-subtest invalid-clone-single-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>