Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header
@ 2015-10-12 15:03 Vincent Stehlé
  2015-10-12 15:09 ` Gary Bisson
  2015-10-12 21:44 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Vincent Stehlé @ 2015-10-12 15:03 UTC (permalink / raw)
  To: buildroot

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? <vincent.stehle@freescale.com>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
---
 package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
index aa1e3b6..bba2934 100644
--- a/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
+++ b/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
@@ -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 \
-- 
2.5.3

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header
  2015-10-12 15:03 [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header Vincent Stehlé
@ 2015-10-12 15:09 ` Gary Bisson
  2015-10-13  9:02   ` Stehle Vincent
  2015-10-12 21:44 ` Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Gary Bisson @ 2015-10-12 15:09 UTC (permalink / raw)
  To: buildroot

Hi Vincent,

On Mon, Oct 12, 2015 at 5:03 PM, Vincent Stehl?
<vincent.stehle@freescale.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header
  2015-10-12 15:03 [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header Vincent Stehlé
  2015-10-12 15:09 ` Gary Bisson
@ 2015-10-12 21:44 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2015-10-12 21:44 UTC (permalink / raw)
  To: buildroot

Dear Vincent Stehl?,

On Mon, 12 Oct 2015 17:03:14 +0200, Vincent Stehl? wrote:
> 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? <vincent.stehle@freescale.com>
> Cc: Gary Bisson <gary.bisson@boundarydevices.com>

I've applied Gary's patch instead:

   http://git.buildroot.net/buildroot/commit/?id=f640a6659f6c5f9c99684a98de006bbccfded128

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header
  2015-10-12 15:09 ` Gary Bisson
@ 2015-10-13  9:02   ` Stehle Vincent
  0 siblings, 0 replies; 4+ messages in thread
From: Stehle Vincent @ 2015-10-13  9:02 UTC (permalink / raw)
  To: buildroot

>From: Gary Bisson <gary.bisson@boundarydevices.com>
>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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-13  9:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-12 15:03 [Buildroot] [PATCH] imx-gpu-viv: install g2d library and header Vincent Stehlé
2015-10-12 15:09 ` Gary Bisson
2015-10-13  9:02   ` Stehle Vincent
2015-10-12 21:44 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox