<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW/BDW]igt/kms_setmode/clone-exclusive-crtc fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68463#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [HSW/BDW]igt/kms_setmode/clone-exclusive-crtc fail"
href="https://bugs.freedesktop.org/show_bug.cgi?id=68463">bug 68463</a>
from <span class="vcard"><a class="email" href="mailto:yex.tian@intel.com" title="ye.tian <yex.tian@intel.com>"> <span class="fn">ye.tian</span></a>
</span></b>
<pre>Tested it on the latest nightly kernel and latest igt, this problem still
exists.
output:
-------------------
root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_setmode
--run-subtest clone-exclusive-crtc
IGT-Version: 1.10-gfc69bb0 (x86_64) (Linux:
4.0.0_drm-intel-nightly_92bb36_20150424+ x86_64)
Testing: clone-exclusive-crtc 2 connector combinations
Test id#1 CRTC count 2
CRTC[20] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[31]
CRTC[24] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[44] (NC)
Test assertion failure function test_crtc_config, file kms_setmode.c:431:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 22, Invalid argument
Stack trace:
#0 [__igt_fail_assert+0xf1]
#1 [test_combinations+0xfec]
#2 [main+0x14f]
#3 [__libc_start_main+0xf5]
#4 [_start+0x29]
#5 [<unknown>+0x29]
Subtest clone-exclusive-crtc failed.
**** DEBUG ****
Testing: clone-exclusive-crtc 2 connector combinations
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=1, pitch=7680)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=2, pitch=2560)
Test id#1 CRTC count 2
CRTC[20] [Pipe A] Mode: 1920x1080@60Hz Connectors: eDP-1[31]
igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=3, pitch=7680)
CRTC[24] [Pipe B] Mode: 640x480@60Hz Connectors: HDMI-A-1[44] (NC)
igt_create_fb_with_bo_size(width=640, height=480, format=0x34325258 [bpp=32],
tiling=0x0, size=0
igt_create_fb_with_bo_size(handle=4, pitch=2560)
Test assertion failure function test_crtc_config, file kms_setmode.c:431:
Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID)
Last errno: 22, Invalid argument
**** END ****
Subtest clone-exclusive-crtc: FAIL (0.295s)
dmesg info:
---------------------
[ 335.673880] ------------[ cut here ]------------
[ 335.673899] WARNING: CPU: 0 PID: 5062 at
drivers/gpu/drm/i915/intel_ddi.c:2669 intel_
ddi_compute_config+0x39/0x6c
[i915]()
[ 335.673900] compute_config() on unknown output!
[ 335.673901] Modules linked in: ipv6 dm_mod iTCO_wdt iTCO_vendor_support
ppdev snd_hda
_codec_hdmi pcspkr snd_hda_intel i2c_i801 snd_hda_controller
snd_hda_codec snd_hda_core
snd_hwdep snd_pcm snd_timer lpc_ich mfd_core snd
soundcore battery parport_pc parport ac
acpi_cpufreq i915 button video
drm_kms_helper drm
[ 335.673916] CPU: 0 PID: 5062 Comm: kms_setmode Not tainted
4.0.0_drm-intel-nightly_92
bb36_20150424+ #38
[ 335.673918] 0000000000000000 0000000000000009 ffffffff81795847
ffff880149433b58
[ 335.673920] ffffffff8103bd5a 0030383478303436 ffffffffa00eb8e2
0000000000000000
[ 335.673922] ffff880144568000 ffff880149507800 000000000000000a
0000000000000001
[ 335.673924] Call Trace:
[ 335.673930] [<ffffffff81795847>] ? dump_stack+0x40/0x50
[ 335.673934] [<ffffffff8103bd5a>] ? warn_slowpath_common+0x98/0xb0
[ 335.673945] [<ffffffffa00eb8e2>] ? intel_ddi_compute_config+0x39/0x6c
[i915]
[ 335.673948] [<ffffffff8103bdb7>] ? warn_slowpath_fmt+0x45/0x4a
[ 335.673960] [<ffffffffa00eb8e2>] ? intel_ddi_compute_config+0x39/0x6c
[i915]
[ 335.673973] [<ffffffffa00d6124>] ? intel_modeset_compute_config+0x4d2/0xc66
[i915]
[ 335.673985] [<ffffffffa00d94c8>] ? intel_crtc_set_config+0x81f/0xc19 [i915]
[ 335.673988] [<ffffffff81792271>] ? printk+0x48/0x4d
[ 335.673997] [<ffffffffa000c314>] ? drm_mode_set_config_internal+0x4e/0xd2
[drm]
[ 335.674005] [<ffffffffa000fff4>] ? drm_mode_setcrtc+0x3fe/0x4f4 [drm]
[ 335.674012] [<ffffffffa00047ae>] ? drm_ioctl+0x322/0x38d [drm]
[ 335.674015] [<ffffffff810ecc3c>] ? tlb_finish_mmu+0xb/0x2f
[ 335.674022] [<ffffffffa000fbf6>] ? drm_mode_setplane+0x178/0x178 [drm]
[ 335.674028] [<ffffffffa0003b60>] ? drm_gem_vm_close+0x2a/0x4b [drm]
[ 335.674032] [<ffffffff8111daa6>] ? do_vfs_ioctl+0x360/0x424
[ 335.674035] [<ffffffff8111dbb3>] ? SyS_ioctl+0x49/0x7a
[ 335.674038] [<ffffffff8179b0f2>] ? system_call_fastpath+0x12/0x17
[ 335.674039] ---[ end trace 5b55053d4765e0b7 ]---
[ 335.674041] ------------[ cut here ]------------</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 the assignee for the bug.</li>
</ul>
</body>
</html>