[CI][DRMTIP] Random tests - dmesg-warn - WARN_ON(crtc_state->scaler_state.scaler_id < 0)
@l4kshmi
Submitted by LAKSHMINARAYANA VUDUM Assigned to Intel GFX Bugs mailing list
Link to original bug (#112216)
Description
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_397/fi-skl-guc/igt@i915_pm_rpm@system-suspend-modeset.html
<4>
[24.652581] WARN_ON(crtc_state->scaler_state.scaler_id < 0)
<4>
[24.652625] WARNING: CPU: 2 PID: 1096 at drivers/gpu/drm/i915/display/intel_display.c:5721 skylake_pfit_enable+0x169/0x180 [i915]
<4>
[24.652626] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic mei_hdcp i915 x86_pkg_temp_thermal coretemp snd_hda_intel snd_intel_nhlt e1000e snd_hda_codec crct10dif_pclmul snd_hwdep crc32_pclmul snd_hda_core ghash_clmulni_intel ptp pps_core snd_pcm mei_me mei prime_numbers
<4>
[24.652636] CPU: 2 PID: 1096 Comm: i915_pm_rpm Tainted: G U 5.4.0-rc5-g1b175df1a754-drmtip_397+ #1 (moved)
<4>
[24.652637] Hardware name: System manufacturer System Product Name/Z170 PRO GAMING, BIOS 3402 04/26/2017
<4>
[24.652670] RIP: 0010:skylake_pfit_enable+0x169/0x180 [i915]
<4>
[24.652672] Code: 89 f7 b9 01 00 00 00 5d 41 5c 41 5d 41 5e 41 5f e9 9c e4 7a d6 f3 c3 48 c7 c6 28 69 74 c0 48 c7 c7 17 a6 76 c0 e8 47 13 a6 d5 <0f>
0b 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 66 0f 1f 44 00
<4>
[24.652673] RSP: 0018:ffffba8340f2f918 EFLAGS: 00010286
<4>
[24.652675] RAX: 0000000000000000 RBX: ffff9de0e275c000 RCX: 0000000000000002
<4>
[24.652676] RDX: 0000000000001676 RSI: ffff9de0de668920 RDI: ffffffff9730d4b9
<4>
[24.652678] RBP: ffff9de0c63b0000 R08: ffff9de0de668920 R09: 0000000000000000
<4>
[24.652679] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9de0c5d4a000
<4>
[24.652680] R13: 00000000fffffffc R14: 0000000000000000 R15: ffff9de0e188e800
<4>
[24.652682] FS: 00007efdb46b2e40(0000) GS:ffff9de0ee900000(0000) knlGS:0000000000000000
<4>
[24.652683] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>
[24.652684] CR2: 00005617b887aae8 CR3: 000000020d1a6005 CR4: 00000000003606e0
<4>
[24.652686] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>
[24.652687] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>
[24.652688] Call Trace:
<4>
[24.652691] ? _raw_spin_unlock_irqrestore+0x4c/0x60
<4>
[24.652725] haswell_crtc_enable+0x27e/0x810 [i915]
<4>
[24.652761] intel_update_crtc+0x62/0x1a0 [i915]
<4>
[24.652795] skl_commit_modeset_enables+0x297/0x430 [i915]
<4>
[24.652830] intel_atomic_commit_tail+0x333/0x14c0 [i915]
<4>
[24.652833] ? flush_workqueue+0x236/0x530
<4>
[24.652835] ? queue_work_on+0x31/0x70
<4>
[24.652872] intel_atomic_commit+0x31d/0x350 [i915]
<4>
[24.652877] drm_atomic_helper_set_config+0x61/0x90
<4>
[24.652880] drm_mode_setcrtc+0x18e/0x720
<4>
[24.652884] ? __lock_acquire+0x460/0x15d0
<4>
[24.652893] ? drm_mode_getcrtc+0x180/0x180
<4>
[24.652895] drm_ioctl_kernel+0xa7/0xf0
<4>
[24.652899] drm_ioctl+0x2e1/0x390
<4>
[24.652902] ? drm_mode_getcrtc+0x180/0x180
<4>
[24.652911] do_vfs_ioctl+0xa0/0x6f0
<4>
[24.652913] ? find_held_lock+0x2d/0x90
<4>
[24.652916] ? __task_pid_nr_ns+0xbc/0x1f0
<4>
[24.652920] ksys_ioctl+0x35/0x60
<4>
[24.652924] __x64_sys_ioctl+0x11/0x20
<4>
[24.652926] do_syscall_64+0x4f/0x210
<4>
[24.652928] entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>
[24.652930] RIP: 0033:0x7efdb37295d7
<4>
[24.652931] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48>
3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>
[24.652933] RSP: 002b:00007ffed01420d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>
[24.652935] RAX: ffffffffffffffda RBX: 00007ffed0142110 RCX: 00007efdb37295d7
<4>
[24.652936] RDX: 00007ffed0142110 RSI: 00000000c06864a2 RDI: 0000000000000005
<4>
[24.652937] RBP: 00007ffed0142110 R08: 0000000000000000 R09: 0000000000000000
<4>
[24.652938] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c06864a2
<4>
[24.652939] R13: 0000000000000005 R14: 0000000000000000 R15: 0000000000000000
<4>
[24.652946] irq event stamp: 139034
<4>
[24.652949] hardirqs last enabled at (139033): [<ffffffff9612f72c>
] vprintk_emit+0xcc/0x340
<4>
[24.652950] hardirqs last disabled at (139034): [<ffffffff96001c0a>
] trace_hardirqs_off_thunk+0x1a/0x20
<4>
[24.652953] softirqs last enabled at (137892): [<ffffffff96e00385>
] __do_softirq+0x385/0x47f
<4>
[24.652956] softirqs last disabled at (137883): [<ffffffff960bc9ca>
] irq_exit+0xba/0xc0
<4>
[24.652959] ---[ end trace 6e29d55267e698bb ]---
<7>
[24.653015] [drm:intel_enable_pipe [i915]] enabling pipe B
<7>
[24.653081] [drm:intel_enable_ddi [i915]] Panel doesn't support DRRS
<7>
[24.659138] [drm:gen8_de_irq_handler [i915]] hotplug event received, stat 0x02000000, dig 0x00000011, pins 0x00000100, long 0x00000000
<7>
[24.659182] [drm:intel_hpd_irq_handler [i915]] digital hpd on [ENCODER:117:DDI E] - short
<7>
[24.659276] [drm:intel_dp_hpd_pulse [i915]] got hpd irq on [ENCODER:117:DDI E] - short
<7>
[24.659823] [drm:intel_dp_read_dpcd [i915]] DPCD: 11 0a 82 01 00 03 01 01 02 00 00 00 00 00 00
<7>
[24.660254] [drm:drm_dp_read_desc] DP branch: OUI 00-00-00 dev-ID HW-rev 0.0 SW-rev 0.0 quirks 0x0000
<7>
[24.669798] [drm:intel_atomic_commit_tail [i915]] [CRTC:51:pipe A]
<7>
[24.669887] [drm:verify_connector_state [i915]] [CONNECTOR:118:DP-2]
<7>
[24.669941] [drm:intel_atomic_commit_tail [i915]] [CRTC:72:pipe B]
<3>
[24.670028] [drm:pipe_config_mismatch [i915]] ERROR [CRTC:72:pipe B] mismatch in pch_pfit.enabled (expected yes, found no)
<3>
[24.670074] [drm:pipe_config_mismatch [i915]] ERROR [CRTC:72:pipe B] mismatch in pch_pfit.size (expected 0x04000300, found 0x00000000)