All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Hochstein <tom.hochstein@nxp.com>
To: meta-freescale@yoctoproject.org
Subject: [PATCH v2 04/14] imx-gpu-g2d: Move imx-gpu-g2d out of imx-gpu-viv v6
Date: Wed, 15 Nov 2017 15:02:13 -0600	[thread overview]
Message-ID: <1510779743-14598-5-git-send-email-tom.hochstein@nxp.com> (raw)
In-Reply-To: <1510779743-14598-1-git-send-email-tom.hochstein@nxp.com>

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
 conf/machine/include/imx-base.inc                  |  2 +-
 .../imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb            | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f5df54e..1dbe148 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -212,7 +212,7 @@ PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv"
 
-PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-g2d"
 PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= ""
 PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
 PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb
new file mode 100644
index 0000000..8be05f9
--- /dev/null
+++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.2.2.p0.bb
@@ -0,0 +1,36 @@
+# Copyright (C) 2016 Freescale Semiconductor
+# Copyright 2017 NXP
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = "GPU G2D library and apps for imx6"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://COPYING;md5=08fd295cce89b0a9c74b9b83ed74f671"
+
+PROVIDES += "virtual/libg2d"
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+S="${WORKDIR}/${PN}-${PV}"
+
+inherit fsl-eula-unpack
+
+SRC_URI[md5sum] = "64720dda9b96fd7af5be7e2c654ab72a"
+SRC_URI[sha256sum] = "070a95aa9942bd67e8ba4012962df74143bffb9998301ac097dab5e1437000d8"
+
+do_install () {
+
+    install -d ${D}${libdir}
+    install -d ${D}${includedir}
+
+    cp ${S}/g2d/usr/lib/*.so* ${D}${libdir}
+    cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
+    cp -r ${S}/gpu-demos/opt ${D}
+}
+
+RDEPENDS_${PN} = "libgal-imx"
+
+FILES_${PN} = "${libdir}/libg2d* /opt"
+FILES_${PN}-dev = "${includedir}"
+INSANE_SKIP_${PN} = "ldflags"
+
+COMPATIBLE_MACHINE = "(mx6|mx7ulp)"
-- 
1.9.1



  parent reply	other threads:[~2017-11-15 21:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 21:02 [PATCH v2 00/14] Graphics updates for L4.9.11-1.0.0 BSP Release plus Weston 2.0 Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 01/14] libdrm: Extend ARM support to mx7 Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 02/14] eglinfo-fb: Use generic header Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 03/14] imx-gpu-apitrace: Move apitrace out of imx-gpu-viv v6 Tom Hochstein
2017-11-16 15:52   ` Otavio Salvador
2017-11-15 21:02 ` Tom Hochstein [this message]
2017-11-22  2:53   ` [PATCH v2 04/14] imx-gpu-g2d: Move imx-gpu-g2d " S. Lockwood-Childs
2017-11-22 18:09     ` Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 05/14] imx-gpu-viv: Upgrade to 6.2.2.p0 Tom Hochstein
2017-11-16 11:37   ` Gary Bisson
2017-11-16 12:43     ` Otavio Salvador
2017-11-17 22:37       ` Prabhu Sundararaj
2017-11-20 11:26         ` Otavio Salvador
2017-11-15 21:02 ` [PATCH v2 06/14] imx-gpu-viv: Add systemd init Tom Hochstein
2017-11-16 15:50   ` Otavio Salvador
2017-11-15 21:02 ` [PATCH v2 07/14] mesa: Remove parts provided by imx-gpu-viv v6 Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 08/14] piglit: Remove redundant dependency Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 09/14] xserver-xf86-config: Add Xorg configuration for i.MX 6SLL and 7ULP Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 10/14] xf86-video-imxfb-vivante: Upgrade to 6.2.2.p0 Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 11/14] gtk+3: Use egl pkgconfig for build setup Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 12/14] weston: Switch to 2.0 with i.MX fork Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 13/14] weston-init: Fix weston 2.0 startup for pam, systemd case Tom Hochstein
2017-11-15 21:02 ` [PATCH v2 14/14] libepoxy: Fix build break for EGL_CAST dependency Tom Hochstein
2017-11-16 15:48   ` Otavio Salvador
2017-11-16 15:54 ` [PATCH v2 00/14] Graphics updates for L4.9.11-1.0.0 BSP Release plus Weston 2.0 Otavio Salvador
2017-11-16 16:26   ` Tom Hochstein
2017-11-16 16:36     ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1510779743-14598-5-git-send-email-tom.hochstein@nxp.com \
    --to=tom.hochstein@nxp.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.