Closed ma0shu closed 8 months ago
Xiaomi-tissot, Display can't work.
[ 50.685537] ------------[ cut here ]------------ [ 50.685626] gcc_venus0_core0_vcodec0_clk status stuck at 'off' [ 50.685886] WARNING: CPU: 0 PID: 684 at drivers/clk/qcom/clk-branch.c:86 clk_branch_wait+0x144/0x15c [ 50.685998] Modules linked in: apr(+) pdr_interface nf_nat(+) wcnss_ctrl venus_dec nf_conntrack nf_defrag_ipv6 venus_enc snd_soc_apq8016_sbc nf_defrag_ipv4 libcrc32c qrtr_smd videobuf2_dma_contig videobuf2_memops crct10dif_ce qcom_q6v5_pas qcom_rng snd_soc_max98927 snd_soc_msm8916_digital qcom_wcnss_pil snd_soc_qcom_common leds_aw2013 edt_ft5x06 snd_soc_msm8916_analog qcom_pon qcom_spmi_vadc qcom_wled qcom_spmi_temp_alarm qcom_vadc_common bmi160_i2c qcom_q6v5_mss ak8975 bmi160_core industrialio_triggered_buffer venus_core qcom_pil_info v4l2_mem2mem videobuf2_v4l2 kfifo_buf qcom_q6v5 videodev qcom_sysmon videobuf2_common rpmsg_ctrl qcom_common qcom_glink_smem qmi_helpers rpmsg_char mc snd_soc_simple_amplifier rmtfs_mem socinfo rfkill usb_f_ecm u_ether libcomposite qrtr fuse ip_tables x_tables ipv6 msm mdt_loader llcc_qcom ocmem gpu_sched drm_dp_aux_bus rtc_pm8xxx drm_display_helper drm_kms_helper drm backlight i2c_gpio [ 50.686410] CPU: 0 PID: 684 Comm: v4l_id Tainted: G W 6.6.0-ga5adadd131b0 #3 [ 50.686425] Hardware name: Xiaomi Mi A1 (DT) [ 50.686439] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 50.686449] pc : clk_branch_wait+0x144/0x15c [ 50.686459] lr : clk_branch_wait+0x144/0x15c [ 50.686469] sp : ffff8000833aba30 [ 50.686476] x29: ffff8000833aba30 x28: ffff000011cbbb00 x27: 0000000000000000 [ 50.686488] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 50.686499] x23: ffff800081a20a10 x22: 0000000000000001 x21: ffff8000807c0270 [ 50.686508] x20: 0000000000000000 x19: ffff8000826954a8 x18: 0000000000000040 [ 50.686517] x17: 0000000000000000 x16: 0000000000000000 x15: fffffffffffe8ff0 [ 50.686527] x14: ffff8000824dff58 x13: 00000000000005e5 x12: 00000000000001f7 [ 50.686537] x11: fffffffffffe8ff0 x10: fffffffffffe8fb0 x9 : 00000000fffff1f7 [ 50.686548] x8 : ffff8000824dff58 x7 : ffff800082537f58 x6 : 0000000000001794 [ 50.686560] x5 : ffff0000f9b52c88 x4 : 0000000000000000 x3 : 0000000000000027 [ 50.686569] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000011cbbb00 [ 50.686586] Call trace: [ 50.686601] clk_branch_wait+0x144/0x15c [ 50.686614] clk_branch2_enable+0x30/0x40 [ 50.686627] clk_core_enable+0x6c/0xbc [ 50.686648] clk_enable+0x2c/0x4c [ 50.686660] vcodec_clks_enable.isra.0+0x94/0xd8 [venus_core] [ 50.686869] venc_power_v3+0x9c/0xa0 [venus_core] [ 50.686894] venc_runtime_resume+0x24/0x38 [venus_enc] [ 50.686929] pm_generic_runtime_resume+0x2c/0x44 [ 50.686956] genpd_runtime_resume+0x30/0xa8 [ 50.686976] genpd_runtime_resume+0xb4/0x29c [ 50.686993] rpm_callback+0x48/0x198 [ 50.687010] rpm_callback+0x6c/0x78 [ 50.687018] rpm_resume+0x3ac/0x654 [ 50.687025] pm_runtime_resume+0x4c/0x90 [ 50.687036] venc_pm_get.isra.0+0x38/0xb8 [venus_enc] [ 50.687048] venc_close+0x28/0xa4 [venus_enc] [ 50.687057] v4l2_release+0xe4/0xec [videodev] [ 50.687455] fput+0xb4/0x274 [ 50.687485] __fput_sync+0x50/0x5c [ 50.687491] __arm64_sys_close+0x38/0x7c [ 50.687505] invoke_syscall+0x48/0x114 [ 50.687538] el0_svc_common.constprop.0+0xc0/0xe0 [ 50.687549] do_el0_svc+0x1c/0x28 [ 50.687556] el0_svc+0x40/0xf4 [ 50.687592] el0t_64_sync_handler+0xc0/0xc4 [ 50.687598] el0t_64_sync+0x190/0x194 [ 50.687625] ---[ end trace 0000000000000000 ]--- [ 50.688774] qcom-venus-encoder 1d00000.venus:video-encoder: Runtime PM usage count underflow!
Xiaomi-tissot, Display can't work.
[ 50.685537] ------------[ cut here ]------------ [ 50.685626] gcc_venus0_core0_vcodec0_clk status stuck at 'off' [ 50.685886] WARNING: CPU: 0 PID: 684 at drivers/clk/qcom/clk-branch.c:86 clk_branch_wait+0x144/0x15c [ 50.685998] Modules linked in: apr(+) pdr_interface nf_nat(+) wcnss_ctrl venus_dec nf_conntrack nf_defrag_ipv6 venus_enc snd_soc_apq8016_sbc nf_defrag_ipv4 libcrc32c qrtr_smd videobuf2_dma_contig videobuf2_memops crct10dif_ce qcom_q6v5_pas qcom_rng snd_soc_max98927 snd_soc_msm8916_digital qcom_wcnss_pil snd_soc_qcom_common leds_aw2013 edt_ft5x06 snd_soc_msm8916_analog qcom_pon qcom_spmi_vadc qcom_wled qcom_spmi_temp_alarm qcom_vadc_common bmi160_i2c qcom_q6v5_mss ak8975 bmi160_core industrialio_triggered_buffer venus_core qcom_pil_info v4l2_mem2mem videobuf2_v4l2 kfifo_buf qcom_q6v5 videodev qcom_sysmon videobuf2_common rpmsg_ctrl qcom_common qcom_glink_smem qmi_helpers rpmsg_char mc snd_soc_simple_amplifier rmtfs_mem socinfo rfkill usb_f_ecm u_ether libcomposite qrtr fuse ip_tables x_tables ipv6 msm mdt_loader llcc_qcom ocmem gpu_sched drm_dp_aux_bus rtc_pm8xxx drm_display_helper drm_kms_helper drm backlight i2c_gpio [ 50.686410] CPU: 0 PID: 684 Comm: v4l_id Tainted: G W 6.6.0-ga5adadd131b0 #3 [ 50.686425] Hardware name: Xiaomi Mi A1 (DT) [ 50.686439] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 50.686449] pc : clk_branch_wait+0x144/0x15c [ 50.686459] lr : clk_branch_wait+0x144/0x15c [ 50.686469] sp : ffff8000833aba30 [ 50.686476] x29: ffff8000833aba30 x28: ffff000011cbbb00 x27: 0000000000000000 [ 50.686488] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 [ 50.686499] x23: ffff800081a20a10 x22: 0000000000000001 x21: ffff8000807c0270 [ 50.686508] x20: 0000000000000000 x19: ffff8000826954a8 x18: 0000000000000040 [ 50.686517] x17: 0000000000000000 x16: 0000000000000000 x15: fffffffffffe8ff0 [ 50.686527] x14: ffff8000824dff58 x13: 00000000000005e5 x12: 00000000000001f7 [ 50.686537] x11: fffffffffffe8ff0 x10: fffffffffffe8fb0 x9 : 00000000fffff1f7 [ 50.686548] x8 : ffff8000824dff58 x7 : ffff800082537f58 x6 : 0000000000001794 [ 50.686560] x5 : ffff0000f9b52c88 x4 : 0000000000000000 x3 : 0000000000000027 [ 50.686569] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000011cbbb00 [ 50.686586] Call trace: [ 50.686601] clk_branch_wait+0x144/0x15c [ 50.686614] clk_branch2_enable+0x30/0x40 [ 50.686627] clk_core_enable+0x6c/0xbc [ 50.686648] clk_enable+0x2c/0x4c [ 50.686660] vcodec_clks_enable.isra.0+0x94/0xd8 [venus_core] [ 50.686869] venc_power_v3+0x9c/0xa0 [venus_core] [ 50.686894] venc_runtime_resume+0x24/0x38 [venus_enc] [ 50.686929] pm_generic_runtime_resume+0x2c/0x44 [ 50.686956] genpd_runtime_resume+0x30/0xa8 [ 50.686976] genpd_runtime_resume+0xb4/0x29c [ 50.686993] rpm_callback+0x48/0x198 [ 50.687010] rpm_callback+0x6c/0x78 [ 50.687018] rpm_resume+0x3ac/0x654 [ 50.687025] pm_runtime_resume+0x4c/0x90 [ 50.687036] venc_pm_get.isra.0+0x38/0xb8 [venus_enc] [ 50.687048] venc_close+0x28/0xa4 [venus_enc] [ 50.687057] v4l2_release+0xe4/0xec [videodev] [ 50.687455] fput+0xb4/0x274 [ 50.687485] __fput_sync+0x50/0x5c [ 50.687491] __arm64_sys_close+0x38/0x7c [ 50.687505] invoke_syscall+0x48/0x114 [ 50.687538] el0_svc_common.constprop.0+0xc0/0xe0 [ 50.687549] do_el0_svc+0x1c/0x28 [ 50.687556] el0_svc+0x40/0xf4 [ 50.687592] el0t_64_sync_handler+0xc0/0xc4 [ 50.687598] el0t_64_sync+0x190/0x194 [ 50.687625] ---[ end trace 0000000000000000 ]--- [ 50.688774] qcom-venus-encoder 1d00000.venus:video-encoder: Runtime PM usage count underflow!