Closed giuliobenetti closed 2 years ago
Hello! I am testing your mali drivers on kernel 5.15. Everything builds fine with the kernel, but when running clinfo, I get this traceback. Do you have any idea why this may be happening?
[ 76.999795] Mali
Hi @trombonebuster, can you please tell me which SoC are you using?
Ah RK3399, now I’ve seen. What sounds strange to me is the path of driver: drivers/gpu/arm/bifrost_for_linux/mali_kbase_mem_linux.c
That “bifrost_for_linux”.
How have you built the driver? Have you built it like a module or have you tried copying it directly into kernel while changing its directory name?
Also the error on line 1762 of mali_kbase_mem_linux.c doesn’t have the call to kbase_cpu_vm_close().
So can you describe me how you’ve built the driver? As an external module or in another way? Using a build system?(i.e. Buildroot)
I’m going to reproduce the building soon to compare and debug. But I need to be sure to use the same sources.
Thank you!
This patchset allows to build Mali Midgard driver r8p0 up to Linux 5.15. I still can't test it but it looks good to me, so I ask you to accept this PR.
Best regards