Few Test cases - dmesg-warn - WARNING:.* at drivers/gpu/drm/i915/display/intel_psr.c:\d+ intel_psr_activate.*
<4> [334.944914] ------------[ cut here ]------------
<4> [334.944916] i915 0000:00:02.0: drm_WARN_ON(!(tmp & ((u32)(((((1UL))) << (31)) + ((int)(sizeof(struct { int:(-!!((sizeof(int) == sizeof(*(8 ? ((void *)((long)(31) * 0l)) : (int *)8))) && ((31) < 0 || (31) > 31))); })))))))
<4> [334.944935] WARNING: CPU: 6 PID: 5640 at drivers/gpu/drm/i915/display/intel_psr.c:577 intel_psr_activate+0x619/0x6a0 [i915]
<4> [334.945006] Modules linked in: vgem drm_shmem_helper snd_hda_codec_hdmi i915 mei_hdcp x86_pkg_temp_thermal snd_hda_intel ttm snd_intel_dspcfg drm_buddy snd_hda_codec coretemp drm_dp_helper crct10dif_pclmul snd_hwdep crc32_pclmul ghash_clmulni_intel snd_hda_core e1000e drm_kms_helper mei_me snd_pcm ptp syscopyarea mei pps_core sysfillrect sysimgblt fb_sys_fops prime_numbers intel_lpss_pci smsc75xx usbnet mii
<4> [334.945040] CPU: 6 PID: 5640 Comm: kms_pipe_crc_ba Not tainted 5.18.0-rc1-CI-CI_DRM_11465+ #1
<4> [334.945042] Hardware name: Intel Corporation Alder Lake Client Platform/AlderLake-P DDR4 RVP, BIOS ADLPFWI1.R00.2422.A00.2110131104 10/13/2021
<4> [334.945044] RIP: 0010:intel_psr_activate+0x619/0x6a0 [i915]
<4> [334.945113] Code: 4c 8b 77 50 4d 85 f6 75 03 4c 8b 37 e8 00 65 1d e1 48 c7 c1 a8 a2 6b a0 4c 89 f2 48 c7 c7 25 44 6e a0 48 89 c6 e8 e8 0d 55 e1 <0f> 0b e9 5b fd ff ff 48 8b 7b 08 4c 8b 6f 50 4d 85 ed 75 03 4c 8b
<4> [334.945114] RSP: 0018:ffffc90001aafa28 EFLAGS: 00010282
<4> [334.945117] RAX: 0000000000000000 RBX: ffff8881165c0000 RCX: 0000000000000001
<4> [334.945118] RDX: 0000000080000001 RSI: ffffffff82315cfd RDI: 00000000ffffffff
<4> [334.945119] RBP: ffff88812658a170 R08: 0000000000000000 R09: c0000000ffff977b
<4> [334.945121] R10: fffffffffff88da8 R11: ffffc90001aaf848 R12: 0000000080000226
<4> [334.945122] R13: ffff8881165c0ef0 R14: ffff8881038cf6b0 R15: ffff8881165c0000
<4> [334.945123] FS: 00007fa47d15b500(0000) GS:ffff88888f300000(0000) knlGS:0000000000000000
<4> [334.945124] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [334.945126] CR2: 000056060d584068 CR3: 00000001244fc003 CR4: 0000000000770ee0
<4> [334.945127] PKRU: 55555554
<4> [334.945128] Call Trace:
<4> [334.945129] <TASK>
<4> [334.945132] intel_psr_post_plane_update+0x635/0xa70 [i915]
<4> [334.945212] intel_atomic_commit_tail+0x836/0x1800 [i915]
Edited by Ravi V