imx-gpu-viv: install g2d library and header
PATCH 1/1 imx-gpu-viv: install g2d library and header
Freescale gpu-viv binaries archive supplies the libraries and headers for accelerated OpenGL ES, OpenCL and OpenVG on i.MX6 platforms.
This binaries archive also supplies a g2d library and its header, which allow to perform accelerated 2D operations on i.MX6 platforms in a simpler manner. Install those as well, as it is useful for some packages, such as e.g. kodi.
--- package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 2 ++ 1 file changed, 2 insertions(+)
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +2 -0
@@ -64,6 +64,7 @@ endif define IMX_GPU_VIV_INSTALL_STAGING_CMDS cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr + cp -r $(@D)/g2d/usr/* $(STAGING_DIR)/usr $(IMX_GPU_VIV_FIXUP_FB_HEADERS) for lib in egl glesv2 vg; do \ $(INSTALL) -m 0644 -D \
@@ -85,6 +86,7 @@ endif define IMX_GPU_VIV_INSTALL_TARGET_CMDS $(IMX_GPU_VIV_INSTALL_EXAMPLES) cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr + cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr for lib in EGL GAL VIVANTE GLESv2; do \ for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \ case $$f in \
Signature · 1 line
2.5.3
PATCH 1/1 imx-gpu-viv: install g2d library and header
Hi Vincent,
Quoted 7 lines · Vincent Stehl?
Freescale gpu-viv binaries archive supplies the libraries and headers for accelerated OpenGL ES, OpenCL and OpenVG on i.MX6 platforms.
This binaries archive also supplies a g2d library and its header, which allow to perform accelerated 2D operations on i.MX6 platforms in a simpler manner. Install those as well, as it is useful for some packages, such as e.g. kodi.
I CC'd you to my patch adding the same libraries back in September:
http://patchwork.ozlabs.org/patch/520309/
The difference between yours and mine is that I added an option to select the G2D libs, not sure if people wants to control it or not but it didn't cost much.
Also I added the gputools as they can be useful when debugging the GPU. Please let me know why you offered another patch.
Thanks,
Gary
PATCH 1/1 imx-gpu-viv: install g2d library and header
Quoted 3 lines
From: Gary Bisson <[email protected]>
I CC'd you to my patch adding the same libraries back in September:
http://patchwork.ozlabs.org/patch/520309/
Hi Gary,
You are right; I completely overlooked this patch, sorry. It is better to take you patch, no doubt. Thanks for your work on i.MX6 GPU in buildroot!
Best regards,
V.
PATCH 1/1 imx-gpu-viv: install g2d library and header
In reply to Vincent StehléDear Vincent Stehl?,
Quoted 10 lines · Vincent Stehl?
Freescale gpu-viv binaries archive supplies the libraries and headers for accelerated OpenGL ES, OpenCL and OpenVG on i.MX6 platforms.
This binaries archive also supplies a g2d library and its header, which allow to perform accelerated 2D operations on i.MX6 platforms in a simpler manner. Install those as well, as it is useful for some packages, such as e.g. kodi.
Signed-off-by Vincent Stehl? <[email protected]>Cc Gary Bisson <[email protected]>
I've applied Gary's patch instead:
http://git.buildroot.net/buildroot/commit/?id=f640a6659f6c5f9c99684a98de006bbccfded128
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com