GPU not detected by panfrost kernel module

Hi,
loading the panfrost DRM kernel module results in

panfrost fb000000.gpu: clock rate = 200000000
panfrost fb000000.gpu: Looking up mali-supply from device tree
panfrost fb000000.gpu: opp_parse_supplies: Invalid number of elements in opp-microvolt-property (6) with supplies (1)
panfrost fb000000.gpu: _of_add_opp_table_v2: Failed to add OPP, -22
panfrost fb000000.gpu: devfreq init failed -22
panfrost fb000000.gpu: Fatal error during GPU init
panfrost fb000000.gpu: probe of fb000000.gpu failed with error -22

I have all the G610 bits from panfork userland - but apparently something is still missing on the kernel side (currently using stable-5.10-rock5 – wouldn’t mind upgrading to mainline at all, but looks like GPU support isn’t there yet - at least not mentioned in the devicetree).

Any ideas?

I think you have to follow mali blobs for x11.
More info here: https://gist.github.com/stvhay/5654368e73f93349c3ffae395eccd892#switch-between-mali-and-panfrost

Do anyone get Solution ?
Even the same problem I am facing in kernel version 6.1 in Rk3588 with Mali GPU G610 MP4 Valhall.

$ glxinfo | grep -i Open
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 15.0.7, 128 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

You are using mesa 23.2.1, so rk3588 mali g610 is not supported. You have to use mesa up to 24.1.