Summary: | [IGT][BDW][Regression][Bisected] igt@kms_mmio_vs_cs_flip@setplane_vs_cs_flip: System hang | ||
---|---|---|---|
Product: | DRI | Reporter: | Marta Löfstedt <marta.lofstedt> |
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | intel-gfx-bugs |
Version: | DRI git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | BDW | i915 features: |
Description
Marta Löfstedt
2017-08-22 07:30:39 UTC
This also looks similar to the KBL-shards issue that started from CI_DRM_2976: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_2976/shard-kbl5/igt@kms_mmio_vs_cs_flip@setplane_vs_cs_flip.html <2>[ 133.096452] kernel BUG at drivers/gpu/drm/i915/i915_vma.c:602! <4>[ 133.096457] invalid opcode: 0000 [#1] PREEMPT SMP <4>[ 133.096459] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel snd_hda_codec ghash_clmulni_intel e1000e snd_hwdep snd_hda_core ptp snd_pcm pps_core mei_me mei prime_numbers pinctrl_sunrisepoint pinctrl_intel i2c_hid <4>[ 133.096476] CPU: 3 PID: 1778 Comm: kms_mmio_vs_cs_ Tainted: G U 4.13.0-rc5-CI-CI_DRM_2976+ #1 <4>[ 133.096478] Hardware name: /NUC7i5BNB, BIOS BNKBL357.86A.0048.2017.0704.1415 07/04/2017 <4>[ 133.096479] task: ffff88026dabd0c0 task.stack: ffffc90001310000 <4>[ 133.096505] RIP: 0010:i915_vma_close+0xc1/0xd0 [i915] <4>[ 133.096506] RSP: 0018:ffffc90001313c98 EFLAGS: 00010202 <4>[ 133.096508] RAX: 0000000000000480 RBX: ffff88027117f840 RCX: 0000000000000000 <4>[ 133.096509] RDX: 0000000000000001 RSI: ffff88026e7e6ac9 RDI: ffff88025dc3ac40 <4>[ 133.096510] RBP: ffffc90001313ce0 R08: ffff88026f62a188 R09: ffff88026e7e6ad8 <4>[ 133.096511] R10: 0000000000000002 R11: ffff88026e7e6af9 R12: ffff88027117f980 <4>[ 133.096512] R13: ffff8802691615c8 R14: ffff88027117f980 R15: ffff88026f62a188 <4>[ 133.096514] FS: 00007f5b98eb1a40(0000) GS:ffff88027ed80000(0000) knlGS:0000000000000000 <4>[ 133.096515] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 <4>[ 133.096516] CR2: 0000006c512f9878 CR3: 000000026b4ef000 CR4: 00000000003406e0 <4>[ 133.096517] Call Trace: <4>[ 133.096535] ? i915_gem_close_object+0x145/0x160 [i915] <4>[ 133.096538] drm_gem_object_release_handle+0x4b/0x90 <4>[ 133.096540] drm_gem_handle_delete+0x5e/0x90 <4>[ 133.096542] ? drm_gem_handle_create+0x40/0x40 <4>[ 133.096544] drm_gem_close_ioctl+0x20/0x30 <4>[ 133.096545] drm_ioctl_kernel+0x69/0xb0 <4>[ 133.096547] drm_ioctl+0x2f9/0x3d0 <4>[ 133.096549] ? drm_gem_handle_create+0x40/0x40 <4>[ 133.096552] ? __do_page_fault+0x2a4/0x570 <4>[ 133.096555] do_vfs_ioctl+0x94/0x670 <4>[ 133.096557] ? entry_SYSCALL_64_fastpath+0x5/0xb1 <4>[ 133.096559] ? __this_cpu_preempt_check+0x13/0x20 <4>[ 133.096562] ? trace_hardirqs_on_caller+0xe3/0x1b0 <4>[ 133.096564] SyS_ioctl+0x41/0x70 <4>[ 133.096566] entry_SYSCALL_64_fastpath+0x1c/0xb1 The issue was also visible for the kbl-shards here: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_5429/shards-all.html Hmm, you are testing without debug enabled in your kernel... (In reply to Chris Wilson from comment #3) > Hmm, you are testing without debug enabled in your kernel... yes, but the shards have debug The first was https://patchwork.freedesktop.org/series/29039/ to close a race that could allow duplicate handles when using PRIME. However, the realisation was that we do allow duplicate handles to be created using flink/open, so it must be accommodated: https://patchwork.freedesktop.org/series/29137/ Simple test case: https://patchwork.freedesktop.org/series/29135/ (In reply to Chris Wilson from comment #5) > The first was https://patchwork.freedesktop.org/series/29039/ to close a > race that could allow duplicate handles when using PRIME. However, the > realisation was that we do allow duplicate handles to be created using > flink/open, so it must be accommodated: > https://patchwork.freedesktop.org/series/29137/ > > Simple test case: https://patchwork.freedesktop.org/series/29135/ Thanks Chris! I confirm that above patchset fix this issue Chris patch-set has been merged. I can no longer reproduce on BDW. Also, the KBL-shards no longer incompletes from CI_DRM_2999 |
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.