BPI-R2 RPO Mali GPU confirmed working

Hello everyone.

FYI

After mali power domain was enabled

Added gpu (Mali) dts entry for Banana PI R2 Pro. · frank-w/BPI-Router-Linux@c4e40f1 · GitHub

Gpu confirmed working:

alex@bpi-r2pro ~ $ glxinfo | grep OpenGL
OpenGL vendor string: Panfrost
OpenGL renderer string: Mali-G52 r1 (Panfrost)
OpenGL core profile version string: 3.1 Mesa 22.1.3
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.1 Mesa 22.1.3
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.1 Mesa 22.1.3
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:

pandrost-enabled mesa is required (depends on distro)

Also in order to start Xorg successfully, AutoAddGPU flag should be turned off (the same way as for BPI-R2). In my case next additional config works:

 bpi-r2pro ~ # cat /etc/X11/xorg.conf.d/40-serverflags.conf 
Section "ServerFlags"
        Option "AutoAddGPU" "off"
EndSection