Package: linux-image-armmp
Version: 6.12.118-1
Severity: normal

Hello

No HDMI video output with a armhf SBC (Olimex Olinuxino Micro) with Linux 6.12, 
the default Debian 13 Trixie kernel.
HDMI video output works fine with Debian 13 backport Linux 7.3.4-1~bpo13+1, and 
with the default Debian 12 Bookworm Linux 6.1 and Debian testing Linux 7.3 
kernels.
If I install xorg and try a startx, syslog shows the following lines.
The line "PC is at sun4i_hdmi_connector_atomic_check+0x34/0x50 
[sun4i_drm_hdmi]" and the call trace seem to indicate a Sunxi HDMI bug.
Perhaps it helps: 
https://lore.kernel.org/all/[email protected]/
https://lore.kernel.org/all/20250602-psychedelic-purring-poodle-900a5b@houat/
https://lore.kernel.org/all/?q=sun4i_hdmi_connector_atomic_check

# syslog
Unable to handle kernel NULL pointer dereference at virtual address 00000464 
when read
[00000464] *pgd=00000000
Internal error: Oops: 5 [#1] SMP ARM
Modules linked in: nf_tables nfnetlink 8021q garp mrp stp llc dm_crypt dm_mod 
cfg80211 rfkill cpufreq_ondemand joydev lima gpu_sched sun4i_backend 
sun4i_codec drm_shmem_helper at24 snd_soc_core axp20x_ac_power axp20x_battery 
axp20x_pek axp20x_adc sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig 
videobuf2_memops sun4i_drm_hdmi videobuf2_v4l2 snd_compress drm_display_helper 
videodev nvmem_sunxi_sid snd_pcm_dmaengine sun4i_ts snd_pcm snd_timer snd 
soundcore cec evdev sunxi_wdt des_generic rc_core videobuf2_common sun4i_ss 
libdes mc iio_hwmon display_connector leds_gpio cpufreq_dt ext4 mbcache jbd2 
btrfs zlib_deflate raid10 raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor xor_neon raid6_pq libcrc32c crc32c_generic raid1 raid0 
md_mod hid_multitouch hid_generic smsc crc16 usbhid hid dwmac_sunxi 
axp20x_usb_power stmmac_platform stmmac axp20x_regulator pcs_xpcs industrialio 
pinctrl_axp209 phylink mdio_devres of_mdio fixed_phy fwnode_mdio libphy 
sun4i_drm ohci_platform sun4i_frontend sunxi
sun4i_tcon phy_generic i2c_mv64xxx sun8i_tcon_top drm_dma_helper musb_hdrc 
ehci_platform ehci_hcd drm_kms_helper sun4i_lradc_keys ahci_sunxi udc_core 
libahci_platform ohci_hcd libahci libata scsi_mod scsi_common usbcore drm 
phy_sun4i_usb sunxi_mmc spi_sun4i aes_arm_bs crypto_simd cryptd aes_arm
CPU: 1 UID: 0 PID: 6707 Comm: Xorg Tainted: G C 6.12.113+deb13-armmp #1 Debian 
6.12.113-1
Tainted: [C]=CRAP
Hardware name: Allwinner sun7i (A20) Family
PC is at sun4i_hdmi_connector_atomic_check+0x34/0x50 [sun4i_drm_hdmi]
LR is at drm_atomic_helper_check_modeset+0x4fc/0xed8 [drm_kms_helper]
pc : [<bf7bb814>] lr : [<bf1bd084>] psr: 80070013
sp : f1b49c60 ip : bf1d8304 fp : c94ccc00
r10: 00000000 r9 : c2704840 r8 : c9542200
r7 : c348e400 r6 : 00000002 r5 : c9542200 r4 : c46861c0
r3 : c9542390 r2 : 00000000 r1 : 00000014 r0 : c2704840
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c5387d Table: 4972806a DAC: 00000051
Register r0 information: slab kmalloc-2k start c2704800 pointer offset 64 size 
2048
Register r1 information: non-paged memory
Register r2 information: NULL pointer
Register r3 information: slab kmalloc-512 start c9542200 pointer offset 400 
size 512
Register r4 information: slab kmalloc-64 start c46861c0 pointer offset 0 size 64
Register r5 information: slab kmalloc-512 start c9542200 pointer offset 0 size 
512
Register r6 information: non-paged memory
Register r7 information: slab kmalloc-512 start c348e400 pointer offset 0 size 
512
Register r8 information: slab kmalloc-512 start c9542200 pointer offset 0 size 
512
Register r9 information: slab kmalloc-2k start c2704800 pointer offset 64 size 
2048
Register r10 information: NULL pointer 
Register r11 information: slab kmalloc-1k start c94ccc00 pointer offset 0 size 
1024 
Register r12 information: 7-page vmalloc region starting at 0xbf1d7000 
allocated at load_module+0x78c/0x1f7c
Process Xorg (pid: 6707, stack limit = 0x9799542c)
Stack: (0xf1b49c60 to 0xf1b4a000)
9c60: c46861c0 bf1bd084 00000043 c451d0c0 00000000 00000000 00000000 e25aeae5
9c80: 00000001 00000000 bf7ff184 c0ecc8a4 c94ccc00 bf1d82dc bf1d8428 00000001
9ca0: bf1d83b0 00000000 a0070013 c94ccc00 c46861c0 c46861c0 00000001 c9542200
9cc0: c94ccc00 c4686a48 c0c0c0c0 bf255848 00000014 c2704840 c46861c0 bf0452f0
9ce0: c46861c0 bf044b7c 00000000 e25aeae5 00000000 00000000 00000000 e25aeae5
9d00: bf044b7c bf09e330 00000043 c451d0c0 00000000 c94ccc00 c22c7d00 00000000
9d20: 00000000 c46861c0 c94ccc00 c2704860 f1b49db8 c9636700 00000000 00000000
9d40: c0c0c0c0 bf0465a0 c9542200 cccccccc c9636700 bf081c44 00000000 c2366010
9d60: 00000000 00000000 00000000 bf081c44 00000000 c2366010 00000000 00000000
9d80: 00000000 e25aeae5 00000000 c22c7d00 c46861c0 bf06af9c 00000000 00000000
9da0: 00000000 da91ec98 c2704840 c060d818 ef824874 c0ecc8a4 c94b4200 000000aa
9dc0: 00000001 00000000 00000000 00000000 c94ccd04 c94ccd04 00000000 e25aeae5
9de0: c8f631a8 00000000 00000000 c01064ab c94ccc00 bf09d3d4 00000010 c94b4200
9e00: c9636700 bf052e48 00000000 00000000 00000005 00000043 c0c0c0c0 00000000
9e20: f1b49e74 e25aeae5 c01064ab f1b49e74 00000010 bf065004 c94b49b0 00001a33
9e40: 0000e200 00000001 bf0a28ec 00000000 00000010 c94b49b0 bec12148 000000ab
9e60: c8f63180 00000080 bf052df0 00000051 00000000 00000000 00000000 00000005
9e80: 00000043 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9ea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9ee0: 00000000 00000000 00000000 00000000 00000000 e25aeae5 bec12148 00000000
9f00: c8f63181 c01064ab bec12148 c8f63180 c94b4200 0000000b c9570440 c0648f58
9f20: 00000000 f1b49fb0 00505078 80000007 c94b4200 c231a400 00000254 c0ed45e4
9f40: f1b49fb0 c0ed45e4 00000000 00000000 c4517030 e25aeae5 00000100 c4517003
9f60: c4517000 00000007 f1b49fb0 00505078 c16113b8 c153f04c 005f85a0 e25aeae5
9f80: 0104f658 00000000 bec12148 c01064ab 00000036 c03002f0 c94b4200 00000036
9fa0: 00000049 c03000c0 00000000 bec12148 0000000b c01064ab bec12148 bec12128
9fc0: 00000000 bec12148 c01064ab 00000036 00000018 00f79ff0 00f777e8 00000049
9fe0: 00000036 bec12110 b6c01771 b6b6f736 60070030 0000000b 00000000 00000000
Call trace: 
sun4i_hdmi_connector_atomic_check [sun4i_drm_hdmi] from 
drm_atomic_helper_check_modeset+0x4fc/0xed8 [drm_kms_helper]
drm_atomic_helper_check_modeset [drm_kms_helper] from 
sun4i_de_atomic_check+0x18/0x44 [sun4i_drm]
sun4i_de_atomic_check [sun4i_drm] from drm_atomic_check_only+0x608/0xa20 [drm]
drm_atomic_check_only [drm] from drm_atomic_commit+0x80/0xf8 [drm]
drm_atomic_commit [drm] from drm_mode_obj_set_property_ioctl+0x178/0x3f4 [drm]
drm_mode_obj_set_property_ioctl [drm] from 
drm_connector_property_set_ioctl+0x58/0x7c [drm]
drm_connector_property_set_ioctl [drm] from drm_ioctl+0x254/0x524 [drm]
drm_ioctl [drm] from sys_ioctl+0x28c/0xd14
sys_ioctl from ret_fast_syscall+0x0/0x1c
Exception stack(0xf1b49fa8 to 0xf1b49ff0)
9fa0: 00000000 bec12148 0000000b c01064ab bec12148 bec12128
9fc0: 00000000 bec12148 c01064ab 00000036 00000018 00f79ff0 00f777e8 00000049
9fe0: 00000036 bec12110 b6c01771 b6b6f736
Code: b0233291 b593300c e2833e19 e513218c (e5921464) 
---[ end trace 0000000000000000 ]---

# dmesg | grep -i hdmi
/soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
/soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
/soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/lcd-controller@1c0d000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/lcd-controller@1c0c000: Fixed dependency cycle(s) with /soc/hdmi@1c16000
/soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
/soc/hdmi@1c16000: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
/soc/hdmi@1c16000: Fixed dependency cycle(s) with /hdmi-connector
/hdmi-connector: Fixed dependency cycle(s) with /soc/hdmi@1c16000
rc rc0: sun4i as /devices/platform/soc/1c16000.hdmi/rc/rc0
input: sun4i as /devices/platform/soc/1c16000.hdmi/rc/rc0/input4
sun4i-drm display-engine: bound 1c16000.hdmi (ops sun4i_hdmi_driver_exit 
[sun4i_drm_hdmi])

Reply via email to