Few tests - dmesg-warn - Missing case (limit == 8), WARNING: CPU: .* at drivers/gpu/drm/i915/display/intel_fbc.c:.* g4x_dpfc_ctl_limit
<6> [349.002935] [IGT] kms_draw_crc: executing
<6> [349.010722] [IGT] kms_draw_crc: starting subtest draw-method-rgb565-render-ytiled
<7> [349.011022] [drm:drm_mode_addfb2] [FB:130]
<7> [349.011202] [drm:drm_mode_addfb2] [FB:130]
<7> [349.046664] [drm:drm_mode_setcrtc] [CRTC:51:pipe A]
<7> [349.046711] [drm:drm_mode_setcrtc] [CONNECTOR:95:eDP-1]
<7> [349.046832] i915 0000:00:02.0: [drm:skl_compute_wm [i915]] [PLANE:31:plane 1A] level *wm0,*wm1,*wm2,*wm3,*wm4,*wm5,*wm6,*wm7, twm, swm, stwm -> *wm0,*wm1,*wm2,*wm3,*wm4,*wm5,*wm6,*wm7, twm, swm, stwm
<7> [349.046928] i915 0000:00:02.0: [drm:skl_compute_wm [i915]] [PLANE:31:plane 1A] lines 0, 4, 5, 5, 9, 11, 12, 14, 0, 0, 0 -> 0, 3, 5, 5, 9, 11, 12, 14, 0, 0, 0
<7> [349.047010] i915 0000:00:02.0: [drm:skl_compute_wm [i915]] [PLANE:31:plane 1A] blocks 26, 98, 136, 152, 281, 340, 365, 432, 0, 0, 0 -> 14, 50, 69, 77, 142, 171, 184, 217, 0, 0, 0
<7> [349.047090] i915 0000:00:02.0: [drm:skl_compute_wm [i915]] [PLANE:31:plane 1A] min_ddb 27, 99, 137, 153, 282, 341, 366, 433, 0, 0, 0 -> 15, 51, 70, 78, 143, 172, 185, 218, 0, 0, 0
<4> [349.062183] ------------[ cut here ]------------
<4> [349.062187] Missing case (limit == 8)
<4> [349.062212] WARNING: CPU: 0 PID: 1399 at drivers/gpu/drm/i915/display/intel_fbc.c:161 g4x_dpfc_ctl_limit+0x4f/0x60 [i915]
<4> [349.062368] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio i915 mei_hdcp snd_hda_intel btusb btrtl asix snd_intel_dspcfg btbcm x86_pkg_temp_thermal btintel snd_hda_codec coretemp usbnet crct10dif_pclmul crc32_pclmul mii bluetooth snd_hwdep snd_hda_core ghash_clmulni_intel e1000e snd_pcm mei_me ecdh_generic ecc mei ptp pps_core ttm prime_numbers intel_lpss_pci pinctrl_sunrisepoint [last unloaded: vgem]
<4> [349.062517] CPU: 0 PID: 1399 Comm: kms_draw_crc Not tainted 5.13.0-rc7-ga996e82cbdc77-drmtip_847+ #1
<4> [349.062524] Hardware name: Intel Corporation Kabylake Client platform/Kabylake R DDR4 RVP, BIOS KBLSE2R1.R00.X078.P02.1703030515 03/03/2017
<4> [349.062528] RIP: 0010:g4x_dpfc_ctl_limit+0x4f/0x60 [i915]
<4> [349.062710] Code: 83 fa 04 74 30 31 c0 83 fa 01 74 29 48 83 ec 08 48 63 d2 48 c7 c6 d4 c5 a0 a0 48 c7 c7 da c5 a0 a0 89 44 24 04 e8 57 75 1a e1 <0f> 0b 8b 44 24 04 48 83 c4 08 c3 c3 0f 1f 44 00 00 48 89 f8 ba 01
<4> [349.062715] RSP: 0018:ffffc90000b2fb20 EFLAGS: 00010282
<4> [349.062723] RAX: 0000000000000000 RBX: ffff88811ed90000 RCX: 0000000000000001
<4> [349.062728] RDX: 0000000080000001 RSI: ffffffff8236743f RDI: 00000000ffffffff
<4> [349.062732] RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
<4> [349.062736] R10: fffffffffff7de30 R11: ffffc90000b2f938 R12: ffff88811ed90ee8
<4> [349.062740] R13: ffff888135e2a000 R14: ffff88811ed90000 R15: ffff888110022000
<4> [349.062745] FS: 00007f72024fbe40(0000) GS:ffff8882b6600000(0000) knlGS:0000000000000000
<4> [349.062750] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [349.062754] CR2: 00007f71f4851e02 CR3: 00000001152b4005 CR4: 00000000003706f0
<4> [349.062759] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4> [349.062763] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4> [349.062768] Call Trace:
<4> [349.062774] __intel_fbc_post_update+0x30b/0x6f0 [i915]
<4> [349.062960] intel_fbc_post_update+0x46/0x60 [i915]
<4> [349.063140] intel_atomic_commit_tail+0x778/0x1420 [i915]
<4> [349.063331] ? __i915_sw_fence_complete+0x30/0x258 [i915]
<4> [349.063516] intel_atomic_commit+0x363/0x3e0 [i915]
<4> [349.063703] drm_atomic_helper_set_config+0x6d/0xb0
<4> [349.063717] drm_mode_setcrtc+0x1e9/0x720
<4> [349.063767] ? drm_mode_getcrtc+0x180/0x180
<4> [349.063775] drm_ioctl_kernel+0xaa/0xf0
<4> [349.063790] drm_ioctl+0x1e8/0x390
<4> [349.063800] ? drm_mode_getcrtc+0x180/0x180
<4> [349.063836] __x64_sys_ioctl+0x6d/0xa0
<4> [349.063849] do_syscall_64+0x3c/0xb0
<4> [349.063859] entry_SYSCALL_64_after_hwframe+0x44/0xae
<4> [349.063866] RIP: 0033:0x7f720174d5d7
<4> [349.063871] 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> [349.063876] RSP: 002b:00007fffe0f45848 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [349.063884] RAX: ffffffffffffffda RBX: 00007fffe0f45880 RCX: 00007f720174d5d7
<4> [349.063889] RDX: 00007fffe0f45880 RSI: 00000000c06864a2 RDI: 0000000000000006
<4> [349.063893] RBP: 00007fffe0f45880 R08: 0000000000000000 R09: 000055ef4a404114
<4> [349.063897] R10: 000055ef4a776d70 R11: 0000000000000246 R12: 00000000c06864a2
<4> [349.063902] R13: 0000000000000006 R14: 000055ef4a404178 R15: 0000000000000000
<4> [349.063932] irq event stamp: 86051
<4> [349.063936] hardirqs last enabled at (86057): [<ffffffff8112d916>] console_unlock+0x486/0x590
<4> [349.063944] hardirqs last disabled at (86062): [<ffffffff8112d886>] console_unlock+0x3f6/0x590
<4> [349.063950] softirqs last enabled at (85932): [<ffffffff81e00342>] __do_softirq+0x342/0x48e
<4> [349.063957] softirqs last disabled at (85927): [<ffffffff810b7448>] irq_exit_rcu+0xe8/0xf0
<4> [349.063963] ---[ end trace 7c1148d3402c07c9 ]---
Edited by LAKSHMINARAYANA VUDUM