[PATCH] arm64: dts: rockchip: add hdmi1 support to ROCK 5 ITX

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Mon Feb 17 01:48:00 PST 2025



> Wiadomość napisana przez Jianfeng Liu <liujianfeng1994 at gmail.com> w dniu 17 lut 2025, o godz. 03:35:
> 
> Hi,
> 
> On Sun, 16 Feb 2025 20:53:27 +0100, Piotr Oniszczuk wrote:
>> [    0.531139] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops dw_hdmi_qp_rockchip_ops)
> 
> It seems that hdmi qp driver is built in kernel, while armbian builds it
> as module. I don't know if this is related. And here is the dmesg output
> of drm on armbian:
> 
> jfliu at rock-5-itx:~$ sudo dmesg |grep drm
> [    2.190256] panthor fb000000.gpu: [drm] clock rate = 198000000
> [    2.191470] panthor fb000000.gpu: [drm] mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5
> [    2.191478] panthor fb000000.gpu: [drm] Features: L2:0x7120306 Tiler:0x809 Mem:0x301 MMU:0x2830 AS:0xff
> [    2.191482] panthor fb000000.gpu: [drm] shader_present=0x50005 l2_present=0x1 tiler_present=0x1
> [    2.195853] panthor fb000000.gpu: [drm] Firmware protected mode entry not be supported, ignoring
> [    2.196019] panthor fb000000.gpu: [drm] Firmware git sha: 814b47b551159067b67a37c4e9adda458ad9d852
> [    2.196407] panthor fb000000.gpu: [drm] CSF FW using interface v1.1.0, Features 0x0 Instrumentation features 0x71
> [    2.221006] [drm] Initialized panthor 1.3.0 for fb000000.gpu on minor 0
> [    2.566800] rockchip-drm display-subsystem: bound fdd90000.vop (ops rockchip_drm_fini [rockchipdrm])
> [    2.567523] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops rockchip_drm_fini [rockchipdrm])
> [    2.567882] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 1
> [    2.740995] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
> 
>> Is it possible to provide me url with kernel package you are using (wich works ok for you)?
> 
> I'm working on 6.14-rc2 now and this patch is included in this armbian pr:
> https://github.com/armbian/build/pull/7835
> 
> And here is the kernel deb I built, which is confirmed working:
> https://cdn.haguro.top/share/kernel-rockchip64-edge_6.14-rc2-rock5itx-hdmi1_arm64.tar
> 

many thx for providing me .deb
this is very helpful!

I manually installed it on my sd card and sill getting:

root at myth-frontend-56b0f018b5e0:~ # uname -a
Linux myth-frontend-56b0f018b5e0 6.14.0-rc2-edge-rockchip64 #4 SMP PREEMPT Mon Feb 10 04:45:03 CST 2025 aarch64 GNU/Linux
root at myth-frontend-56b0f018b5e0:~ # dmesg | grep drm
[    6.996022] panthor fb000000.gpu: [drm] clock rate = 198000000
[    7.002431] panthor fb000000.gpu: [drm] mali-g610 id 0xa867 major 0x0 minor 0x0 status 0x5
[    7.003155] panthor fb000000.gpu: [drm] Features: L2:0x7120306 Tiler:0x809 Mem:0x301 MMU:0x2830 AS:0xff
[    7.003972] panthor fb000000.gpu: [drm] shader_present=0x50005 l2_present=0x1 tiler_present=0x1
[    7.185792] panthor fb000000.gpu: [drm] Firmware protected mode entry not be supported, ignoring
[    7.186635] panthor fb000000.gpu: [drm] Firmware git sha: 814b47b551159067b67a37c4e9adda458ad9d852
[    7.187616] panthor fb000000.gpu: [drm] CSF FW using interface v1.1.0, Features 0x0 Instrumentation features 0x71
[    7.188861] [drm] Initialized panthor 1.3.0 for fb000000.gpu on minor 0
[    7.225079] rockchip-drm display-subsystem: bound fdd90000.vop (ops vop2_component_ops [rockchipdrm])
[    7.227485] rockchip-drm display-subsystem: bound fdea0000.hdmi (ops dw_hdmi_qp_rockchip_ops [rockchipdrm])
[    7.228666] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 1
[    7.229327] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    7.230466] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
root at myth-frontend-56b0f018b5e0:~ #

but why roobi os works ok on hdmi1 on this board?

btw: looking on dri debug i see following:

root at myth-frontend-56b0f018b5e0:~ # cat /sys/kernel/debug/dri/1/state
plane[32]: Cluster0-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=0
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[38]: Cluster1-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=1
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[44]: Cluster2-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=2
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[50]: Cluster3-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=3
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[56]: Esmart0-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=4
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[62]: Esmart1-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=5
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[68]: Esmart2-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=6
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
plane[74]: Esmart3-win0
        crtc=(null)
        fb=0
        crtc-pos=0x0+0+0
        src-pos=0.000000x0.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=7
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range
        color_mgmt_changed=0
crtc[80]: video_port1
        enable=0
        active=0
        self_refresh_active=0
        planes_changed=0
        mode_changed=0
        active_changed=0
        connectors_changed=0
        color_mgmt_changed=0
        plane_mask=0
        connector_mask=0
        encoder_mask=0
        mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
connector[82]: HDMI-A-1
        crtc=(null)
        self_refresh_aware=0
        interlace_allowed=0
        ycbcr_420_allowed=0
        max_requested_bpc=8
        colorspace=Default
        broadcast_rgb=Automatic
        is_limited_range=n
        output_bpc=0
        output_format=RGB
        tmds_char_rate=0
root at myth-frontend-56b0f018b5e0:~ #
  





More information about the Linux-rockchip mailing list