f7a7d9487c
New features: - Added mutex protection for referencing gctSIGNAL in gckOS_MapSignal to fix a MT race issue. - Streamlined GPU address calculation base on MC20 (0/1) and MMU (0/1) combinations. - Fixed multiple Android HWC 2.0 rendering issues. Refined HWC 2.0 driver implementation. - Improved HWC2.0 composition performance by composing damaged regions only. - Enabled offline/online compiler IR assembly dump function for users. - Implemented the direct rendering support (no-resolve) for Wayland platform. - Added EGL_EXT_buffer_age extension for Wayland and fbdev platforms. - Updated wayland-viv protocol to support tile status sync from client to server. - Improved OpenCL 1.2 builtin function support with native GPU instructions. - Enabled OpenCL 1.2 API trace dump function controlled by VIV_TRACE environment variable. - Support for OpenGL4.0 - Cleaned up driver code issues reported by Klocwork and Coverity. Full changelog: http://git.freescale.com/git/cgit.cgi/imx/fsl-arm-yocto-bsp.git/tree/GraphicsChangeLogv6?h=imx-morty Note that the apitrace tool and the G2D libraries are not part of the package any longer, so the corresponding options are removed. The G2D libraries are now provided by a separate package. This package has been tested with both X11 and Framebuffer backends: # cd /usr/share/examples/viv_samples/vdk/ # ./tutorial7 # gmem_info ... display memory use per PID ... Also update packages that depended on g2d libraries to match new package name. Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
77 lines
2.0 KiB
Plaintext
77 lines
2.0 KiB
Plaintext
comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
|
|
depends on BR2_arm
|
|
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV
|
|
bool "imx-gpu-viv"
|
|
# Pre-built binaries only available for ARM EABIhf
|
|
depends on BR2_ARM_EABIHF
|
|
# Library binaries are linked against libc.so.6
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC
|
|
select BR2_PACKAGE_HAS_LIBEGL
|
|
select BR2_PACKAGE_HAS_LIBGLES
|
|
select BR2_PACKAGE_HAS_LIBOPENVG
|
|
help
|
|
Userspace libraries for Vivante GPU on i.MX6 platforms
|
|
|
|
It contains libraries and headers for GLES, OpenCL, and
|
|
OpenVG. It also contains a DRI plugin for X11. It also
|
|
contains a plugin for DirectFB-1.4.0, but that doesn't work
|
|
together with buildroot's DirectFB version.
|
|
|
|
This library is provided by Freescale as-is and doesn't have
|
|
an upstream.
|
|
|
|
if BR2_PACKAGE_IMX_GPU_VIV
|
|
|
|
choice
|
|
prompt "Output option"
|
|
help
|
|
There are two versions of this library: one for
|
|
direct framebuffer access, one for X11 rendering.
|
|
Choose here which version to install.
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
bool "X11"
|
|
depends on BR2_PACKAGE_XORG7
|
|
select BR2_PACKAGE_XLIB_LIBXDAMAGE
|
|
select BR2_PACKAGE_XLIB_LIBXEXT
|
|
select BR2_PACKAGE_XLIB_LIBXFIXES
|
|
|
|
comment "X11 backend needs Xorg package"
|
|
depends on !BR2_PACKAGE_XORG7
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
|
bool "Framebuffer"
|
|
|
|
endchoice
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
|
|
string
|
|
default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
|
|
default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
|
default "imx-gpu-viv"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBGLES
|
|
default "imx-gpu-viv"
|
|
|
|
config BR2_PACKAGE_PROVIDES_LIBOPENVG
|
|
default "imx-gpu-viv"
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
|
|
bool "install examples"
|
|
help
|
|
Copy the Vivante examples to the target.
|
|
|
|
Warning: examples take approximately 150 MB of disk space.
|
|
|
|
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
|
|
bool "install gmem_info tool"
|
|
help
|
|
Copy the gmem_info tool to the target which provides
|
|
information about GPU memory consumption.
|
|
|
|
endif
|