GPU? #32
-
Hello! First off, thank you for providing all the work you've accomplished here in this repository! Really amazing stuff! I'm wondering if it's possible to access the GPU on the STM32MP157D while using your bare metal framework, using Mesa? Mesa is able to access the STM32MP157D's GPU on kernels/OSs such as Linux and the BSDs. From looking at the Mesa source code, it doesn't look like it relies on any external OS components, but it says here:
This has me a little confused as to whether Mesa requires an OS, or just provides additional support for OSs. I wonder if it would be possible to just statically link Mesa's source into my application and build an image that can be booted and run via your bare metal framework? Anyways, thank you for any knowledge you might be able to impart on the subject! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well, I know very little about how Mesa works. But I would think you would need a hardware driver for it to interface with the GPU. That might be satisfied with this: I don't know what the interface between Mesa and the gcnano driver would be, though.
That would be nice! I guess the best way to find out would be to compile it with arm-none-eabi toolchain and see what happens. Did you see any docs or reports if compiling it as a static library can work (as opposed to shared lib)? |
Beta Was this translation helpful? Give feedback.
Well, I know very little about how Mesa works.
But I would think you would need a hardware driver for it to interface with the GPU. That might be satisfied with this:
https://github.com/STMicroelectronics/gcnano-binaries/tree/gcnano-6.4.15-binaries/gcnano-driver-stm32mp/hal
I don't know what the interface between Mesa and the gcnano driver would be, though.
That would be nice! I guess the best way to find out would be to compile it with arm-none-eabi toolchain and see what happens. Did you see any docs or reports if compiling it as a static library can work (as opposed to shared lib)?
It's…