[ 633.073620] [drm:lima_sched_timedout_job] *ERROR* lima job timeout [ 638.318177] lima 1c40000.gpu: gp task error int_state=0 status=0 [ 638.324417] ------------[ cut here ]------------ [ 638.329256] WARNING: CPU: 3 PID: 114 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xbc/0xd0 [ 638.340484] Modules linked in: qmi_wwan(E) option(E) usb_wwan(E) cdc_wdm(E) usbnet(E) usbserial(E) mii(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) lz4(E) lz4_compress(E) zram(E) zsmalloc(E) usb_f_ecm(E) u_ether(E) libcomposite(E) joydev(E) hci_uart(E) btrtl(E) btbcm(E) bluetooth(E) st_magn_spi(E) st_sensors_spi(E) 8723cs(CE) jitterentropy_rng(E) axp20x_adc(E) regmap_spi(E) ecb(E) sha512_generic(E) axp20x_pek(E) des_generic(E) libdes(E) sha512_arm64(E) cbc(E) ghash_ce(E) axp20x_battery(E) drbg(E) ansi_cprng(E) gf128mul(E) sha2_ce(E) st_magn_i2c(E) aes_neon_bs(E) cfg80211(E) aes_neon_blk(E) sha1_ce(E) st_magn(E) st_sensors_i2c(E) inv_mpu6050_i2c(E) goodix_ts(E) inv_mpu6050(E) af8133j(E) st_sensors(E) stk3310(E) industrialio_triggered_buffer(E) kfifo_buf(E) aes_ce_blk(E) ecdh_generic(E) gpio_vibra(E) sun50i_codec_analog(E) snd_soc_hdmi_codec(E) binfmt_misc(E) rfkill(E) snd_soc_simple_card(E) sun8i_adda_pr_regmap(E) ecc(E) sun6i_csi(E) sun8i_di(E) snd_soc_simple_card_utils(E) [ 638.340769] sun8i_ce(E) sun8i_a33_mbus(E) sunxi_cedrus(CE) crypto_engine(E) sun8i_rotate(E) sun8i_codec(E) sun4i_i2s(E) rng_core(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) videobuf2_memops(E) snd_soc_ec25(E) snd_soc_simple_amplifier(E) videobuf2_v4l2(E) snd_soc_bt_sco(E) gc2145(E) snd_soc_core(E) videobuf2_common(E) ov5640(E) leds_sgm3140(E) v4l2_fwnode(E) v4l2_flash_led_class(E) v4l2_async(E) videodev(E) snd_pcm_dmaengine(E) snd_pcm(E) mc(E) snd_timer(E) snd(E) leds_gpio(E) soundcore(E) evdev(E) ledtrig_pattern(E) fuse(E) configfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) dw_hdmi_i2s_audio(E) dw_hdmi_cec(E) sunxi(E) phy_generic(E) axp20x_usb_power(E) industrialio(E) pinephone_keyboard(E) crc8(E) matrix_keymap(E) musb_hdrc(E) sun4i_lradc_keys(E) udc_core(E) arm_scpi(E) [ 638.500175] CPU: 3 PID: 114 Comm: kworker/3:3 Tainted: G C E 6.1-sunxi64 #1 [ 638.508349] Hardware name: Pine64 PinePhone (1.2) (DT) [ 638.513709] Workqueue: events drm_sched_job_timedout [ 638.519234] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 638.526191] pc : lima_devfreq_record_idle+0xbc/0xd0 [ 638.531229] lr : lima_devfreq_record_idle+0x54/0xd0 [ 638.536109] sp : ffffffc00a61bcb0 [ 638.539421] x29: ffffffc00a61bcb0 x28: ffffff80bf9952c0 x27: ffffff8002052b00 [ 638.546559] x26: ffffff8002052b74 x25: ffffff80bf999205 x24: ffffff800183c518 [ 638.553695] x23: ffffff8005898700 x22: ffffff800183c408 x21: ffffffc00947b000 [ 638.560831] x20: 0000000000000000 x19: ffffff800183c9f0 x18: 0000000000000006 [ 638.567967] x17: 0000000000000000 x16: 0000000000000000 x15: ffffffc00a61b6d0 [ 638.575102] x14: 0000000000000000 x13: 303d737574617473 x12: 20303d6574617473 [ 638.582237] x11: 00000000ffffefff x10: ffffffc0092ce458 x9 : ffffffc0081411d4 [ 638.589372] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000399eb6b17 [ 638.596509] x5 : 00ffffffffffffff x4 : 0036ec650b2f5e1f x3 : 000000948c56e432 [ 638.603645] x2 : ffffff6b73a94b01 x1 : 00000000ffffffff x0 : 00000000005e46f0 [ 638.610783] Call trace: [ 638.613229] lima_devfreq_record_idle+0xbc/0xd0 [ 638.617947] lima_sched_timedout_job+0xbc/0x4b0 [ 638.622998] drm_sched_job_timedout+0xa8/0x184 [ 638.627442] process_one_work+0x1ec/0x430 [ 638.631454] worker_thread+0x180/0x4a0 [ 638.635206] kthread+0xdc/0xe0 [ 638.638274] ret_from_fork+0x10/0x20 [ 638.641858] ---[ end trace 0000000000000000 ]--- [ 638.646615] lima 1c40000.gpu: Runtime PM usage count underflow! [ 638.652850] ------------[ cut here ]------------ [ 638.657476] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xbc/0xd0 [ 638.667657] Modules linked in: qmi_wwan(E) option(E) usb_wwan(E) cdc_wdm(E) usbnet(E) usbserial(E) mii(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) lz4(E) lz4_compress(E) zram(E) zsmalloc(E) usb_f_ecm(E) u_ether(E) libcomposite(E) joydev(E) hci_uart(E) btrtl(E) btbcm(E) bluetooth(E) st_magn_spi(E) st_sensors_spi(E) 8723cs(CE) jitterentropy_rng(E) axp20x_adc(E) regmap_spi(E) ecb(E) sha512_generic(E) axp20x_pek(E) des_generic(E) libdes(E) sha512_arm64(E) cbc(E) ghash_ce(E) axp20x_battery(E) drbg(E) ansi_cprng(E) gf128mul(E) sha2_ce(E) st_magn_i2c(E) aes_neon_bs(E) cfg80211(E) aes_neon_blk(E) sha1_ce(E) st_magn(E) st_sensors_i2c(E) inv_mpu6050_i2c(E) goodix_ts(E) inv_mpu6050(E) af8133j(E) st_sensors(E) stk3310(E) industrialio_triggered_buffer(E) kfifo_buf(E) aes_ce_blk(E) ecdh_generic(E) gpio_vibra(E) sun50i_codec_analog(E) snd_soc_hdmi_codec(E) binfmt_misc(E) rfkill(E) snd_soc_simple_card(E) sun8i_adda_pr_regmap(E) ecc(E) sun6i_csi(E) sun8i_di(E) snd_soc_simple_card_utils(E) [ 638.667919] sun8i_ce(E) sun8i_a33_mbus(E) sunxi_cedrus(CE) crypto_engine(E) sun8i_rotate(E) sun8i_codec(E) sun4i_i2s(E) rng_core(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) videobuf2_memops(E) snd_soc_ec25(E) snd_soc_simple_amplifier(E) videobuf2_v4l2(E) snd_soc_bt_sco(E) gc2145(E) snd_soc_core(E) videobuf2_common(E) ov5640(E) leds_sgm3140(E) v4l2_fwnode(E) v4l2_flash_led_class(E) v4l2_async(E) videodev(E) snd_pcm_dmaengine(E) snd_pcm(E) mc(E) snd_timer(E) snd(E) leds_gpio(E) soundcore(E) evdev(E) ledtrig_pattern(E) fuse(E) configfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) dw_hdmi_i2s_audio(E) dw_hdmi_cec(E) sunxi(E) phy_generic(E) axp20x_usb_power(E) industrialio(E) pinephone_keyboard(E) crc8(E) matrix_keymap(E) musb_hdrc(E) sun4i_lradc_keys(E) udc_core(E) arm_scpi(E) [ 638.827280] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G WC E 6.1-sunxi64 #1 [ 638.835104] Hardware name: Pine64 PinePhone (1.2) (DT) [ 638.840236] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 638.847191] pc : lima_devfreq_record_idle+0xbc/0xd0 [ 638.852070] lr : lima_devfreq_record_idle+0x54/0xd0 [ 638.856947] sp : ffffffc008003ea0 [ 638.860257] x29: ffffffc008003ea0 x28: ffffffc0092575c0 x27: ffffffc008cdb8f8 [ 638.867390] x26: ffffffc008f18008 x25: ffffff8002061c00 x24: ffffffc008f18008 [ 638.874524] x23: ffffffc00924ea10 x22: ffffff8005898100 x21: ffffff800183c408 [ 638.881658] x20: 00000000000000c0 x19: ffffff800183c9f0 x18: 0000000000000000 [ 638.888791] x17: ffffffc0b6a14000 x16: ffffffc008004000 x15: 0000000000004000 [ 638.895925] x14: 0000000000000001 x13: 0000000000000000 x12: ffffffc00924eac0 [ 638.903057] x11: 0000000000000001 x10: 0000000000000b00 x9 : ffffffc0081411d4 [ 638.910189] x8 : ffffffc009258120 x7 : 0000000000000000 x6 : 000000039a650017 [ 638.917322] x5 : 00ffffffffffffff x4 : 000f1b8f62104987 x3 : 00000094a0475114 [ 638.924455] x2 : ffffff6b5fb8d1eb x1 : 00000000ffffffff x0 : 000000000001bec8 [ 638.931588] Call trace: [ 638.934032] lima_devfreq_record_idle+0xbc/0xd0 [ 638.938565] lima_sched_pipe_task_done+0x5c/0xb0 [ 638.943182] lima_gp_irq_handler+0xb4/0x140 [ 638.947365] __handle_irq_event_percpu+0x58/0x1b4 [ 638.952070] handle_irq_event+0x4c/0xf0 [ 638.955904] handle_fasteoi_irq+0xc4/0x1c0 [ 638.960002] generic_handle_domain_irq+0x30/0x4c [ 638.964617] gic_handle_irq+0x60/0x90 [ 638.968279] call_on_irq_stack+0x2c/0x44 [ 638.972202] do_interrupt_handler+0x80/0x8c [ 638.976385] el1_interrupt+0x30/0x50 [ 638.979964] el1h_64_irq_handler+0x14/0x20 [ 638.984061] el1h_64_irq+0x68/0x6c [ 638.987460] arch_cpu_idle+0x14/0x20 [ 638.991033] default_idle_call+0x50/0x11c [ 638.995045] do_idle+0x240/0x2b0 [ 638.998275] cpu_startup_entry+0x2c/0x30 [ 639.002197] kernel_init+0x0/0x12c [ 639.005596] arch_post_acpi_subsys_init+0x0/0x18 [ 639.010213] start_kernel+0x6b8/0x6f4 [ 639.013874] __primary_switched+0xbc/0xc4 [ 639.017882] ---[ end trace 0000000000000000 ]--- [ 639.027945] ------------[ cut here ]------------ [ 639.032580] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xbc/0xd0 [ 639.042760] Modules linked in: qmi_wwan(E) option(E) usb_wwan(E) cdc_wdm(E) usbnet(E) usbserial(E) mii(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) lz4(E) lz4_compress(E) zram(E) zsmalloc(E) usb_f_ecm(E) u_ether(E) libcomposite(E) joydev(E) hci_uart(E) btrtl(E) btbcm(E) bluetooth(E) st_magn_spi(E) st_sensors_spi(E) 8723cs(CE) jitterentropy_rng(E) axp20x_adc(E) regmap_spi(E) ecb(E) sha512_generic(E) axp20x_pek(E) des_generic(E) libdes(E) sha512_arm64(E) cbc(E) ghash_ce(E) axp20x_battery(E) drbg(E) ansi_cprng(E) gf128mul(E) sha2_ce(E) st_magn_i2c(E) aes_neon_bs(E) cfg80211(E) aes_neon_blk(E) sha1_ce(E) st_magn(E) st_sensors_i2c(E) inv_mpu6050_i2c(E) goodix_ts(E) inv_mpu6050(E) af8133j(E) st_sensors(E) stk3310(E) industrialio_triggered_buffer(E) kfifo_buf(E) aes_ce_blk(E) ecdh_generic(E) gpio_vibra(E) sun50i_codec_analog(E) snd_soc_hdmi_codec(E) binfmt_misc(E) rfkill(E) snd_soc_simple_card(E) sun8i_adda_pr_regmap(E) ecc(E) sun6i_csi(E) sun8i_di(E) snd_soc_simple_card_utils(E) [ 639.043018] sun8i_ce(E) [ 639.128546] ------------[ cut here ]------------ [ 639.129702] sun8i_a33_mbus(E) sunxi_cedrus(CE) crypto_engine(E) sun8i_rotate(E) sun8i_codec(E) [ 639.132245] [CRTC:49:crtc-0] vblank wait timed out [ 639.136850] sun4i_i2s(E) rng_core(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) videobuf2_memops(E) snd_soc_ec25(E) [ 639.145608] WARNING: CPU: 3 PID: 9 at drivers/gpu/drm/drm_atomic_helper.c:1642 drm_atomic_helper_wait_for_vblanks.part.0+0x244/0x270 [ 639.150319] snd_soc_simple_amplifier(E) [ 639.160559] Modules linked in: [ 639.172443] videobuf2_v4l2(E) [ 639.176355] qmi_wwan(E) [ 639.179400] snd_soc_bt_sco(E) [ 639.182444] option(E) [ 639.184968] gc2145(E) [ 639.188013] usb_wwan(E) [ 639.190365] snd_soc_core(E) [ 639.192716] cdc_wdm(E) [ 639.195241] videobuf2_common(E) [ 639.198113] usbnet(E) [ 639.200551] ov5640(E) [ 639.203769] usbserial(E) [ 639.206121] leds_sgm3140(E) [ 639.208473] mii(E) [ 639.211084] v4l2_fwnode(E) [ 639.213955] algif_hash(E) [ 639.216047] v4l2_flash_led_class(E) [ 639.218833] algif_skcipher(E) [ 639.221531] v4l2_async(E) [ 639.225096] af_alg(E) [ 639.228141] videodev(E) [ 639.230838] bnep(E) [ 639.233190] snd_pcm_dmaengine(E) [ 639.235714] lz4(E) [ 639.237892] snd_pcm(E) [ 639.241196] lz4_compress(E) [ 639.243288] mc(E) [ 639.245727] zram(E) [ 639.248597] snd_timer(E) [ 639.250603] zsmalloc(E) [ 639.252781] snd(E) [ 639.255392] usb_f_ecm(E) [ 639.257917] leds_gpio(E) [ 639.260009] u_ether(E) [ 639.262621] soundcore(E) [ 639.265231] libcomposite(E) [ 639.267670] evdev(E) [ 639.270281] joydev(E) [ 639.273153] ledtrig_pattern(E) [ 639.275418] hci_uart(E) [ 639.277769] fuse(E) [ 639.280900] btrtl(E) [ 639.283426] configfs(E) [ 639.285604] btbcm(E) [ 639.287869] ip_tables(E) [ 639.290394] bluetooth(E) [ 639.292660] x_tables(E) [ 639.295270] st_magn_spi(E) [ 639.297881] autofs4(E) [ 639.300406] st_sensors_spi(E) [ 639.303191] ext4(E) [ 639.305628] 8723cs(CE) [ 639.308674] crc32c_generic(E) [ 639.310851] jitterentropy_rng(E) [ 639.313290] crc16(E) [ 639.316335] axp20x_adc(E) [ 639.319639] mbcache(E) [ 639.321904] regmap_spi(E) [ 639.324602] jbd2(E) [ 639.327040] ecb(E) [ 639.329739] dw_hdmi_i2s_audio(E) [ 639.331917] sha512_generic(E) [ 639.334008] dw_hdmi_cec(E) [ 639.337313] axp20x_pek(E) [ 639.340359] sunxi(E) [ 639.343144] des_generic(E) [ 639.345842] phy_generic(E) [ 639.348107] libdes(E) [ 639.350892] axp20x_usb_power(E) [ 639.353677] sha512_arm64(E) [ 639.356028] industrialio(E) [ 639.359246] cbc(E) [ 639.362117] pinephone_keyboard(E) [ 639.364988] ghash_ce(E) [ 639.367080] crc8(E) [ 639.370470] axp20x_battery(E) [ 639.372995] matrix_keymap(E) [ 639.375172] drbg(E) [ 639.378216] musb_hdrc(E) [ 639.381174] ansi_cprng(E) [ 639.383352] sun4i_lradc_keys(E) [ 639.385964] gf128mul(E) [ 639.388662] udc_core(E) [ 639.391880] sha2_ce(E) [ 639.394405] arm_scpi(E) [ 639.396930] st_magn_i2c(E) [ 639.401892] aes_neon_bs(E) [ 639.404680] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G WC E 6.1-sunxi64 #1 [ 639.406162] cfg80211(E) [ 639.408946] Hardware name: Pine64 PinePhone (1.2) (DT) [ 639.416758] aes_neon_blk(E) [ 639.419284] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 639.424407] sha1_ce(E) [ 639.427278] pc : lima_devfreq_record_idle+0xbc/0xd0 [ 639.434224] st_magn(E) [ 639.436662] lr : lima_devfreq_record_idle+0x54/0xd0 [ 639.441527] st_sensors_i2c(E) [ 639.443964] sp : ffffffc008003eb0 [ 639.448829] inv_mpu6050_i2c(E) [ 639.451873] x29: ffffffc008003eb0 [ 639.455178] goodix_ts(E) [ 639.458309] x28: ffffffc0092575c0 [ 639.461613] inv_mpu6050(E) [ 639.464224] x27: ffffffc008cdb8f8 [ 639.467617] af8133j(E) [ 639.473793] st_sensors(E) [ 639.476231] x26: ffffffc008f18008 [ 639.477716] stk3310(E) [ 639.480414] x25: ffffff8002061400 [ 639.483718] industrialio_triggered_buffer(E) [ 639.486156] x24: ffffffc008f18008 [ 639.489548] kfifo_buf(E) [ 639.497283] aes_ce_blk(E) [ 639.499894] x23: ffffffc00924ea10 [ 639.501378] ecdh_generic(E) [ 639.504076] x22: 0000000000000019 [ 639.507381] gpio_vibra(E) [ 639.510253] x21: 0000000000000000 [ 639.513644] sun50i_codec_analog(E) [ 639.519733] snd_soc_hdmi_codec(E) [ 639.523211] x20: 00000000000000c0 [ 639.524696] binfmt_misc(E) [ 639.528087] x19: ffffff800183c9f0 [ 639.531391] rfkill(E) [ 639.534176] x18: 0000000000003000 [ 639.537568] snd_soc_simple_card(E) [ 639.543312] sun8i_adda_pr_regmap(E) [ 639.546789] x17: ffffffc0b6a14000 [ 639.548274] ecc(E) [ 639.551838] x16: ffffffc008004000 [ 639.555144] sun6i_csi(E) [ 639.557235] x15: 0000000000004000 [ 639.560627] sun8i_di(E) [ 639.566630] snd_soc_simple_card_utils(E) [ 639.569155] x14: ffffff8002c6bae0 [ 639.570641] sun8i_ce(E) [ 639.574640] x13: ffffffc008d956a0 [ 639.577946] sun8i_a33_mbus(E) [ 639.580469] x12: ffffffc00924eac0 [ 639.583862] sunxi_cedrus(CE) [ 639.590298] crypto_engine(E) [ 639.593256] x11: 0000000000000001 [ 639.594742] sun8i_rotate(E) [ 639.597698] x10: 0000000000000001 [ 639.601004] sun8i_codec(E) [ 639.603875] x9 : ffffffc0081411d4 [ 639.607267] sun4i_i2s(E) [ 639.613443] rng_core(E) [ 639.616053] x8 : ffffffc008003aa0 [ 639.617539] v4l2_mem2mem(E) [ 639.620063] x7 : 0000000100014ac8 [ 639.623367] videobuf2_dma_contig(E) [ 639.626239] x6 : 000000039aed3b17 [ 639.629631] videobuf2_memops(E) [ 639.636586] snd_soc_ec25(E) [ 639.639804] x5 : 00ffffffffffffff [ 639.641289] snd_soc_simple_amplifier(E) [ 639.644161] x4 : 002547ded8ffe799 [ 639.647466] videobuf2_v4l2(E) [ 639.651376] x3 : 00000094b6557f98 [ 639.654767] snd_soc_bt_sco(E) [ 639.661204] gc2145(E) [ 639.664248] x2 : ffffff6b49aa8068 [ 639.665734] snd_soc_core(E) [ 639.668084] x1 : 00000000ffffffff [ 639.671391] videobuf2_common(E) [ 639.674262] x0 : 00000000004f076e [ 639.677654] ov5640(E) [ 639.684264] leds_sgm3140(E) [ 639.686616] Call trace: [ 639.688100] v4l2_fwnode(E) [ 639.690972] lima_devfreq_record_idle+0xbc/0xd0 [ 639.693410] v4l2_flash_led_class(E) [ 639.696196] lima_sched_pipe_task_done+0x5c/0xb0 [ 639.700713] v4l2_async(E) [ 639.704279] lima_pp_irq_handler+0x94/0xa0 [ 639.708884] videodev(E) [ 639.711582] __handle_irq_event_percpu+0x58/0x1b4 [ 639.715667] snd_pcm_dmaengine(E) [ 639.718192] handle_irq_event+0x4c/0xf0 [ 639.722883] snd_pcm(E) [ 639.726186] handle_fasteoi_irq+0xc4/0x1c0 [ 639.730012] mc(E) [ 639.732450] generic_handle_domain_irq+0x30/0x4c [ 639.736534] snd_timer(E) [ 639.738539] gic_handle_irq+0x60/0x90 [ 639.743144] snd(E) [ 639.745756] call_on_irq_stack+0x2c/0x44 [ 639.749407] leds_gpio(E) [ 639.751499] do_interrupt_handler+0x80/0x8c [ 639.755410] soundcore(E) [ 639.758022] el1_interrupt+0x30/0x50 [ 639.762194] evdev(E) [ 639.764805] el1h_64_irq_handler+0x14/0x20 [ 639.768370] ledtrig_pattern(E) [ 639.770635] el1h_64_irq+0x68/0x6c [ 639.774719] fuse(E) [ 639.777850] arch_cpu_idle+0x14/0x20 [ 639.781242] configfs(E) [ 639.783420] default_idle_call+0x50/0x11c [ 639.786985] ip_tables(E) [ 639.789509] do_idle+0x240/0x2b0 [ 639.793507] x_tables(E) [ 639.796119] cpu_startup_entry+0x28/0x30 [ 639.799338] autofs4(E) [ 639.801863] kernel_init+0x0/0x12c [ 639.805774] ext4(E) [ 639.808212] arch_post_acpi_subsys_init+0x0/0x18 [ 639.811604] crc32c_generic(E) [ 639.813782] start_kernel+0x6b8/0x6f4 [ 639.818387] crc16(E) [ 639.821432] __primary_switched+0xbc/0xc4 [ 639.825084] mbcache(E) [ 639.827348] ---[ end trace 0000000000000000 ]--- [ 639.831345] jbd2(E) [ 639.834006] [drm:lima_sched_timedout_job] *ERROR* lima job timeout [ 639.838445] dw_hdmi_i2s_audio(E) dw_hdmi_cec(E) sunxi(E) phy_generic(E) axp20x_usb_power(E) industrialio(E) pinephone_keyboard(E) crc8(E) matrix_keymap(E) musb_hdrc(E) sun4i_lradc_keys(E) udc_core(E) arm_scpi(E) [ 639.840062] CPU: 3 PID: 9 Comm: kworker/u8:0 Tainted: G WC E 6.1-sunxi64 #1 [ 639.841062] ------------[ cut here ]------------ [ 639.841251] WARNING: CPU: 0 PID: 66 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xbc/0xd0 [ 639.842028] Modules linked in: qmi_wwan(E) option(E) usb_wwan(E) cdc_wdm(E) usbnet(E) [ 639.848856] Hardware name: Pine64 PinePhone (1.2) (DT) [ 639.857559] lima 1c40000.gpu: pp task error 0 int_state=0 status=0 [ 639.858000] lima 1c40000.gpu: pp task error 1 int_state=0 status=0 [ 639.867892] usbserial(E) [ 639.876130] Workqueue: events_unbound commit_work [ 639.880828] mii(E) [ 639.899145] algif_hash(E) [ 639.904397] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 639.910678] algif_skcipher(E) [ 639.916962] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x244/0x270 [ 639.919699] af_alg(E) [ 639.924504] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x244/0x270 [ 639.926726] bnep(E) [ 639.928309] sp : ffffffc0094fbcb0 [ 639.931141] lz4(E) [ 639.938191] x29: ffffffc0094fbcb0 [ 639.941364] lz4_compress(E) [ 639.947985] x28: 0000000000008f4e [ 639.950477] zram(E) [ 639.957097] x27: 0000000000000000 [ 639.959406] zsmalloc(E) [ 639.965044] usb_f_ecm(E) [ 639.968456] x26: 0000000000000001 [ 639.971460] u_ether(E) [ 639.974946] x25: 0000000000000038 [ 639.977251] libcomposite(E) [ 639.980751] x24: 0000000000000000 [ 639.983404] joydev(E) [ 639.987731] hci_uart(E) [ 639.991137] x23: ffffff80070b0000 [ 639.993702] btrtl(E) [ 639.997194] x22: 0000000000000001 [ 640.000193] btbcm(E) [ 640.003690] x21: ffffff80070b6880 [ 640.006172] bluetooth(E) [ 640.010411] st_magn_spi(E) [ 640.013821] x20: ffffff802d541100 [ 640.016215] st_sensors_spi(E) [ 640.019715] x19: 0000000000000000 [ 640.022106] 8723cs(CE) [ 640.025593] x18: 0000000000000006 [ 640.028336] jitterentropy_rng(E) [ 640.032834] axp20x_adc(E) [ 640.036236] x17: 7461746f725f6938 [ 640.039409] regmap_spi(E) [ 640.042891] x16: 6e75732029452865 [ 640.045453] ecb(E) [ 640.048949] x15: 6e69676e655f6f74 [ 640.052378] sha512_generic(E) [ 640.056799] axp20x_pek(E) [ 640.060213] x14: 7079726320294543 [ 640.063045] des_generic(E) [ 640.066531] x13: 2945286365646f63 [ 640.068755] libdes(E) [ 640.072243] x12: 5f69386e75732029 [ 640.075458] sha512_arm64(E) [ 640.079889] cbc(E) [ 640.083311] x11: 4528657461746f72 [ 640.086223] ghash_ce(E) [ 640.089722] x10: 5f69386e75732029 [ 640.092221] axp20x_battery(E) [ 640.095736] x9 : ffffffc0081e1d1c [ 640.098748] drbg(E) [ 640.102571] ansi_cprng(E) [ 640.105998] x8 : 69786e7573202945 [ 640.108663] gf128mul(E) [ 640.112153] x7 : 205d323037393231 [ 640.115348] sha2_ce(E) [ 640.118852] x6 : 0000000000000001 [ 640.121154] st_magn_i2c(E) [ 640.122838] x5 : 0000000000000000 [ 640.125599] aes_neon_bs(E) [ 640.129014] x4 : 0000000000000000 [ 640.131676] cfg80211(E) [ 640.135184] x3 : 0000000000000000 [ 640.137743] aes_neon_blk(E) [ 640.144145] sha1_ce(E) [ 640.145735] x2 : 0000000000000000 [ 640.149177] st_magn(E) [ 640.152060] x1 : 0000000000000000 [ 640.155581] st_sensors_i2c(E) [ 640.158210] x0 : ffffff80019d0f00 [ 640.161725] inv_mpu6050_i2c(E) [ 640.166316] goodix_ts(E) [ 640.168880] Call trace: [ 640.172303] inv_mpu6050(E) [ 640.174861] drm_atomic_helper_wait_for_vblanks.part.0+0x244/0x270 [ 640.178351] af8133j(E) [ 640.181534] drm_atomic_helper_commit_tail_rpm+0x88/0xa0 [ 640.185030] st_sensors(E) [ 640.188280] commit_tail+0xa4/0x170 [ 640.189886] stk3310(E) [ 640.192612] commit_work+0x18/0x20 [ 640.195175] industrialio_triggered_buffer(E) [ 640.198084] process_one_work+0x1ec/0x430 [ 640.204366] kfifo_buf(E) [ 640.206914] worker_thread+0x180/0x4a0 [ 640.212339] aes_ce_blk(E) [ 640.215150] kthread+0xdc/0xe0 [ 640.218750] ecdh_generic(E) [ 640.221296] ret_from_fork+0x10/0x20 [ 640.224813] gpio_vibra(E) [ 640.229272] ---[ end trace 0000000000000000 ]--- [ 640.233387] sun50i_codec_analog(E) snd_soc_hdmi_codec(E) binfmt_misc(E) rfkill(E) snd_soc_simple_card(E) sun8i_adda_pr_regmap(E) ecc(E) sun6i_csi(E) sun8i_di(E) snd_soc_simple_card_utils(E) sun8i_ce(E) sun8i_a33_mbus(E) sunxi_cedrus(CE) crypto_engine(E) sun8i_rotate(E) sun8i_codec(E) sun4i_i2s(E) rng_core(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) videobuf2_memops(E) snd_soc_ec25(E) snd_soc_simple_amplifier(E) videobuf2_v4l2(E) snd_soc_bt_sco(E) gc2145(E) snd_soc_core(E) videobuf2_common(E) ov5640(E) leds_sgm3140(E) v4l2_fwnode(E) v4l2_flash_led_class(E) v4l2_async(E) videodev(E) snd_pcm_dmaengine(E) snd_pcm(E) mc(E) snd_timer(E) snd(E) leds_gpio(E) soundcore(E) evdev(E) ledtrig_pattern(E) fuse(E) configfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) dw_hdmi_i2s_audio(E) dw_hdmi_cec(E) sunxi(E) phy_generic(E) axp20x_usb_power(E) industrialio(E) pinephone_keyboard(E) crc8(E) matrix_keymap(E) musb_hdrc(E) sun4i_lradc_keys(E) udc_core(E) [ 640.302300] arm_scpi(E) [ 640.392608] CPU: 0 PID: 66 Comm: kworker/0:1H Tainted: G WC E 6.1-sunxi64 #1 [ 640.401351] Hardware name: Pine64 PinePhone (1.2) (DT) [ 640.406915] Workqueue: kblockd blk_mq_run_work_fn [ 640.412426] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 640.419950] pc : lima_devfreq_record_idle+0xbc/0xd0 [ 640.425563] lr : lima_devfreq_record_idle+0x54/0xd0 [ 640.431096] sp : ffffffc008003eb0 [ 640.434751] x29: ffffffc008003eb0 x28: ffffff80021d0f00 x27: ffffff8002c6a440 [ 640.442750] x26: ffffffc008f18008 x25: ffffff8002061400 x24: ffffffc008f18008 [ 640.450718] x23: ffffffc00924ea10 x22: 0000000000000019 x21: 0000000000000000 [ 640.458663] x20: 00000000000000c0 x19: ffffff800183c9f0 x18: 0000000007270e00 [ 640.466607] x17: ffffffc0b6a14000 x16: ffffffc008004000 x15: 0000000000004000 [ 640.474556] x14: 0000000000000002 x13: 0000000000000001 x12: ffffffc00924eac0 [ 640.482494] x11: 0000000000001028 x10: ffffff80018200b8 x9 : ffffffc0081411d4 [ 640.490452] x8 : 0000000000000001 x7 : ffffffc0b6a6b000 x6 : 000000039c169817 [ 640.498384] x5 : 00ffffffffffffff x4 : 001a134eb093e202 x3 : 00000094e6af0c76 [ 640.506334] x2 : ffffff6b1950f38a x1 : 00000000ffffffff x0 : 000000000058c63d [ 640.514284] Call trace: [ 640.517084] lima_devfreq_record_idle+0xbc/0xd0 [ 640.522351] lima_sched_pipe_task_done+0x5c/0xb0 [ 640.527646] lima_pp_irq_handler+0x94/0xa0 [ 640.532375] __handle_irq_event_percpu+0x58/0x1b4 [ 640.537692] handle_irq_event+0x4c/0xf0 [ 640.542102] handle_fasteoi_irq+0xc4/0x1c0 [ 640.546855] generic_handle_domain_irq+0x30/0x4c [ 640.552039] gic_handle_irq+0x60/0x90 [ 640.556227] call_on_irq_stack+0x2c/0x44 [ 640.560733] do_interrupt_handler+0x80/0x8c [ 640.565540] el1_interrupt+0x30/0x50 [ 640.569778] el1h_64_irq_handler+0x14/0x20 [ 640.574554] el1h_64_irq+0x68/0x6c [ 640.578449] dcache_clean_poc+0x20/0x38 [ 640.582948] dma_direct_map_sg+0x24c/0x2c4 [ 640.587691] __dma_map_sg_attrs+0x2c/0x90 [ 640.592304] dma_map_sg_attrs+0x14/0x24 [ 640.596732] sunxi_mmc_request+0x74/0x49c [ 640.601379] __mmc_start_request+0x70/0x19c [ 640.606189] mmc_start_request+0x98/0xc0 [ 640.610721] mmc_blk_mq_issue_rq+0x28c/0x8c0 [ 640.615563] mmc_mq_queue_rq+0x148/0x320 [ 640.620038] blk_mq_dispatch_rq_list+0x1b8/0x930 [ 640.625310] blk_mq_do_dispatch_sched+0x2e0/0x35c [ 640.630712] __blk_mq_sched_dispatch_requests+0x124/0x17c [ 640.636814] blk_mq_sched_dispatch_requests+0x3c/0x74 [ 640.642557] __blk_mq_run_hw_queue+0x80/0xb4 [ 640.647413] blk_mq_run_work_fn+0x24/0x2c [ 640.651986] process_one_work+0x1ec/0x430 [ 640.656526] worker_thread+0x180/0x4a0 [ 640.660787] kthread+0xdc/0xe0 [ 640.664478] ret_from_fork+0x10/0x20 [ 640.668624] ---[ end trace 0000000000000000 ]--- [ 640.675028] ------------[ cut here ]------------ [ 640.680154] WARNING: CPU: 1 PID: 21 at drivers/gpu/drm/lima/lima_devfreq.c:205 lima_devfreq_record_idle+0xbc/0xd0 [ 640.691410] Modules linked in: qmi_wwan(E) option(E) usb_wwan(E) cdc_wdm(E) usbnet(E) usbserial(E) mii(E) algif_hash(E) algif_skcipher(E) af_alg(E) bnep(E) lz4(E) lz4_compress(E) zram(E) zsmalloc(E) usb_f_ecm(E) u_ether(E) libcomposite(E) joydev(E) hci_uart(E) btrtl(E) btbcm(E) bluetooth(E) st_magn_spi(E) st_sensors_spi(E) 8723cs(CE) jitterentropy_rng(E) axp20x_adc(E) regmap_spi(E) ecb(E) sha512_generic(E) axp20x_pek(E) des_generic(E) libdes(E) sha512_arm64(E) cbc(E) ghash_ce(E) axp20x_battery(E) drbg(E) ansi_cprng(E) gf128mul(E) sha2_ce(E) st_magn_i2c(E) aes_neon_bs(E) cfg80211(E) aes_neon_blk(E) sha1_ce(E) st_magn(E) st_sensors_i2c(E) inv_mpu6050_i2c(E) goodix_ts(E) inv_mpu6050(E) af8133j(E) st_sensors(E) stk3310(E) industrialio_triggered_buffer(E) kfifo_buf(E) aes_ce_blk(E) ecdh_generic(E) gpio_vibra(E) sun50i_codec_analog(E) snd_soc_hdmi_codec(E) binfmt_misc(E) rfkill(E) snd_soc_simple_card(E) sun8i_adda_pr_regmap(E) ecc(E) sun6i_csi(E) sun8i_di(E) snd_soc_simple_card_utils(E) [ 640.702181] sun8i_ce(E) sun8i_a33_mbus(E) sunxi_cedrus(CE) crypto_engine(E) sun8i_rotate(E) sun8i_codec(E) sun4i_i2s(E) rng_core(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) videobuf2_memops(E) snd_soc_ec25(E) snd_soc_simple_amplifier(E) videobuf2_v4l2(E) snd_soc_bt_sco(E) gc2145(E) snd_soc_core(E) videobuf2_common(E) ov5640(E) leds_sgm3140(E) v4l2_fwnode(E) v4l2_flash_led_class(E) v4l2_async(E) videodev(E) snd_pcm_dmaengine(E) snd_pcm(E) mc(E) snd_timer(E) snd(E) leds_gpio(E) soundcore(E) evdev(E) ledtrig_pattern(E) fuse(E) configfs(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc32c_generic(E) crc16(E) mbcache(E) jbd2(E) dw_hdmi_i2s_audio(E) dw_hdmi_cec(E) sunxi(E) phy_generic(E) axp20x_usb_power(E) industrialio(E) pinephone_keyboard(E) crc8(E) matrix_keymap(E) musb_hdrc(E) sun4i_lradc_keys(E) udc_core(E) arm_scpi(E) [ 640.861841] CPU: 1 PID: 21 Comm: kworker/1:0 Tainted: G WC E 6.1-sunxi64 #1 [ 640.869934] Hardware name: Pine64 PinePhone (1.2) (DT) [ 640.875068] Workqueue: events drm_sched_job_timedout [ 640.880048] pstate: a04000c5 (NzCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 640.887004] pc : lima_devfreq_record_idle+0xbc/0xd0 [ 640.891885] lr : lima_devfreq_record_idle+0x54/0xd0 [ 640.896763] sp : ffffffc009573cb0 [ 640.900074] x29: ffffffc009573cb0 x28: ffffff80bf95b2c0 x27: ffffff80019f1f00 [ 640.907210] x26: ffffff80019f1f74 x25: ffffff80bf95f205 x24: ffffff800183c7f8 [ 640.914345] x23: ffffff8005d9ac00 x22: ffffff800183c6e8 x21: ffffffc00947b000 [ 640.921479] x20: 0000000000000000 x19: ffffff800183c9f0 x18: ffffffffffffffff [ 640.928615] x17: 0000000000000000 x16: ffffff80bf995940 x15: ffffffc009573650 [ 640.935749] x14: 0000000000000000 x13: ffffffc00942d985 x12: 0101010101010101 [ 640.942884] x11: 7f7f7f7f7f7f7f7f x10: 000000000000000a x9 : ffffffc0081411d4 [ 640.950018] x8 : 000000000000000a x7 : ffffffc0092d3738 x6 : 000000039d42e317 [ 640.957152] x5 : 00ffffffffffffff x4 : 000f58d0c1bf7f36 x3 : 00000094e707d2b3 [ 640.964287] x2 : ffffff6b1950f38a x1 : 00000000fffffffe x0 : 00000000320e4e96 [ 640.971422] Call trace: [ 640.973868] lima_devfreq_record_idle+0xbc/0xd0 [ 640.978401] lima_sched_timedout_job+0xbc/0x4b0 [ 640.982925] drm_sched_job_timedout+0xa8/0x184 [ 640.987367] process_one_work+0x1ec/0x430 [ 640.991379] worker_thread+0x180/0x4a0 [ 640.995126] kthread+0xdc/0xe0 [ 640.998185] ret_from_fork+0x10/0x20 [ 641.001763] ---[ end trace 0000000000000000 ]--- [ 641.006437] lima 1c40000.gpu: Runtime PM usage count underflow!