Re: Panfrost GPU

From: titus <titus_at_edc.ro>
Date: Mon, 30 Jun 2025 07:58:30 UTC
yes, that patch did it, thank you
now it works but not very stable, it crashes the whole thing at times


> On Jun 28, 2025, at 4:45 PM, Jesper Schmitz Mouridsen <jsm@FreeBSD.org> wrote:
> 
> 
> 
> On 6/27/25 20:30, titus wrote:
>> Hi
>> I have built drm-subtree  (https://github.com/evadot/drm-subtree/tree/master) on freebsd 14.2 and also added support for rockchip vop2 (rk35xx)
>> video console and X works with modesetting driver and in /dev/dri there is card0 card1 and renderD128
>> dmesg shows
>> panfrost0: GPU revision 1000, id 7402
>> panfrost0: Mali 7402, major 1, minor 0, status 0
>> panfrost0: Features: L2 7110206, Shader 2, Tiler 209, Mem 1, MMU 2823, AS ff, JS 7
>> panfrost0: panfrost_gpu_intr: pending 600
>> panfrost0: panfrost_gpu_intr: pending 600
>> panfrost0: panfrost_gpu_intr: pending 600
>> panfrost0: GPU is powered on
>> panfrost0: panfrost_gpu_intr: pending 20000
>> [drm] Initialized panfrost 1.2.0 20201124 for panfrost on minor 1
>> but I have no idea how to test the gpu, glxinfo show llvmpipe as renderer
>> so what should I do to check if hardware opengl accelleration works ?
>> Xorg.log
> https://people.freebsd.org/~br/drm_hack_panfrost.patch worked for me on pbp just now.