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

Mario Marietto <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CA+1FSihzrLo402MvigiS1-HJkNjAjBCG364ncKsR0QL8NOOCFA__12524.6568278939$1750018153$gmane$org@mail.gmail.com>
---> 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 <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.