Hi,
I've noticed that on allwinner A64 based teres laptop, display doesn't work anymore with kernel 6.5 and later. I get this error:
[ 37.727927] [CRTC:49:crtc-0] vblank wait timed out
[ 37.728103] WARNING: CPU: 2 PID: 588 at drivers/gpu/drm/drm_atomic_helper.c:1679 drm_atomic_helper_wait_for_vblanks.part.0+0x24c/0x278 [drm_kms_helper]
[ 37.728161] Modules linked in: qrtr aes_ce_blk aes_ce_cipher polyval_ce sun50i_codec_analog snd_soc_simple_amplifier polyval_generic snd_soc_simple_card snd_soc_simple_card_utils sun4i_i2s ghash_ce sunxi_cedrus(C) sun8i_codec sun8i_adda_pr_regmap uvcvideo snd_soc_core gf128mul videobuf2_dma_contig axp20x_battery axp20x_ac_power sha2_ce axp20x_adc sha256_arm64 videobuf2_vmalloc r8723bs(C) v4l2_mem2mem snd_compress sha1_ce uvc industrialio videobuf2_memops snd_pcm_dmaengine axp20x_pek videobuf2_v4l2 libarc4 snd_pcm videodev sun8i_thermal binfmt_misc cfg80211 snd_timer snd sunxi_wdt rfkill des_generic libdes videobuf2_common mc nvmem_sunxi_sid soundcore sun8i_ce crypto_engine sun6i_dma leds_gpio cpufreq_dt evdev dm_mod fuse loop efi_pstore dax configfs ip_tables x_tables autofs4 ext4 crc32c_generic crc16 mbcache jbd2 ax88796b hid_generic usbhid hid asix usbnet selftests phylink mii libphy pinctrl_axp209 axp20x_regulator governor_simpleondemand axp20x_rsb axp20x_i2c lima analogix_anx6345 sun4i_drm analogix_dp
[ 37.730542] drm_display_helper sun8i_mixer gpu_sched crct10dif_ce sun4i_tcon crct10dif_common axp20x fixed drm_shmem_helper sun8i_tcon_top drm_dma_helper ohci_platform ehci_platform ohci_hcd i2c_mv64xxx drm_kms_helper ehci_hcd phy_sun4i_usb drm pwm_sun4i usbcore usb_common sunxi_mmc gpio_keys pwm_bl
[ 37.730654] CPU: 2 PID: 588 Comm: Xorg Tainted: G WC 6.7.0-rc8+ #4
[ 37.730667] Hardware name: Olimex A64 Teres-I (DT)
[ 37.730674] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 37.730685] pc : drm_atomic_helper_wait_for_vblanks.part.0+0x24c/0x278 [drm_kms_helper]
[ 37.730719] lr : drm_atomic_helper_wait_for_vblanks.part.0+0x24c/0x278 [drm_kms_helper]
[ 37.730748] sp : ffff800082b2b8d0
[ 37.730754] x29: ffff800082b2b8d0 x28: 000000000000009d x27: 0000000000000000
[ 37.730770] x26: 0000000000000001 x25: 0000000000000038 x24: 0000000000000000
[ 37.730786] x23: ffff000010bbb800 x22: 0000000000000001 x21: ffff000010bbd080
[ 37.730802] x20: ffff00000ee74600 x19: 0000000000000000 x18: ffffffffffffffff
[ 37.730819] x17: 0000000000001b18 x16: 0000000000002218 x15: ffff800082b2b4e0
[ 37.730835] x14: 0000000000000000 x13: 74756f2064656d69 x12: 742074696177206b
[ 37.730851] x11: 00000000ffffefff x10: ffff800081a7f168 x9 : ffff80008012fd88
[ 37.730867] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[ 37.730883] x5 : ffff00007db79e08 x4 : 0000000000000000 x3 : 0000000000000027
[ 37.730899] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00000e475140
[ 37.730915] Call trace:
[ 37.730921] drm_atomic_helper_wait_for_vblanks.part.0+0x24c/0x278 [drm_kms_helper]
[ 37.730952] drm_atomic_helper_commit_tail_rpm+0x8c/0xb0 [drm_kms_helper]
[ 37.730980] commit_tail+0xac/0x1a0 [drm_kms_helper]
[ 37.731008] drm_atomic_helper_commit+0x16c/0x188 [drm_kms_helper]
[ 37.731035] drm_atomic_commit+0xb0/0xf0 [drm]
[ 37.731108] drm_atomic_connector_commit_dpms+0xe8/0x118 [drm]
[ 37.731163] drm_mode_obj_set_property_ioctl+0x1c0/0x420 [drm]
[ 37.731219] drm_connector_property_set_ioctl+0x48/0x78 [drm]
[ 37.731274] drm_ioctl_kernel+0xd8/0x190 [drm]
[ 37.731330] drm_ioctl+0x270/0x518 [drm]
[ 37.731386] __arm64_sys_ioctl+0xb4/0x100
[ 37.731405] invoke_syscall+0x78/0x108
[ 37.731421] el0_svc_common.constprop.0+0x48/0xf0
[ 37.731434] do_el0_svc+0x24/0x38
[ 37.731446] el0_svc+0x3c/0x108
[ 37.731458] el0t_64_sync_handler+0x100/0x130
[ 37.731468] el0t_64_sync+0x190/0x198
[ 37.731479] ---[ end trace 0000000000000000 ]---
Kernel up to 6.3 works fine, and kernel 6.4 don't even boot, just panic. Anybody does know if it is a known problem and if there is a fix? I'm trying to git-bisecting the exact version, but some kernel version don't even boot so I'm going on, hoping to find out. But it takes time.
Thanks in advance,
Diego.
--
Diego Roversi <
die...@tiscali.it>