WARNING: CPU: 1 PID: 606 at drivers/gpu/drm/drm_modeset_lock.c:185 drm_warn_on_modeset_not_all_locked.part.6+0x6c/0x80 [drm]
On a Dell OptiPlex 5055 with Linux v5.8-12310-g90eae212f48c8, and according to Linux 5.8 Is Released And It The Largest Release Of All Time also with Linux 5.8 on another system, the warning below is shown.
[ 26.319690] WARNING: CPU: 1 PID: 606 at drivers/gpu/drm/drm_modeset_lock.c:185 drm_warn_on_modeset_not_all_locked.part.6+0x6c/0x80 [drm]
[ 26.320415] Modules linked in: 8021q garp stp mrp llc amdgpu snd_hda_codec_realtek snd_hda_codec_generic gpu_sched ttm ledtrig_audio drm_kms_helper snd_hda_codec_hdmi snd_hda_intel drm snd_intel_dspcfg snd_hda_codec input_leds snd_hda_core led_class snd_pcm snd_timer snd edac_mce_amd kvm_amd kvm fb_sys_fops syscopyarea deflate wmi_bmof irqbypass i2c_piix4 wmi efi_pstore crc32c_intel sysfillrect sysimgblt soundcore acpi_cpufreq pstore k10temp nfsd auth_rpcgss nfs_acl lockd grace sunrpc efivarfs ip_tables x_tables unix ipv6 nf_defrag_ipv6 autofs4
[ 26.323216] CPU: 1 PID: 606 Comm: Xorg Kdump: loaded Not tainted 5.8.0.mx64.339-12310-g90eae212f48c8 #1
[ 26.323770] Hardware name: Dell Inc. OptiPlex 5055 Ryzen CPU/0P03DX, BIOS 1.1.20 05/31/2019
[ 26.324266] RIP: 0010:drm_warn_on_modeset_not_all_locked.part.6+0x6c/0x80 [drm]
[ 26.324701] Code: 01 00 00 e8 e6 29 cc e0 84 c0 74 1a 49 8d bc 24 98 01 00 00 e8 d5 29 cc e0 84 c0 74 0d 5b 5d 41 5c c3 0f 0b eb c8 0f 0b eb e2 <0f> 0b 5b 5d 41 5c c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f
[ 26.325793] RSP: 0018:ffffc9000120bab8 EFLAGS: 00010246
[ 26.326110] RAX: 0000000000000000 RBX: ffff88840205c2f8 RCX: 0000000000000000
[ 26.326532] RDX: ffffffffa090a120 RSI: ffff8884001980a0 RDI: ffff88840205c198
[ 26.326950] RBP: ffff88840205c308 R08: ffff88840b211148 R09: ffff88840205c000
[ 26.327371] R10: 0000000000000001 R11: ffff88840b32f780 R12: ffff88840205c000
[ 26.327795] R13: 0000000000000002 R14: ffff888400198000 R15: ffff88840205c000
[ 26.328217] FS: 00007f8e16a98940(0000) GS:ffff88840ea40000(0000) knlGS:0000000000000000
[ 26.328693] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.329032] CR2: 0000000000e9a008 CR3: 00000003fc482000 CR4: 00000000003506e0
[ 26.329455] Call Trace:
[ 26.329614] drm_crtc_helper_set_mode+0x67/0x500 [drm_kms_helper]
[ 26.329976] ? __update_load_avg_cfs_rq+0x213/0x2d0
[ 26.330269] ? __update_load_avg_cfs_rq+0x213/0x2d0
[ 26.330564] ? dequeue_entity+0x1b6/0x7b0
[ 26.330804] ? dequeue_entity+0x4e5/0x7b0
[ 26.331043] ? newidle_balance+0xb8/0x3f0
[ 26.331286] ? __switch_to_asm+0x42/0x70
[ 26.331526] ? __switch_to+0x12d/0x440
[ 26.331753] ? __schedule+0x35d/0x810
[ 26.331996] amdgpu_connector_set_property+0x3a0/0x4d0 [amdgpu]
[ 26.332357] drm_connector_set_obj_prop+0x65/0x70 [drm]
[ 26.332676] drm_mode_obj_set_property_ioctl+0x285/0x310 [drm]
[ 26.333025] ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 26.333353] drm_connector_property_set_ioctl+0x3e/0x60 [drm]
[ 26.333700] drm_ioctl_kernel+0xb2/0xf0 [drm]
[ 26.333961] ? __alloc_pages_nodemask+0x15b/0x300
[ 26.334246] drm_ioctl+0x30a/0x3c0 [drm]
[ 26.334490] ? drm_connector_set_obj_prop+0x70/0x70 [drm]
[ 26.334810] ? handle_mm_fault+0xdc2/0x1290
[ 26.335075] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 26.335353] __x64_sys_ioctl+0x8e/0xd0
[ 26.335584] ? exit_to_user_mode_prepare+0x31/0x150
[ 26.335874] do_syscall_64+0x33/0x40
[ 26.336089] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 26.336392] RIP: 0033:0x7f8e1504e647
[ 26.336611] Code: 00 00 00 48 8b 05 41 58 2c 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 11 58 2c 00 f7 d8 64 89 01 48
[ 26.337703] RSP: 002b:00007ffce59449a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[ 26.338155] RAX: ffffffffffffffda RBX: 0000000000854c10 RCX: 00007f8e1504e647
[ 26.338577] RDX: 00007ffce59449e0 RSI: 00000000c01064ab RDI: 000000000000000b
[ 26.338995] RBP: 00007ffce59449e0 R08: 0000000000e99980 R09: 0000000000000000
[ 26.339417] R10: 00007f8e15091f50 R11: 0000000000000246 R12: 00000000c01064ab
[ 26.339840] R13: 000000000000000b R14: 0000000000854e30 R15: 000000000000005e
[ 26.340262] ---[ end trace 58d74072ecde8a8e ]---