OpenCL through ARM's Official Mali Kernel Driver
#1
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

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

Occasional Linux Kernel Contributor, Avid Wiki Updater, Ask Me About Quartz64
Open Hardware Quartz64 Model A TOSLink Adapter
Pi-bus GPIO Extender For ROCKPro64 And Quartz64 Model A
Plebian GNU/Linux
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  kernel errors for on-board ethernet beepy 1 605 07-22-2023, 09:31 PM
Last Post: beepy
  Call for Contributions: help reverse engineer the eInk display driver! CounterPillow 0 1,884 08-11-2021, 04:05 AM
Last Post: CounterPillow

Forum Jump:


Users browsing this thread: 1 Guest(s)