TGL: All tests - drm_WARN_ON(!timeout_expected), WARNING: .* at drivers/gpu/drm/i915/display/intel_display_power.c:\d+ hsw_wait_for_power_well_enable
<4> [73.731701] i915 0000:00:02.0: drm_WARN_ON(!timeout_expected)
<4> [73.731807] WARNING: CPU: 7 PID: 1331 at drivers/gpu/drm/i915/display/intel_display_power.c:342 hsw_wait_for_power_well_enable+0x94/0xa0 [i915]
<4> [73.731810] Modules linked in: snd_hda_codec_hdmi mei_hdcp x86_pkg_temp_thermal i915 coretemp crct10dif_pclmul crc32_pclmul smsc75xx ftdi_sio usbnet mii usbserial ghash_clmulni_intel snd_hda_intel snd_intel_dspcfg snd_hda_codec e1000e snd_hwdep snd_hda_core mei_me ptp pps_core snd_pcm mei intel_lpss_pci prime_numbers
<4> [73.731842] CPU: 7 PID: 1331 Comm: debugfs_test Tainted: G U 5.7.0-rc4-CI-CI_DRM_8473+ #1
<4> [73.731847] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.2527.A77.2003232305 03/23/2020
<4> [73.731916] RIP: 0010:hsw_wait_for_power_well_enable+0x94/0xa0 [i915]
<4> [73.731921] Code: 8b 7d 18 48 8b 5f 50 48 85 db 74 22 e8 85 3b 36 e1 48 c7 c1 60 01 49 a0 48 89 da 48 89 c6 48 c7 c7 2e 91 4b a0 e8 fc ae d1 e0 <0f> 0b eb ac 48 8b 1f eb d9 0f 1f 00 b9 1b 00 00 00 ba 01 00 00 00
<4> [73.731927] RSP: 0018:ffffc90000dc3980 EFLAGS: 00010282
<4> [73.731931] RAX: 0000000000000000 RBX: ffff88849b7e0180 RCX: 0000000000000006
<4> [73.731935] RDX: ffff88848c2a4040 RSI: ffff88848c2a49f0 RDI: ffffffff82386f12
<4> [73.731938] RBP: ffff88848aab0000 R08: ffff88848c2a49f0 R09: 0000000000000000
<4> [73.731941] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888495b03e90
<4> [73.731945] R13: ffff88848aab0ee8 R14: ffffffffa044fed0 R15: ffff88848856a000
<4> [73.731949] FS: 00007fc69a56ce40(0000) GS:ffff8884a0980000(0000) knlGS:0000000000000000
<4> [73.731952] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [73.731956] CR2: 00005556ad528008 CR3: 000000047d168002 CR4: 0000000000760ee0
<4> [73.731959] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [73.731962] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4> [73.731966] PKRU: 55555554
<4> [73.731969] Call Trace:
<4> [73.732040] hsw_power_well_enable+0xa3/0x1d0 [i915]
<4> [73.732051] ? mark_held_locks+0x49/0x70
<4> [73.732121] intel_power_well_enable+0x39/0x40 [i915]
<4> [73.732187] __intel_display_power_get_domain.part.26+0x69/0x80 [i915]
<4> [73.732254] intel_display_power_get+0x46/0x60 [i915]
<4> [73.732323] intel_ddi_pre_enable+0x51d/0xdd0 [i915]
<4> [73.732399] intel_encoders_pre_enable+0x79/0x90 [i915]
<4> [73.732465] hsw_crtc_enable+0x81/0x610 [i915]
<4> [73.732476] ? drm_calc_timestamping_constants+0xec/0x160
<4> [73.732547] intel_enable_crtc+0x4e/0x60 [i915]
<4> [73.732613] skl_commit_modeset_enables+0x31b/0x520 [i915]
<4> [73.732688] intel_atomic_commit_tail+0x311/0x1440 [i915]
<4> [73.732776] intel_atomic_commit+0x318/0x390 [i915]
<4> [73.732787] drm_client_modeset_commit_atomic+0x1e7/0x250
<4> [73.732811] drm_client_modeset_commit_locked+0x42/0x1a0
<4> [73.732820] drm_client_modeset_commit+0x1c/0x40
<4> [73.732827] drm_fb_helper_restore_fbdev_mode_unlocked+0x42/0x90
<4> [73.732896] intel_fbdev_restore_mode+0x2b/0x60 [i915]
<4> [73.732902] drm_lastclose+0x2a/0x50
<4> [73.732908] drm_release_noglobal+0x35/0x50
<4> [73.732916] __fput+0xf4/0x260
<4> [73.732930] task_work_run+0x6e/0xa0
<4> [73.732941] exit_to_usermode_loop+0x98/0xa0
<4> [73.732946] do_syscall_64+0x1e5/0x220
<4> [73.732955] entry_SYSCALL_64_after_hwframe+0x49/0xb3
<4> [73.732959] RIP: 0033:0x7fc699ed6421
<4> [73.732963] Code: f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 8b 05 ea cf 20 00 85 c0 75 16 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3f f3 c3 0f 1f 44 00 00 53 89 fb 48 83 ec 10
<4> [73.732967] RSP: 002b:00007ffc48397078 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
<4> [73.732971] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 00007fc699ed6421
<4> [73.732975] RDX: 0000000000000000 RSI: 00007ffc48396eb0 RDI: 0000000000000006
<4> [73.732978] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
<4> [73.732981] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc69a381560
<4> [73.732985] R13: 0000000000000004 R14: 00007fc699ec4628 R15: 00007fc699ec0d80
<4> [73.733005] irq event stamp: 181784
<4> [73.733011] hardirqs last enabled at (181783): [<ffffffff81134ddc>] vprintk_emit+0xcc/0x330
<4> [73.733016] hardirqs last disabled at (181784): [<ffffffff81001d50>] trace_hardirqs_off_thunk+0x1a/0x1c
<4> [73.733021] softirqs last enabled at (181522): [<ffffffff81e00395>] __do_softirq+0x395/0x49e
<4> [73.733027] softirqs last disabled at (181511): [<ffffffff810bbc9a>] irq_exit+0xba/0xc0
<4> [73.733031] ---[ end trace 29c58de6d9ca26c1 ]---
Edited by LAKSHMINARAYANA VUDUM