PINE64

Full Version: OpenCL through ARM's Official Mali Kernel Driver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all, 

I am trying to install the official ARM Mali GPU driver from here: https://developer.arm.com/downloads/-/ma...ost-kernel 

The intention is to run an OpenCL benchmark on Mali-G52.

I disabled the panfrost driver, build the ARM driver, however, I run into the following error. I've seen references to `dev_pm_opp_set_regulators: no regulator (shadercores) found: -19` elsewhere but no idea how to actually fix it. Anyone have any ideas?

```
~$ dmesg | grep -i mali
[    3.768892] mali fde60000.gpu: Kernel DDK version r44p0-01eac0
[    3.768919] mali fde60000.gpu: IRQ JOB not found
[    3.769415] mali fde60000.gpu: IRQ MMU not found
[    3.769897] mali fde60000.gpu: IRQ GPU not found
[    3.770430] mali fde60000.gpu: Looking up mali-supply from device tree
[    3.774382] mali fde60000.gpu: Looking up shadercores-supply from device tree
[    3.774406] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[    3.774538] mali fde60000.gpu: Looking up mali-supply from device tree
[    3.775188] mali fde60000.gpu: Looking up shadercores-supply from device tree
[    3.775217] mali fde60000.gpu: Looking up shadercores-supply property in node /gpu@fde60000 failed
[    3.775264] mali fde60000.gpu: dev_pm_opp_set_regulators: no regulator (shadercores) found: -19
[    3.776281] mali fde60000.gpu: Power management initialization failed error = -19
[    3.776981] mali fde60000.gpu: Device initialization failed

```
That sounds like you need to modify the device tree and add a shadercores-supply property.