Re: FreeBSD 15.0 ARM64 Display Freeze on Rockchip RK3568 - VOP2 Driver Issue
Bugs Beastie <[email protected]> Thu, 12 Mar 2026 18:11:12 +0100
| Newsgroups | gmane.os.freebsd.devel.hackers,gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
Mar 12, 2026 00:49:01 Mario Marietto <[email protected]>: > Hello FreeBSD developers, > Hi! :) > I need some help from you for the problem explained below,very thanks. > > ## Hardware & System > - ***Board***: Radxa Zero 3W (ARM64) > - ***SoC***: Rockchip RK3568 > - ***GPU***: Mali-G52 (Panfrost driver) > - ***Display* *Controller***: VOP2 (Video Output Processor 2) > - ***OS***: FreeBSD 15.0-RELEASE-p3 (releng/15.0-n281008-5cf7232732d5) > - ***Kernel***: Custom RK356X-UNIFIED-KEYBOARD-FIX > Okay... > ## Problem Description > > [snip] > > - **FreeBSD 14.2 works perfectly** with identical hardware/configuration > - Cache coherency issues on ARM64 suspected due to VM changes > Ok, first of all... The working Panfrost driver on RK3568??? Wow! :-O But...where? > *Option* *A:* *Fix* *rk_vop20* *Driver* *(Recommended)* > > *Problem* *is* *in* *the* *VOP2* *driver* *itself*, not just cache coherency. > > *Investigation* *needed:* > 1. Review rk_vop20 initialization sequence > 2. Compare FreeBSD 14.2 vs 15.0 VOP2 code paths > 3. Check VOP2 interrupt handling and display pipeline setup > 4. Add delays/barriers during VOP2 initialization > 5. Investigate VOP2 register access patterns with new VM radix tree > > *Files* *to* *examine:* > find /usr/src -name "*vop2*" -o -name "*rk_vop*" > # Likely: sys/dev/drm/rockchip/rk_vop2.c or similar > I do not see the file rk_vop2.c in the FreeBSD-CURRENT src tree! Also, there is no drm directory, only drm2! Which src tree are you using? Is it some custom repository? > *Additional* *Information* > > *DRM* *Module*: Custom unified module combining: > - DRM core framework > - Rockchip VOP2 + HDMI display driver > - Panfrost Mali GPU driver > - Module name: drm_panfrost_unified.ko > > *Dependencies*: linuxkpi.ko, powerdom.ko, rk_pmdomain.ko, rk_iommu.ko > > *Reproducibility*: 100% reproducible on FreeBSD 15.0. FreeBSD 14.2 works perfectly with an identical setup. > > --- > *Goal*: Enable full GPU-accelerated X11/Wayland desktop on FreeBSD 15 ARM64 with Rockchip RK3568 without VOP2 freeze. > +1 for the goal!