igt@kms_busy@basic@flip - incomplete - i915_gem_object_lmem_io_map:\d+ GEM_BUG_ON(!i915_gem_object_is_contiguous(obj)), kernel BUG at drivers/gpu/drm/i915/gem/i915_gem_lmem.c
0> [501.536202] kms_busy-5634 0..... 494501607us : intel_rps_mark_interactive: 0000:03:00.0 mark interactive: yes
<0> [501.536243] kworker/-6 0..... 494518198us : intel_rps_mark_interactive: 0000:03:00.0 mark interactive: no
<0> [501.536300] kms_busy-5634 0..... 494519313us : i915_gem_object_lmem_io_map.cold.7: i915_gem_object_lmem_io_map:18 GEM_BUG_ON(!i915_gem_object_is_contiguous(obj))
<0> [501.536304] ---------------------------------
<4> [501.537093] ------------[ cut here ]------------
<2> [501.537095] kernel BUG at drivers/gpu/drm/i915/gem/i915_gem_lmem.c:18!
<4> [501.537103] irq event stamp: 385700
<4> [501.537103] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
<4> [501.537106] CPU: 1 PID: 5634 Comm: kms_busy Tainted: G W 5.17.0-rc6-CI-CI_DRM_11300+ #1
<4> [501.537105] hardirqs last enabled at (385699): [<ffffffff81ae2fdc>] syscall_enter_from_user_mode+0x1c/0x40
<4> [501.537108] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X220.B00.2103302221 03/30/2021
<4> [501.537110] hardirqs last disabled at (385700): [<ffffffff81aeea01>] _raw_spin_lock_irq+0x41/0x50
<4> [501.537113] softirqs last enabled at (251836): [<ffffffff81e0032d>] __do_softirq+0x32d/0x493
<4> [501.537115] softirqs last disabled at (251829): [<ffffffff810b8db6>] irq_exit_rcu+0xa6/0xe0
<4> [501.537109] RIP: 0010:i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.537225] Code: 00 48 c7 c2 c0 3c e0 a0 48 c7 c7 a0 cd dc a0 e8 fb 4d 3e e0 bf 01 00 00 00 e8 d1 1c 3e e0 31 f6 bf 09 00 00 00 e8 95 3e 2e e0 <0f> 0b 48 c7 c1 d8 39 e4 a0 ba c1 01 00 00 48 c7 c6 a0 3c e0 a0 48
<4> [501.537227] RSP: 0018:ffffc90001f37a30 EFLAGS: 00010246
<4> [501.537230] RAX: 0000000000000200 RBX: 0000000000000000 RCX: 0000000000000006
<4> [501.537231] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009
<4> [501.537232] RBP: ffffc90001f37a68 R08: 0000000000000001 R09: 0000000000000001
<4> [501.537234] R10: 0000000000cb5560 R11: ffffc90001f37818 R12: 00000000ffffffff
<4> [501.537235] R13: ffffffffa0e4b960 R14: ffff8881fa56aa90 R15: ffff888120221440
<4> [501.537237] FS: 00007fe11af8ec00(0000) GS:ffff88846d680000(0000) knlGS:0000000000000000
<4> [501.537239] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [501.537240] CR2: 00007f2fb0006000 CR3: 0000000138d5c002 CR4: 00000000003706e0
<4> [501.537241] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [501.537243] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4> [501.537244] Call Trace:
<4> [501.537245] <TASK>
<4> [501.537247] i915_vma_pin_iomap+0x3d6/0x3f0 [i915]
<4> [501.537335] intel_dpt_pin+0x1e0/0x2f0 [i915]
<4> [501.537426] intel_plane_pin_fb+0x92/0x2b0 [i915]
<4> [501.537513] intel_prepare_plane_fb+0xec/0x270 [i915]
<4> [501.537599] ? __debug_object_init+0x1bb/0x450
<4> [501.537602] drm_atomic_helper_prepare_planes+0x6c/0x150 [drm_kms_helper]
<4> [501.537612] intel_atomic_commit+0x8b/0x3e0 [i915]
<4> [501.537698] drm_atomic_helper_set_config+0x6d/0xb0 [drm_kms_helper]
<4> [501.537706] drm_mode_setcrtc+0x1e6/0x720
<4> [501.537711] ? drm_mode_getcrtc+0x180/0x180
<4> [501.537713] drm_ioctl_kernel+0xac/0x140
<4> [501.537715] drm_ioctl+0x201/0x3d0
<4> [501.537716] ? drm_mode_getcrtc+0x180/0x180
<4> [501.537719] __x64_sys_ioctl+0x6a/0xa0
<4> [501.537722] do_syscall_64+0x37/0xb0
<4> [501.537724] entry_SYSCALL_64_after_hwframe+0x44/0xae
<4> [501.537726] RIP: 0033:0x7fe11db2350b
<4> [501.537728] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
<4> [501.537730] RSP: 002b:00007ffc5311edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [501.537731] RAX: ffffffffffffffda RBX: 00007ffc5311ee30 RCX: 00007fe11db2350b
<4> [501.537732] RDX: 00007ffc5311ee30 RSI: 00000000c06864a2 RDI: 0000000000000005
<4> [501.537733] RBP: 00007ffc5311ee30 R08: 0000000000000000 R09: 000055fa90245300
<4> [501.537734] R10: 000055fa90245320 R11: 0000000000000246 R12: 00000000c06864a2
<4> [501.537735] R13: 0000000000000005 R14: 000055fa90235940 R15: 0000000000000000
<4> [501.537738] </TASK>
<4> [501.537739] Modules linked in: vgem drm_shmem_helper fuse snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi i915 mei_hdcp smsc75xx usbnet ttm mii drm_buddy x86_pkg_temp_thermal drm_dp_helper drm_kms_helper syscopyarea coretemp sysfillrect crct10dif_pclmul sysimgblt fb_sys_fops crc32_pclmul prime_numbers ghash_clmulni_intel snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep e1000e mei_me snd_hda_core i2c_i801 ptp snd_pcm mei i2c_smbus pps_core intel_lpss_pci
<4> [501.537765] ---[ end trace 0000000000000000 ]---
<3> [501.541666] BUG: sleeping function called from invalid context at kernel/locking/semaphore.c:81
<3> [501.541668] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5634, name: kms_busy
<3> [501.541670] preempt_count: 0, expected: 0
<3> [501.541671] RCU nest depth: 1, expected: 0
<4> [501.541672] INFO: lockdep is turned off.
<4> [501.541673] CPU: 1 PID: 5634 Comm: kms_busy Tainted: G D W 5.17.0-rc6-CI-CI_DRM_11300+ #1
<4> [501.541675] Hardware name: Intel Corporation CoffeeLake Client Platform/CoffeeLake S UDIMM RVP, BIOS CNLSFWR1.R00.X220.B00.2103302221 03/30/2021
<4> [501.541676] Call Trace:
<4> [501.541677] <TASK>
<4> [501.541679] dump_stack_lvl+0x56/0x7b
<4> [501.541682] __might_resched.cold.163+0xf4/0x12f
<4> [501.541685] down_interruptible+0x1a/0x60
<4> [501.541688] efivar_entry_set_safe+0x11d/0x210
<4> [501.541691] efi_pstore_write+0x115/0x180
<4> [501.541695] pstore_dump+0x113/0x2e0
<4> [501.541699] kmsg_dump+0x70/0x120
<4> [501.541702] oops_end+0x4c/0xa0
<4> [501.541704] do_trap+0xd9/0x100
<4> [501.541706] ? i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.541818] ? i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.541913] do_error_trap+0x73/0xf0
<4> [501.541915] ? i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.542009] exc_invalid_op+0x49/0x60
<4> [501.542012] ? i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.542105] asm_exc_invalid_op+0x12/0x20
<4> [501.542108] RIP: 0010:i915_gem_object_lmem_io_map.cold.7+0x5b/0x5d [i915]
<4> [501.542202] Code: 00 48 c7 c2 c0 3c e0 a0 48 c7 c7 a0 cd dc a0 e8 fb 4d 3e e0 bf 01 00 00 00 e8 d1 1c 3e e0 31 f6 bf 09 00 00 00 e8 95 3e 2e e0 <0f> 0b 48 c7 c1 d8 39 e4 a0 ba c1 01 00 00 48 c7 c6 a0 3c e0 a0 48
<4> [501.542203] RSP: 0018:ffffc90001f37a30 EFLAGS: 00010246
<4> [501.542205] RAX: 0000000000000200 RBX: 0000000000000000 RCX: 0000000000000006
<4> [501.542206] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000009
<4> [501.542207] RBP: ffffc90001f37a68 R08: 0000000000000001 R09: 0000000000000001
<4> [501.542208] R10: 0000000000cb5560 R11: ffffc90001f37818 R12: 00000000ffffffff
<4> [501.542210] R13: ffffffffa0e4b960 R14: ffff8881fa56aa90 R15: ffff888120221440
<4> [501.542213] i915_vma_pin_iomap+0x3d6/0x3f0 [i915]
<4> [501.542299] intel_dpt_pin+0x1e0/0x2f0 [i915]
<4> [501.542389] intel_plane_pin_fb+0x92/0x2b0 [i915]
<4> [501.542475] intel_prepare_plane_fb+0xec/0x270 [i915]
<4> [501.542561] ? __debug_object_init+0x1bb/0x450
<4> [501.542564] drm_atomic_helper_prepare_planes+0x6c/0x150 [drm_kms_helper]
<4> [501.542574] intel_atomic_commit+0x8b/0x3e0 [i915]
<4> [501.542660] drm_atomic_helper_set_config+0x6d/0xb0 [drm_kms_helper]
<4> [501.542668] drm_mode_setcrtc+0x1e6/0x720
<4> [501.542673] ? drm_mode_getcrtc+0x180/0x180
<4> [501.542674] drm_ioctl_kernel+0xac/0x140
<4> [501.542677] drm_ioctl+0x201/0x3d0
<4> [501.542678] ? drm_mode_getcrtc+0x180/0x180
<4> [501.542681] __x64_sys_ioctl+0x6a/0xa0
<4> [501.542684] do_syscall_64+0x37/0xb0
<4> [501.542686] entry_SYSCALL_64_after_hwframe+0x44/0xae
<4> [501.542688] RIP: 0033:0x7fe11db2350b
<4> [501.542689] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
<4> [501.542691] RSP: 002b:00007ffc5311edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [501.542693] RAX: ffffffffffffffda RBX: 00007ffc5311ee30 RCX: 00007fe11db2350b
<4> [501.542694] RDX: 00007ffc5311ee30 RSI: 00000000c06864a2 RDI: 0000000000000005
<4> [501.542696] RBP: 00007ffc5311ee30 R08: 0000000000000000 R09: 000055fa90245300
<4> [501.542697] R10: 000055fa90245320 R11: 0000000000000246 R12: 00000000c06864a2
<4> [501.542698] R13: 0000000000000005 R14: 000055fa90235940 R15: 0000000000000000