Summary: | [HSW/BYT/BDW]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]()" | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Guo Jinxian <jinxianx.guo> | ||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | intel-gfx-bugs, przanoni | ||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
The failure is able to reproduce on latest -nightly(c30b73ce7c138b5fd671ed3a7e1301bd273fd661) on BDW [root@x-bdw02 tests]#./kms_setmode --run-subtest clone-exclusive-crtc IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ 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[31] (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 Subtest clone-exclusive-crtc: FAIL [root@x-bdw02 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <4>[ 404.565077] WARNING: CPU: 0 PID: 7228 at drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c [i915]() <4>[ 404.565081] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm 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 <4>[ 404.565106] CPU: 0 PID: 7228 Comm: kms_setmode Tainted: G W 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ #1868 <4>[ 404.565242] [<ffffffffa0018149>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 404.565253] [<ffffffffa001bb64>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 404.565262] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 404.565277] [<ffffffffa001b77e>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 404.565286] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] <4>[ 404.565325] WARNING: CPU: 0 PID: 7228 at drivers/gpu/drm/i915/intel_dp.c:137 intel_dp_max_link_bw+0x6f/0x77 [i915]() <4>[ 404.565329] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm 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 <4>[ 404.565351] CPU: 0 PID: 7228 Comm: kms_setmode Tainted: G W 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ #1868 <4>[ 404.565499] [<ffffffffa0018149>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 404.565509] [<ffffffffa001bb64>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 404.565519] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 404.565533] [<ffffffffa001b77e>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 404.565542] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] [root@x-bdw02 tests]#./kms_setmode --run-subtest clone-single-crtc IGT-Version: 1.7-g50166d2 (x86_64) (Linux: 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ x86_64) Testing: clone-single-crtc 2 connector combinations Testing: clone-single-crtc 3 connector combinations Subtest clone-single-crtc: SUCCESS [root@x-bdw02 tests]# dmesg -r|egrep "<[1-4]>"|grep drm <4>[ 404.565077] WARNING: CPU: 0 PID: 7228 at drivers/gpu/drm/i915/intel_ddi.c:1531 intel_ddi_compute_config+0x39/0x6c [i915]() <4>[ 404.565081] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm 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 <4>[ 404.565106] CPU: 0 PID: 7228 Comm: kms_setmode Tainted: G W 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ #1868 <4>[ 404.565242] [<ffffffffa0018149>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 404.565253] [<ffffffffa001bb64>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 404.565262] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 404.565277] [<ffffffffa001b77e>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 404.565286] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] <4>[ 404.565325] WARNING: CPU: 0 PID: 7228 at drivers/gpu/drm/i915/intel_dp.c:137 intel_dp_max_link_bw+0x6f/0x77 [i915]() <4>[ 404.565329] Modules linked in: dm_mod iTCO_wdt iTCO_vendor_support ppdev pcspkr snd_hda_codec_hdmi i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm 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 <4>[ 404.565351] CPU: 0 PID: 7228 Comm: kms_setmode Tainted: G W 3.17.0-rc2_drm-intel-nightly_c30b73_20140827+ #1868 <4>[ 404.565499] [<ffffffffa0018149>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 404.565509] [<ffffffffa001bb64>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 404.565519] [<ffffffffa0010908>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 404.565533] [<ffffffffa001b77e>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 404.565542] [<ffffffffa000fda3>] ? drm_gem_vm_close+0x2a/0x4b [drm] This bug still able to reproduce on latest -nightly(72faa6a63351879b381bd9e4013f38bc94f11999) on BDW root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# ./kms_setmode --run-subtest clone-exclusive-crtc IGT-Version: 1.8-g107151c (x86_64) (Linux: 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ 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 assertion failure function test_crtc_config, file kms_setmode.c:431: Failed assertion: config_failed == !!(tconf->flags & TEST_INVALID) Last errno: 22, Invalid argument Subtest clone-exclusive-crtc: FAIL (0.091s) root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# dmesg -r|egrep "<[1-4]>"|grep drm <4>[ 67.166670] WARNING: CPU: 0 PID: 4606 at drivers/gpu/drm/i915/intel_ddi.c:1530 intel_ddi_compute_config+0x39/0x6c [i915]() <4>[ 67.166672] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 67.166689] CPU: 0 PID: 4606 Comm: kms_setmode Not tainted 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340 <4>[ 67.166777] [<ffffffffa0017fad>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 67.166784] [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 67.166791] [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 67.166800] [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 67.166806] [<ffffffffa000fad7>] ? drm_gem_vm_close+0x2a/0x4b [drm] <4>[ 67.166829] WARNING: CPU: 0 PID: 4606 at drivers/gpu/drm/i915/intel_dp.c:137 intel_dp_max_link_bw+0x6e/0x75 [i915]() <4>[ 67.166831] Modules linked in: dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev pcspkr i2c_i801 snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm lpc_ich snd_timer mfd_core snd soundcore battery parport_pc parport ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea <4>[ 67.166845] CPU: 0 PID: 4606 Comm: kms_setmode Tainted: G W 3.17.0-rc4_drm-intel-nightly_72faa6_20140911+ #2340 <4>[ 67.166933] [<ffffffffa0017fad>] ? drm_mode_set_config_internal+0x48/0xbd [drm] <4>[ 67.166940] [<ffffffffa001b9a9>] ? drm_mode_setcrtc+0x3e6/0x48b [drm] <4>[ 67.166946] [<ffffffffa001063c>] ? drm_ioctl+0x279/0x3bc [drm] <4>[ 67.166954] [<ffffffffa001b5c3>] ? drm_mode_setplane+0x16d/0x16d [drm] <4>[ 67.166959] [<ffffffffa000fad7>] ? drm_gem_vm_close+0x2a/0x4b [drm] *** This bug has been marked as a duplicate of bug 68463 *** The test will causes system hung on latest nightly(e49ebf9ed863e9522260ebd7bd0338ef5641c0e6) on BDW and BYT root@x-bdw05:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# time ./kms_setmode --run-subtest invalid-clone-single-crtc IGT-Version: 1.8-gaa63fc7 (x86_64) (Linux: 3.18.0-rc4_drm-intel-nightly_e49ebf_20141117+ 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], DP-1[28] 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.163s) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 105004 [details] 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