dan-and / linux-sunxi

Linux source for Allwinner/Boxchip F20 (sun3i), A10 (sun4i), A12/A13 (sun5i), A20 (sun7i) SoCs -- You can visit it a chat at https://gitter.im/dan-and/linux-sunxi --
http://linux-sunxi.org/Linux
Other
17 stars 17 forks source link

Mali 450 driver update, March 2016 #26

Open dajhorn opened 8 years ago

dajhorn commented 8 years ago

Is the new r6p1 release worth integrating into the linux-sunxi kernel?

The three driver components for Linux are:

igorpecovnik commented 8 years ago

But we are having Mali 400 on A20 ... http://linux-sunxi.org/Mali400

dajhorn commented 8 years ago

@igorpecovnik, the linked driver is for the entire Mali Utgard hardware family. (ie: Models 300, 400, and 450.)

igorpecovnik commented 8 years ago

OK, thanks for update.

jernejsk commented 8 years ago

Where do you have compatible user space component (libMali.so)? Only I can find of is for armv8 (64-bit) on their site.

This is usual problem with mali drivers. Kernel space components are open source and always up to date on their site, but user space components are hard to find. ARM's politic is that they should be provided by SoC manufacturer, in this case Allwinner.

dajhorn commented 8 years ago

@jernejsk, I saw this odroid forum post and tried libMali.so from ct-lubuntu-server-nand-v2.0.img with the new driver.

It seems that the old libMali.so is well enough compatible with the new mali.ko to run the triangle demo, but I haven't patched the DRM components to work with Chromium EGL, which is what I want.

dan-and commented 8 years ago

I tried my best a few month ago and basically had technical issues and only complains from the kernel users when trying to mix and match the Odroid-based libMali.so with an updated malidev-package.

It is even outside of the license as the libMali.so from ODROID is not allowed to be used on any other SOCs.