[ 63.295481] ------------[ cut here ]------------
[ 63.295650] WARNING: CPU: 0 PID: 32 at drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c:335 mdp4_crtc_atomic_flush+0xa8/0xac
[ 63.295697] Modules linked in:
[ 63.295739] CPU: 0 PID: 32 Comm: kworker/u8:1 Not tainted 6.4.0-next-20230629-12736-g4543a6220353-dirty #50
[ 63.295759] Hardware name: Generic DT based system
[ 63.295771] Workqueue: msm_hdmi msm_hdmi_hotplug_work
[ 63.295817] unwind_backtrace from show_stack+0x10/0x14
[ 63.295858] show_stack from dump_stack_lvl+0x80/0x90
[ 63.295896] dump_stack_lvl from __warn+0x78/0x1a4
[ 63.295936] __warn from warn_slowpath_fmt+0xb8/0x198
[ 63.295967] warn_slowpath_fmt from mdp4_crtc_atomic_flush+0xa8/0xac
[ 63.296002] mdp4_crtc_atomic_flush from drm_atomic_helper_commit_planes+0x1a0/0x338
[ 63.296042] drm_atomic_helper_commit_planes from msm_atomic_commit_tail+0x240/0xa78
[ 63.296084] msm_atomic_commit_tail from commit_tail+0x9c/0x190
[ 63.296118] commit_tail from drm_atomic_helper_commit+0x160/0x188
[ 63.296151] drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe0
[ 63.296195] drm_atomic_commit from drm_client_modeset_commit_atomic+0x23c/0x280
[ 63.296232] drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x60/0x1cc
[ 63.296259] drm_client_modeset_commit_locked from drm_client_modeset_commit+0x24/0x40
[ 63.296284] drm_client_modeset_commit from __drm_fb_helper_restore_fbdev_mode_unlocked+0x84/0xbc
[ 63.296331] __drm_fb_helper_restore_fbdev_mode_unlocked from drm_fb_helper_hotplug_event+0xf0/0x104
[ 63.296367] drm_fb_helper_hotplug_event from drm_client_dev_hotplug+0xb0/0x108
[ 63.296397] drm_client_dev_hotplug from drm_bridge_hpd_notify+0x34/0x40
[ 63.296422] drm_bridge_hpd_notify from process_one_work+0x2c8/0x6cc
[ 63.296446] process_one_work from worker_thread+0x48/0x530
[ 63.296465] worker_thread from kthread+0x100/0x120
[ 63.296499] kthread from ret_from_fork+0x14/0x2c
[ 63.296528] Exception stack(0xf08b1fb0 to 0xf08b1ff8)
[ 63.296543] 1fa0: 00000000 00000000 00000000 00000000
[ 63.296558] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 63.296572] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 63.296588] irq event stamp: 41827
[ 63.296606] hardirqs last enabled at (41833): [<c03a00b8>] vprintk_emit+0x328/0x35c
[ 63.296649] hardirqs last disabled at (41838): [<c03a0074>] vprintk_emit+0x2e4/0x35c
[ 63.296680] softirqs last enabled at (41498): [<c0301608>] __do_softirq+0x30c/0x4b4
[ 63.296710] softirqs last disabled at (41487): [<c032b194>] __irq_exit_rcu+0x140/0x160
[ 63.296742] ---[ end trace 0000000000000000 ]---
[ 63.296891] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:1163
[ 63.296917] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 32, name: kworker/u8:1
[ 63.296937] preempt_count: 1, expected: 0
[ 63.296957] 11 locks held by kworker/u8:1/32:
[ 63.296976] #0: cedbc2a8 ((wq_completion)msm_hdmi){+.+.}-{0:0}, at: process_one_work+0x204/0x6cc
[ 63.297089] #1: f08b1f20 ((work_completion)(&hdmi_bridge->hpd_work)){+.+.}-{0:0}, at: process_one_work+0x204/0x6cc
[ 63.297195] #2: cedbd11c (&bridge->hpd_mutex){+.+.}-{3:3}, at: drm_bridge_hpd_notify+0x1c/0x40
[ 63.297302] #3: cee08198 (&dev->clientlist_mutex){+.+.}-{3:3}, at: drm_client_dev_hotplug+0x6c/0x108
[ 63.297407] #4: cedbdb70 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xbc
[ 63.297521] #5: cee080ec (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x18/0x3c
[ 63.297625] #6: cedbda50 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x20/0x1cc
[ 63.297732] #7: f08b1e14 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x34/0x280
[ 63.297838] #8: ced9304c (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0xac/0x24c
[ 63.297942] #9: ced928b0 (&kms->commit_lock[i]){+.+.}-{3:3}, at: msm_atomic_commit_tail+0x154/0xa78
[ 63.298054] #10: ced928fc (&kms->commit_lock[i]/1){+.+.}-{3:3}, at: msm_atomic_commit_tail+0x154/0xa78
[ 63.298181] CPU: 0 PID: 32 Comm: kworker/u8:1 Tainted: G W 6.4.0-next-20230629-12736-g4543a6220353-dirty #50
[ 63.298199] Hardware name: Generic DT based system
[ 63.298210] Workqueue: msm_hdmi msm_hdmi_hotplug_work
[ 63.298248] unwind_backtrace from show_stack+0x10/0x14
[ 63.298278] show_stack from dump_stack_lvl+0x80/0x90
[ 63.298308] dump_stack_lvl from __might_resched+0x158/0x2a8
[ 63.298350] __might_resched from __pm_runtime_resume+0x7c/0xa0
[ 63.298387] __pm_runtime_resume from msm_hdmi_phy_resource_enable+0x24/0x164
[ 63.298412] msm_hdmi_phy_resource_enable from msm_hdmi_bridge_atomic_pre_enable+0x198/0x2c4
[ 63.298445] msm_hdmi_bridge_atomic_pre_enable from drm_atomic_bridge_chain_pre_enable+0x38/0x12c
[ 63.298477] drm_atomic_bridge_chain_pre_enable from drm_atomic_helper_commit_modeset_enables+0x174/0x29c
[ 63.298509] drm_atomic_helper_commit_modeset_enables from msm_atomic_commit_tail+0x24c/0xa78
[ 63.298543] msm_atomic_commit_tail from commit_tail+0x9c/0x190
[ 63.298577] commit_tail from drm_atomic_helper_commit+0x160/0x188
[ 63.298610] drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe0
[ 63.298648] drm_atomic_commit from drm_client_modeset_commit_atomic+0x23c/0x280
[ 63.298680] drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x60/0x1cc
[ 63.298706] drm_client_modeset_commit_locked from drm_client_modeset_commit+0x24/0x40
[ 63.298730] drm_client_modeset_commit from __drm_fb_helper_restore_fbdev_mode_unlocked+0x84/0xbc
[ 63.298765] __drm_fb_helper_restore_fbdev_mode_unlocked from drm_fb_helper_hotplug_event+0xf0/0x104
[ 63.298803] drm_fb_helper_hotplug_event from drm_client_dev_hotplug+0xb0/0x108
[ 63.298833] drm_client_dev_hotplug from drm_bridge_hpd_notify+0x34/0x40
[ 63.298856] drm_bridge_hpd_notify from process_one_work+0x2c8/0x6cc
[ 63.298879] process_one_work from worker_thread+0x48/0x530
[ 63.298899] worker_thread from kthread+0x100/0x120
[ 63.298926] kthread from ret_from_fork+0x14/0x2c
[ 63.298952] Exception stack(0xf08b1fb0 to 0xf08b1ff8)
[ 63.298966] 1fa0: 00000000 00000000 00000000 00000000
[ 63.298981] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 63.298994] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 63.299416] BUG: scheduling while atomic: kworker/u8:1/32/0x00000002
[ 63.299441] 11 locks held by kworker/u8:1/32:
[ 63.299460] #0: cedbc2a8 ((wq_completion)msm_hdmi){+.+.}-{0:0}, at: process_one_work+0x204/0x6cc
[ 63.299567] #1: f08b1f20 ((work_completion)(&hdmi_bridge->hpd_work)){+.+.}-{0:0}, at: process_one_work+0x204/0x6cc
[ 63.299670] #2: cedbd11c (&bridge->hpd_mutex){+.+.}-{3:3}, at: drm_bridge_hpd_notify+0x1c/0x40
[ 63.299776] #3: cee08198 (&dev->clientlist_mutex){+.+.}-{3:3}, at: drm_client_dev_hotplug+0x6c/0x108
[ 63.299881] #4: cedbdb70 (&helper->lock){+.+.}-{3:3}, at: __drm_fb_helper_restore_fbdev_mode_unlocked+0x50/0xbc
[ 63.299994] #5: cee080ec (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x18/0x3c
[ 63.300096] #6: cedbda50 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x20/0x1cc
[ 63.300202] #7: f08b1e14 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0x34/0x280
[ 63.300306] #8: ced9304c (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0xac/0x24c
[ 63.300409] #9: ced928b0 (&kms->commit_lock[i]){+.+.}-{3:3}, at: msm_atomic_commit_tail+0x154/0xa78
[ 63.300519] #10: ced928fc (&kms->commit_lock[i]/1){+.+.}-{3:3}, at: msm_atomic_commit_tail+0x154/0xa78
[ 63.300646] Modules linked in:
[ 63.300677] CPU: 0 PID: 32 Comm: kworker/u8:1 Tainted: G W 6.4.0-next-20230629-12736-g4543a6220353-dirty #50
[ 63.300696] Hardware name: Generic DT based system
[ 63.300707] Workqueue: msm_hdmi msm_hdmi_hotplug_work
[ 63.300745] unwind_backtrace from show_stack+0x10/0x14
[ 63.300775] show_stack from dump_stack_lvl+0x80/0x90
[ 63.300806] dump_stack_lvl from __schedule_bug+0x6c/0x80
[ 63.300839] __schedule_bug from __schedule+0x9a0/0xcb0
[ 63.300871] __schedule from schedule+0x58/0xf8
[ 63.300897] schedule from async_synchronize_cookie_domain+0x84/0xc0
[ 63.300934] async_synchronize_cookie_domain from regulator_bulk_enable+0x7c/0x120
[ 63.300984] regulator_bulk_enable from msm_hdmi_phy_resource_enable+0x38/0x164
[ 63.301016] msm_hdmi_phy_resource_enable from msm_hdmi_bridge_atomic_pre_enable+0x198/0x2c4
[ 63.301048] msm_hdmi_bridge_atomic_pre_enable from drm_atomic_bridge_chain_pre_enable+0x38/0x12c
[ 63.301080] drm_atomic_bridge_chain_pre_enable from drm_atomic_helper_commit_modeset_enables+0x174/0x29c
[ 63.301112] drm_atomic_helper_commit_modeset_enables from msm_atomic_commit_tail+0x24c/0xa78
[ 63.301147] msm_atomic_commit_tail from commit_tail+0x9c/0x190
[ 63.301180] commit_tail from drm_atomic_helper_commit+0x160/0x188
[ 63.301212] drm_atomic_helper_commit from drm_atomic_commit+0xac/0xe0
[ 63.301249] drm_atomic_commit from drm_client_modeset_commit_atomic+0x23c/0x280
[ 63.301283] drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x60/0x1cc
[ 63.301309] drm_client_modeset_commit_locked from drm_client_modeset_commit+0x24/0x40
[ 63.301334] drm_client_modeset_commit from __drm_fb_helper_restore_fbdev_mode_unlocked+0x84/0xbc
[ 63.301370] __drm_fb_helper_restore_fbdev_mode_unlocked from drm_fb_helper_hotplug_event+0xf0/0x104
[ 63.301407] drm_fb_helper_hotplug_event from drm_client_dev_hotplug+0xb0/0x108
[ 63.301439] drm_client_dev_hotplug from drm_bridge_hpd_notify+0x34/0x40
[ 63.301462] drm_bridge_hpd_notify from process_one_work+0x2c8/0x6cc
[ 63.301484] process_one_work from worker_thread+0x48/0x530
[ 63.301505] worker_thread from kthread+0x100/0x120
[ 63.301532] kthread from ret_from_fork+0x14/0x2c
[ 63.301559] Exception stack(0xf08b1fb0 to 0xf08b1ff8)
[ 63.301573] 1fa0: 00000000 00000000 00000000 00000000
[ 63.301589] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 63.301602] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 63.302852] mdp4 5100000.display-controller: [drm:drm_client_dev_hotplug] fbdev: ret=0