Skip to content
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

libmali: add support for multiple so-files #3467

Merged
merged 1 commit into from
May 29, 2019

Conversation

Kwiboo
Copy link
Member

@Kwiboo Kwiboo commented Apr 28, 2019

This PR updates libmali to latest to add support for multiple so-files in an image.

/usr/lib/libmali.so will be linked to /var/lib/libmali/libmali.so when there is multiple .so-files installed.
libmali-setup script/service will create the /var/lib/libmali/libmali.so symlink based on gpu reported by kernel driver.

Example of libmali-setup output:

LibreELEC:~ # libmali-setup
GPUINFO: /sys/devices/platform/ffa30000.gpu/gpuinfo
GPU: Mali-T76x 4 cores r0p0 0x0750
LIB: libmali-midgard-t76x-*-r0p0-*.so
LIBMALI: /usr/lib/libmali-midgard-t76x-r14p0-r0p0-gbm.so

@Kwiboo Kwiboo changed the title libmali: update to 28f97bf libmali: add support for multiple so-files May 1, 2019
@MilhouseVH
Copy link
Contributor

I don't understand why we are applying patches to binaries that are maintained in a LibreELEC repository - we should apply the patches "upstream" and bump the package to the version with the patched binaries.

@MilhouseVH
Copy link
Contributor

OK, so once this merges then we can drop the patch. Gotit. :)

Adds support for multiple so-files
@Kwiboo
Copy link
Member Author

Kwiboo commented May 28, 2019

I have dropped the EGL_MESA_platform_gbm binary patching and now use listcontains.

@kszaq for Amlogic you can now change MALI_FAMILY to be space separated instead of semicolon separated, looks better and works with listcontains.

@kszaq kszaq merged commit 1f19b2b into LibreELEC:master May 29, 2019
@Kwiboo Kwiboo deleted the libmali-setup branch May 29, 2019 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants