-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Information: The Microchip PIC32MZDA's GPU may also be GC200 #19
Comments
After some minutes of googling I found one source telling that it is a gc200 - https://www.eejournal.com/article/add-glamour-to-your-product/ If Linux runs on add the needed DTS nodes for the GPU and it should work out-of-the-box. Btw. we are a clean room reverse engineering project. |
Thank you for the information. Because unlike all other peripherals, there are almost no information about this GPU in the datasheets, and Microchip staffs won't say a word about it. I googled some etnaviv device tree snippets, and TBH I'm not very familiar with Linux DRM subsystem. Do I need to specify a memory location for framebuffer? Or the driver will allocate one in RAM automatically? Anyway I have to tell this memory location to the LCD controller (which is a separate peripheral) for the graphics to be actually displayed on screen. Your project is awesome indeed. |
Here is the dts binding: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/gpu/vivante,gc.yaml?h=v5.16-rc7 Here is one of many examples in the mainline linux kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl.dtsi?h=v5.16-rc7#n215 Keep in mind that Vivnate GPUs are render-only GPUs and you need a KMS driver that does the actual scanout. So you do not need to specify a memory location for a framebuffer etc. If there is no KMS driver you can just use a simple test program to interact with the 2d GPU: https://cgit.freedesktop.org/mesa/drm/tree/tests/etnaviv/etnaviv_2d_test.c?h=main |
Thank you very much for the information! |
Hello. These days I'm trying to understand how the GPU of Microchip PIC32MZDA works by reverse engineering its "nano2d" closed source driver. I googled the strings found in the static library and then found this repo (wow). After some peeking, I suspect it is actually a GC200. Is there a way to confirm this?
The strings I found in this driver:
Symbols in this driver:
The text was updated successfully, but these errors were encountered: