Re: What abouth the panfrost "driver" installed on the Radxa Zero 3W (Rockchip RK3566)

From: Mario Marietto <marietto2008_at_gmail.com>
Date: Sun, 15 Jun 2025 20:07:28 UTC
---> I assume that was serial output ?

Nope,FreeBSD boots and it displays all the messages that you see on screen.
So,I think that it works for the most part.

On Sun, Jun 15, 2025 at 9:39 PM Heiko Stübner <heiko@sntech.de> wrote:

> Hi Mario,
>
> [I have no clue about any BSD, so the stuff below is somewhat generic]
>
> Am Sonntag, 15. Juni 2025, 09:55:12 Mitteleuropäische Sommerzeit schrieb
> Mario Marietto:
> > Emanuel Vadot and Jesper Schmitz Mouridsen have enabled the panfrost
> driver
> > already,but on the rockpro RK3399,but for my phone I've chosen the
> smaller
> > Radxa board. These are their github with their kernel patches code :
> >
> > https://github.com/evadot/drm-subtree
> > https://github.com/jsm222/drm-subtree
> >
> > With some coworker on the FreeBSD forums we tried to see if the panfrost
> > driver worked on that board.
>
> First of all you need to be aware that there are multiple components
> involved.
> The whole thing is _not_ one "graphics card" that produces 3d graphics
> and graphical output.
>
> The MALI gpu really is just render-only gpu, it creates 3d graphics and
> puts
> them into "some" memory.
>
> The display output is done by the "visual output processor" (VOP) + some
> output controllers like the dw-hdmi, for hdmi output.
>
>
> > Unfortunately,it seems that some code is missing,such as the vop2,but we
> > aren't sure about what could be missing.
>
> Starting with the rk3566, Rockchip introduced a new version of the VOP
> (that VOP2 you're missing), which is a completely different IP block
> compared
> to the previous VOP.
>
>
> > Anyway,I want to show you the error that we get :
> >
> >
> > [image: panfrost-Radxa.jpeg]
>
> I assume that was serial output?
>
>
> > We would have some clarification about what's missing,what should be
> fixed
> > in the code.
>
> First of all you need a (new?) driver for the VOP2 + the necessary
> additions
> for dw-hdmi or dw-dsi or whatever - those controllers are still similar to
> the
> previous generations and "only" changed starting with the rk3588.
>
>
> When that works you should have unaccelerated HDMI output.
>
>
> After that you could check if the panfrost driver you have supports the
> (newer) generation of the MALI gpu (the rk3566 variant is a number of years
> newer than the rk3399 variant) and those github trees you linked to haven't
> seen any change for 3 years now.
>
>
> As I said I have no clue about anything BSD, so that is the farthest I can
> help here.
>
>
> Heiko
>
> > Eventually I could hire a FreeBSD kernel developer to produce the patch
> > needed to enable it on the Radxa board.
> >
> > It makes no sense to run FreeBSD on a phone without being able to use its
> > GPU / MALI / acceleration.
> >
> > Please enlighten us with some lucid considerations.
> >
> > Thanks.
> >
> >
>
>
>
>
>

-- 
Mario.