disp_cc_mdss_mdp_clk status stuck at 'off' at drivers/clk/qcom/clk-branch.c:91 clk_branch_toggle+0x118/0x16c
On SC7180 Lazor with Linux 6.1-rc4, the display fails to initialize and remains black unless the kernel is booted with clk_ignore_unused=1
.
[ 13.299995] ------------[ cut here ]------------
[ 13.304765] disp_cc_mdss_mdp_clk status stuck at 'off'
[ 13.304791] WARNING: CPU: 5 PID: 74 at drivers/clk/qcom/clk-branch.c:91 clk_branch_toggle+0x118/0x16c
[ 13.319561] Modules linked in:
[ 13.322712] CPU: 5 PID: 74 Comm: kworker/u16:2 Tainted: G W 6.1.0-rc4-stb-cbq #7
[ 13.331742] Hardware name: Google Lazor (rev3 - 8) (DT)
[ 13.337114] Workqueue: events_unbound deferred_probe_work_func
[ 13.343127] pstate: 604000c9 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 13.350286] pc : clk_branch_toggle+0x118/0x16c
[ 13.354859] lr : clk_branch_toggle+0x118/0x16c
[ 13.359441] sp : ffffffc0087133d0
[ 13.362857] x29: ffffffc0087133d0 x28: 0000000000000060 x27: ffffffdbca9f9198
[ 13.370205] x26: ffffff8080d79910 x25: 0000000000000000 x24: 0000000000000000
[ 13.377551] x23: ffffffdbc99e6114 x22: ffffffdbca2c3917 x21: 0000000000000001
[ 13.384896] x20: ffffffdbca9c0620 x19: 0000000000000000 x18: 0000000000000000
[ 13.392242] x17: 0000000000000000 x16: 0000000000000000 x15: 000000000000000a
[ 13.399588] x14: 0000000000000000 x13: 6f27207461206b63 x12: 7574732073757461
[ 13.406938] x11: 656820747563205b x10: 0000000000000027 x9 : ffffffdbc94ef980
[ 13.414283] x8 : 0000000000000027 x7 : 00000000ffffffff x6 : ffffffdbcaadb771
[ 13.421628] x5 : 00000000000affa8 x4 : 000000000000000d x3 : 0000000000000000
[ 13.428971] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffff80809d4100
[ 13.436309] Call trace:
[ 13.438833] clk_branch_toggle+0x118/0x16c
[ 13.443060] clk_branch2_enable+0x24/0x30
[ 13.447199] clk_core_enable+0xe8/0x1b0
[ 13.451152] clk_core_enable_lock+0x2c/0x4c
[ 13.455464] clk_enable+0x20/0x34
[ 13.458884] clk_bulk_enable+0x50/0x9c
[ 13.462750] mdss_runtime_resume+0x74/0x180
[ 13.467063] pm_generic_runtime_resume+0x30/0x44
[ 13.471821] __genpd_runtime_resume+0x30/0x7c
[ 13.476307] genpd_runtime_resume+0x90/0x1c4
[ 13.480705] __rpm_callback+0x4c/0x12c
[ 13.484571] rpm_callback+0x78/0x7c
[ 13.488166] rpm_resume+0x3bc/0x480
[ 13.491759] rpm_resume+0x32c/0x480
[ 13.495353] __pm_runtime_resume+0x78/0xbc
[ 13.499579] pm_runtime_get_sync.isra.0+0x14/0x20
[ 13.504422] __device_attach+0xe0/0x15c
[ 13.508376] device_initial_probe+0x1c/0x28
[ 13.512687] bus_probe_device+0x38/0x9c
[ 13.516641] device_add+0x550/0x730
[ 13.520236] platform_device_add+0xac/0x1e4
[ 13.524546] platform_device_register_full+0xd4/0x128
[ 13.529750] dp_register_audio_driver+0x70/0xa8
[ 13.534422] dp_display_bind+0xd0/0x134
[ 13.538373] component_bind_all+0x128/0x1fc
[ 13.542685] msm_drm_bind+0x270/0x580
[ 13.546463] try_to_bring_up_aggregate_device+0x88/0x1a4
[ 13.551927] __component_add+0xd0/0x124
[ 13.555881] component_add+0x1c/0x28
[ 13.559573] adreno_probe+0x3c/0xc4
[ 13.563167] platform_probe+0x70/0xc0
[ 13.566944] really_probe+0x158/0x298
[ 13.570723] __driver_probe_device+0xc8/0xe0
[ 13.575122] driver_probe_device+0x44/0x100
[ 13.579432] __device_attach_driver+0xb8/0xd8
[ 13.583917] bus_for_each_drv+0xa0/0xc8
[ 13.587870] __device_attach+0xf8/0x15c
[ 13.591823] device_initial_probe+0x1c/0x28
[ 13.596133] bus_probe_device+0x38/0x9c
[ 13.600085] deferred_probe_work_func+0xac/0xc0
[ 13.604752] process_one_work+0x1f0/0x2c4
[ 13.608888] process_scheduled_works+0x4c/0x50
[ 13.613471] worker_thread+0x1f0/0x280
[ 13.617336] kthread+0xe8/0xf8
[ 13.620485] ret_from_fork+0x10/0x20
[ 13.624178] ---[ end trace 0000000000000000 ]---
Full dmesg: dmesg.txt
Full dmesg with clk_ignore_unused=1
: dmesg-clk_ignore_unused.txt