User: Password:
|
|
Subscribe / Log in / New account

Lima driver code for the Mali GPU released

Lima driver code for the Mali GPU released

Posted Feb 10, 2012 17:17 UTC (Fri) by ortalo (subscriber, #4654)
In reply to: Lima driver code for the Mali GPU released by aseigo
Parent article: Lima driver code for the Mali GPU released

One of the header files (compiler.h) references a libMali.so ( for shader compiler) which does not appear to be built.
Does it mean that some closed source component is still needed to access 3D drawing features (or that I should do my homework better before asking questions)?


(Log in to post comments)

Lima driver code for the Mali GPU released

Posted Feb 10, 2012 18:45 UTC (Fri) by CopperWing (guest, #82856) [Link]

I think the code currently published is just the basic infrastructure required to reset the GPU and send graphics command lists to the HW via IOCTLs. The part responsible for translating OpenGL APIs into those commands lists is still missing/unpublished.

Right now this is only good enough to playback commands lists "captured" from the ARM's proprietary driver output. Probably after reverse engineering the meaning of the command lists, hooking this code with Mesa will provide the missing parts.

Lima driver code for the Mali GPU released

Posted Feb 10, 2012 19:34 UTC (Fri) by wookey (subscriber, #5501) [Link]

Correct. The current driver treats the shader compiler as a black box and re-uses that in the free driver. So what we have now is free driver infrastructure with a binary shader compiler. One thing at a time.

The infrastructure part is much less contentious in terms of patent issues, and lets other people get involved so it makes sense to start with this part.

The clean design (and lack of years of accumulated cruft) in Mali means that it is easy to separate these two parts. They are more-or-less independent reverse-engineering tasks, as I understand it.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds