All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] gstreamer: make accelerated recipes instead of appends
@ 2014-07-01 15:25 Chase Maupin
  2014-07-01 15:25 ` [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip Chase Maupin
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Chase Maupin @ 2014-07-01 15:25 UTC (permalink / raw)
  To: meta-arago

* Previously adding acceleration was done by appending the base
  GStreamer recipes to pull a new SRC_URI and make some other
  simple changes.
* Now there is a need to be able to control whether to use the
  accelerated version of GStreamer or not.
    * In this case we need to be able to control this because
      the foundation software for IPC is not yet in place to
      allow us to build accelerated GStreamer plugins among
      other packages.
* Instead, make a new package name for the GStreamer elements
  by appending -mm-accel to the recipe name and have these
  package PROVIDE and RPROVIDE the same packages as the base
  recipes.
    * This new recipe also requires the base recipe so that
      changes can be shared between them.
* The use of these -mm-accel recipes requires the MACHINE_FEATURES
  to specify mmip ability and the recipe checks if that is
  available in order to parse properly.
* Following patches will set the PREFERRED_PROVIDER for these
  elements also based on the mmip MACHINE_FEATURE.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 .../gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb  |   42 ++++++++++++++++++++
 .../gstreamer/gst-plugins-bad_0.10.23.bbappend     |   22 ----------
 .../gstreamer/gst-plugins-base-mm-accel_0.10.36.bb |   40 +++++++++++++++++++
 .../gstreamer/gst-plugins-base_0.10.36.bbappend    |   20 ----------
 .../gstreamer/gst-plugins-good-mm-accel_0.10.31.bb |   42 ++++++++++++++++++++
 .../gstreamer/gst-plugins-good_0.10.31.bbappend    |   23 -----------
 .../gstreamer/gstreamer-mm-accel_0.10.36.bb        |   33 +++++++++++++++
 .../gstreamer/gstreamer_0.10.36.bbappend           |   14 -------
 8 files changed, 157 insertions(+), 79 deletions(-)
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb
 delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-mm-accel_0.10.36.bb
 delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bbappend
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-mm-accel_0.10.31.bb
 delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bbappend
 create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb
 delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gstreamer_0.10.36.bbappend

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb
new file mode 100644
index 0000000..7f0bd86
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb
@@ -0,0 +1,42 @@
+# This recipe is not valid when not using accelerated multimedia IP
+python __anonymous() {
+    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
+    if not features:
+        return
+    if "mmip" not in features:
+        raise bb.parse.SkipPackage('gst-plugins-bad needs dependencies derived from "mmip" flag in MACHINE_FEATURES')
+}
+
+# Include the base gst-plugins-bad recipe since this recipe is heavily
+# derived from that one.
+require recipes-multimedia/gstreamer/gst-plugins-bad_${PV}.bb
+
+DESCRIPTION = "GStreamer bad plugins that use multimedia accelerators found on \
+               TI devices"
+
+# Set PROVIDES and RPROVIDES values so that the base recipe names can still
+# be used and PREFERRED_PROVIDER can be used to pick between them.
+PROVIDES += "gst-plugins-bad"
+RPROVIDES_${PN} += "gst-plugins-bad"
+RPROVIDES_${PN}-dev += "gst-plugins-bad-dev"
+RPROVIDES_${PN}-meta += "gst-plugins-bad-meta"
+
+DEPENDS += "omap5-sgx-ddk-um-linux libdce libdrm wayland"
+
+SRCREV = "f2df6f3b684f39500e22115b160191cef6d7dbaf"
+SRC_URI = "git://git.ti.com/glsdk/gst-plugins-bad0-10.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OECONF += " --disable-pvr"
+
+do_configure_prepend() {
+	git submodule init && git submodule update
+	autopoint -f
+}
+
+FILES_${PN} += "\
+                ${libdir}/*.so \
+                ${libdir}/gstreamer-0.10/*"
+
+FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-plugins-bad-${PV}"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
deleted file mode 100644
index 74cc9ce..0000000
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
+++ /dev/null
@@ -1,22 +0,0 @@
-DEPENDS_append_omap-a15 = " omap5-sgx-ddk-um-linux libdce libdrm wayland "
-
-# Make MACHINE specific since we pull different sources per MACHINE
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR_append = "-arago1"
-
-SRCREV = "f2df6f3b684f39500e22115b160191cef6d7dbaf"
-SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-bad0-10.git;protocol=git"
-
-S_omap-a15 = "${WORKDIR}/git"
-
-EXTRA_OECONF += " --disable-pvr"
-
-do_configure_prepend_omap-a15() {
-	git submodule init && git submodule update
-	autopoint -f
-}
-
-FILES_${PN} += "\
-                ${libdir}/*.so \
-                ${libdir}/gstreamer-0.10/*"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-mm-accel_0.10.36.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-mm-accel_0.10.36.bb
new file mode 100644
index 0000000..3afb27d
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-mm-accel_0.10.36.bb
@@ -0,0 +1,40 @@
+# This recipe is not valid when not using accelerated multimedia IP
+python __anonymous() {
+    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
+    if not features:
+        return
+    if "mmip" not in features:
+        raise bb.parse.SkipPackage('gst-plugins-base needs dependencies derived from "mmip" flag in MACHINE_FEATURES')
+}
+
+# Include the base gst-plugins-base recipe since this recipe is heavily
+# derived from that one.
+require recipes-multimedia/gstreamer/gst-plugins-base_${PV}.bb
+
+DESCRIPTION = "GStreamer base plugins that use multimedia accelerators found \
+               on TI devices"
+
+# Set PROVIDES and RPROVIDES values so that the base recipe names can still
+# be used and PREFERRED_PROVIDER can be used to pick between them.
+PROVIDES += "gst-plugins-base"
+RPROVIDES_${PN} += "gst-plugins-base"
+RPROVIDES_${PN}-dev += "gst-plugins-base-dev"
+RPROVIDES_${PN}-meta += "gst-plugins-base-meta"
+
+SRC_URI = "git://git.ti.com/glsdk/gst-plugins-base0-10.git;protocol=git"
+SRCREV = "21305017f6095ad6e9b1a8f1006ee5be780b21f8"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+	git submodule init && git submodule update
+	autopoint -f
+}
+
+EXTRA_OECONF +="--disable-ivorbis "
+
+FILES_${PN} += "\
+                ${libdir}/*.so \
+                ${libdir}/gstreamer-0.10/*"
+
+FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-plugins-base-${PV}"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bbappend
deleted file mode 100644
index 6691ee3..0000000
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base_0.10.36.bbappend
+++ /dev/null
@@ -1,20 +0,0 @@
-PR_append = "-arago1"
-
-# Make MACHINE specific since we pull different sources per MACHINE
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-base0-10.git;protocol=git"
-SRCREV = "21305017f6095ad6e9b1a8f1006ee5be780b21f8"
-
-S_omap-a15 = "${WORKDIR}/git"
-
-do_configure_prepend_omap-a15() {
-	git submodule init && git submodule update
-	autopoint -f
-}
-
-EXTRA_OECONF +="--disable-ivorbis "
-
-FILES_${PN} += "\
-                ${libdir}/*.so \
-                ${libdir}/gstreamer-0.10/*"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-mm-accel_0.10.31.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-mm-accel_0.10.31.bb
new file mode 100644
index 0000000..b83531f
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-mm-accel_0.10.31.bb
@@ -0,0 +1,42 @@
+# This recipe is not valid when not using accelerated multimedia IP
+python __anonymous() {
+    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
+    if not features:
+        return
+    if "mmip" not in features:
+        raise bb.parse.SkipPackage('gst-plugins-good needs dependencies derived from "mmip" flag in MACHINE_FEATURES')
+}
+
+# Include the base gst-plugins-bad recipe since this recipe is heavily
+# derived from that one.
+require recipes-multimedia/gstreamer/gst-plugins-good_${PV}.bb
+
+DESCRIPTION = "GStreamer good plugins that use multimedia accelerators found \
+               on TI devices"
+
+# Set PROVIDES and RPROVIDES values so that the base recipe names can still
+# be used and PREFERRED_PROVIDER can be used to pick between them.
+PROVIDES += "gst-plugins-good"
+RPROVIDES_${PN} += "gst-plugins-good"
+RPROVIDES_${PN}-dev += "gst-plugins-good-dev"
+RPROVIDES_${PN}-meta += "gst-plugins-good-meta"
+
+SRC_URI = "git://git.ti.com/glsdk/gst-plugins-good0-10.git;protocol=git"
+SRCREV = "733289614c50ff4e490d5a37ec4af3a540d1dfb9"
+
+# Fix compile errors with recent kernels
+SRC_URI_append = " file://0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch \
+                   file://0001-v4l2_calls-define-V4L2_CID_HCENTER-and-V4L2_CID_VCEN.patch"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+	git submodule init && git submodule update
+	autopoint -f
+}
+
+FILES_${PN} += "\
+                ${libdir}/*.so \
+                ${libdir}/gstreamer-0.10/*"
+
+FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-plugins-good-${PV}"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bbappend
deleted file mode 100644
index fdd94e3..0000000
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good_0.10.31.bbappend
+++ /dev/null
@@ -1,23 +0,0 @@
-PR_append = "-arago1"
-
-# Make MACHINE specific since we pull different sources per MACHINE
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-good0-10.git;protocol=git"
-SRCREV = "733289614c50ff4e490d5a37ec4af3a540d1dfb9"
-
-# Fix compile errors with recent kernels
-SRC_URI_append_omap-a15 = " file://0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch \
-            file://0001-v4l2_calls-define-V4L2_CID_HCENTER-and-V4L2_CID_VCEN.patch"
-
-S_omap-a15 = "${WORKDIR}/git"
-
-do_configure_prepend_omap-a15() {
-	git submodule init && git submodule update
-	autopoint -f
-}
-
-FILES_${PN} += "\
-                ${libdir}/*.so \
-                ${libdir}/gstreamer-0.10/*"
-
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb
new file mode 100644
index 0000000..9dd929f
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb
@@ -0,0 +1,33 @@
+# This recipe is not valid when not using accelerated multimedia IP
+python __anonymous() {
+    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
+    if not features:
+        return
+    if "mmip" not in features:
+        raise bb.parse.SkipPackage('gstreamer needs dependencies derived from "mmip" flag in MACHINE_FEATURES')
+}
+
+# Include the base gst-plugins-bad recipe since this recipe is heavily
+# derived from that one.
+require recipes-multimedia/gstreamer/gstreamer_${PV}.bb
+
+DESCRIPTION = "GStreamer that use multimedia accelerators found on TI devices"
+
+# Set PROVIDES and RPROVIDES values so that the base recipe names can still
+# be used and PREFERRED_PROVIDER can be used to pick between them.
+PROVIDES += "gstreamer"
+RPROVIDES_${PN} += "gstreamer"
+RPROVIDES_${PN}-dev += "gstreamer-dev"
+RPROVIDES_${PN}-meta += "gstreamer-meta"
+
+SRC_URI = "git://git.ti.com/glsdk/gstreamer0-10.git;protocol=git"
+SRCREV = "e505f4a2ceee3b0328eb2efddb9ec1281d3fd60a"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+	git submodule init && git submodule update
+	autopoint -f
+}
+
+FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gstreamer-${PV}"
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer_0.10.36.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer_0.10.36.bbappend
deleted file mode 100644
index 3c97b63..0000000
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer_0.10.36.bbappend
+++ /dev/null
@@ -1,14 +0,0 @@
-SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gstreamer0-10.git;protocol=git"
-SRCREV = "e505f4a2ceee3b0328eb2efddb9ec1281d3fd60a"
-
-# Make MACHINE specific since we pull different sources per MACHINE
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-PR_append = "-arago1"
-
-S_omap-a15 = "${WORKDIR}/git"
-
-do_configure_prepend_omap-a15() {
-	git submodule init && git submodule update
-	autopoint -f
-}
-- 
1.7.9.5



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

* [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip
  2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
@ 2014-07-01 15:25 ` Chase Maupin
  2014-07-01 16:05   ` Cooper Jr., Franklin
  2014-07-01 15:25 ` [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend " Chase Maupin
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Chase Maupin @ 2014-07-01 15:25 UTC (permalink / raw)
  To: meta-arago

* Set the preferred provider for GStreamer elements to accelerated
  elements only if the MACHINE_FEATURES include the mmip attribute.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 .../conf/distro/include/arago-prefs.inc            |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index 6773053..8261d10 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -99,6 +99,11 @@ PREFERRED_PROVIDER_wpa-supplicant = "wpa-supplicant"
 PREFERRED_PROVIDER_wpa-supplicant_ti33x = "wpa-supplicant-wl18xx"
 PREFERRED_PROVIDER_wpa-supplicant_ti43x = "wpa-supplicant-wl18xx"
 
+PREFERRED_PROVIDER_gstreamer = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gstreamer-mm-accel', 'gstreamer', d)}"
+PREFERRED_PROVIDER_gst-plugins-bad = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-bad-mm-accel', 'gst-plugins-bad', d)}"
+PREFERRED_PROVIDER_gst-plugins-base = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-base-mm-accel', 'gst-plugins-base', d)}"
+PREFERRED_PROVIDER_gst-plugins-good = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-good-mm-accel', 'gst-plugins-good', d)}"
+
 def filter_out(f, str, d):
     from re import match
     return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
-- 
1.7.9.5



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

* [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend on mmip
  2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
  2014-07-01 15:25 ` [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip Chase Maupin
@ 2014-07-01 15:25 ` Chase Maupin
  2014-07-01 16:06   ` Cooper Jr., Franklin
  2014-07-01 15:25 ` [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature Chase Maupin
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Chase Maupin @ 2014-07-01 15:25 UTC (permalink / raw)
  To: meta-arago

* The omapdrmtest package has dependencies on libdce which are
  only valid when the MACHINE_FEATURES include mmip.  So don't
  include this when that feature doesn't exist.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 .../packagegroups/packagegroup-arago-test.bb       |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb
index 54d44e1..429858b 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-test.bb
@@ -33,7 +33,7 @@ ARAGO_TI_TEST = "\
 ARAGO_TI_TEST_append_omap-a15 = " \
     omapconf \
     ipc-test-fw \
-    omapdrmtest \
+    ${@base_contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)} \
     bvtest \
     "
 
-- 
1.7.9.5



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

* [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature
  2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
  2014-07-01 15:25 ` [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip Chase Maupin
  2014-07-01 15:25 ` [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend " Chase Maupin
@ 2014-07-01 15:25 ` Chase Maupin
  2014-07-01 16:07   ` Cooper Jr., Franklin
  2014-07-01 15:26 ` [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip Chase Maupin
  2014-07-01 16:05 ` [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Cooper Jr., Franklin
  4 siblings, 1 reply; 11+ messages in thread
From: Chase Maupin @ 2014-07-01 15:25 UTC (permalink / raw)
  To: meta-arago

* Don't include the multimedia accelerated elements when the
  MACHINE_FEATURES do not include the mmip feature.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 .../packagegroups/packagegroup-arago-gst.bb        |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
index 03a04c4..a5367ea 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add gstreamer and gstreamer plugins"
 LICENSE = "MIT"
-PR = "r7"
+PR = "r8"
 
 inherit packagegroup
 
@@ -15,8 +15,8 @@ GSTREAMER = " \
 "
 
 GSTREAMER_ACCEL_MM = ""
-GSTREAMER_ACCEL_MM_omap-a15 = "gst-plugins-ducati"
-GSTREAMER_ACCEL_MM_append_dra7xx = " gst-plugins-vpe"
+GSTREAMER_ACCEL_MM_omap-a15 = "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-ducati', '', d)}"
+GSTREAMER_ACCEL_MM_append_dra7xx = "${@base_contains('MACHINE_FEATURES', 'mmip', ' gst-plugins-vpe', '', d)}"
 
 RDEPENDS_${PN} = "\
     ${GSTREAMER} \
-- 
1.7.9.5



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

* [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip
  2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
                   ` (2 preceding siblings ...)
  2014-07-01 15:25 ` [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature Chase Maupin
@ 2014-07-01 15:26 ` Chase Maupin
  2014-07-01 16:07   ` Cooper Jr., Franklin
  2014-07-01 16:05 ` [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Cooper Jr., Franklin
  4 siblings, 1 reply; 11+ messages in thread
From: Chase Maupin @ 2014-07-01 15:26 UTC (permalink / raw)
  To: meta-arago

* Including the ipumm-fw package without mmip accelerators doesn't
  make sense.  So don't package this when MACHINE_FEATURES doesn't
  include mmip.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
---
 .../packagegroup-arago-tisdk-multimedia.bb         |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
index b044f58..417b0a8 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
@@ -40,15 +40,15 @@ MULTIMEDIA_append_am3517-evm = " \
 
 ACCEL_FW = ""
 ACCEL_FW_append_am57xx-evm = " \
-    ipumm-fw \
+    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
     "
 
 ACCEL_FW_append_omap5-evm = " \
-    ipumm-fw \
+    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
     "
 
 ACCEL_FW_append_dra7xx-evm = " \
-    ipumm-fw \
+    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
     dspdce-fw \
     vis \
     "
-- 
1.7.9.5



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

* Re: [PATCH 1/5] gstreamer: make accelerated recipes instead of appends
  2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
                   ` (3 preceding siblings ...)
  2014-07-01 15:26 ` [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip Chase Maupin
@ 2014-07-01 16:05 ` Cooper Jr., Franklin
  4 siblings, 0 replies; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 16:05 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago


Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Maupin, Chase
> Sent: Tuesday, July 01, 2014 10:26 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 1/5] gstreamer: make accelerated recipes
> instead of appends
> 
> * Previously adding acceleration was done by appending the base
>   GStreamer recipes to pull a new SRC_URI and make some other
>   simple changes.
> * Now there is a need to be able to control whether to use the
>   accelerated version of GStreamer or not.
>     * In this case we need to be able to control this because
>       the foundation software for IPC is not yet in place to
>       allow us to build accelerated GStreamer plugins among
>       other packages.
> * Instead, make a new package name for the GStreamer elements
>   by appending -mm-accel to the recipe name and have these
>   package PROVIDE and RPROVIDE the same packages as the base
>   recipes.
>     * This new recipe also requires the base recipe so that
>       changes can be shared between them.
> * The use of these -mm-accel recipes requires the MACHINE_FEATURES
>   to specify mmip ability and the recipe checks if that is
>   available in order to parse properly.
> * Following patches will set the PREFERRED_PROVIDER for these
>   elements also based on the mmip MACHINE_FEATURE.
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  .../gstreamer/gst-plugins-bad-mm-accel_0.10.23.bb  |   42
> ++++++++++++++++++++
>  .../gstreamer/gst-plugins-bad_0.10.23.bbappend     |   22 ----------
>  .../gstreamer/gst-plugins-base-mm-accel_0.10.36.bb |   40
> +++++++++++++++++++
>  .../gstreamer/gst-plugins-base_0.10.36.bbappend    |   20 ----------
>  .../gstreamer/gst-plugins-good-mm-accel_0.10.31.bb |   42
> ++++++++++++++++++++
>  .../gstreamer/gst-plugins-good_0.10.31.bbappend    |   23 -----------
>  .../gstreamer/gstreamer-mm-accel_0.10.36.bb        |   33 +++++++++++++++
>  .../gstreamer/gstreamer_0.10.36.bbappend           |   14 -------
>  8 files changed, 157 insertions(+), 79 deletions(-)  create mode 100644 meta-
> arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-
> accel_0.10.23.bb
>  delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-bad_0.10.23.bbappend
>  create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-base-mm-accel_0.10.36.bb
>  delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-base_0.10.36.bbappend
>  create mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-good-mm-accel_0.10.31.bb
>  delete mode 100644 meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-good_0.10.31.bbappend
>  create mode 100644 meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb
>  delete mode 100644 meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer_0.10.36.bbappend
> 
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-
> mm-accel_0.10.23.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-bad-mm-accel_0.10.23.bb
> new file mode 100644
> index 0000000..7f0bd86
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-bad-mm-
> +++ accel_0.10.23.bb
> @@ -0,0 +1,42 @@
> +# This recipe is not valid when not using accelerated multimedia IP
> +python __anonymous() {
> +    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
> +    if not features:
> +        return
> +    if "mmip" not in features:
> +        raise bb.parse.SkipPackage('gst-plugins-bad needs dependencies
> +derived from "mmip" flag in MACHINE_FEATURES') }
> +
> +# Include the base gst-plugins-bad recipe since this recipe is heavily
> +# derived from that one.
> +require recipes-multimedia/gstreamer/gst-plugins-bad_${PV}.bb
> +
> +DESCRIPTION = "GStreamer bad plugins that use multimedia accelerators
> found on \
> +               TI devices"
> +
> +# Set PROVIDES and RPROVIDES values so that the base recipe names can
> +still # be used and PREFERRED_PROVIDER can be used to pick between them.
> +PROVIDES += "gst-plugins-bad"
> +RPROVIDES_${PN} += "gst-plugins-bad"
> +RPROVIDES_${PN}-dev += "gst-plugins-bad-dev"
> +RPROVIDES_${PN}-meta += "gst-plugins-bad-meta"
> +
> +DEPENDS += "omap5-sgx-ddk-um-linux libdce libdrm wayland"
> +
> +SRCREV = "f2df6f3b684f39500e22115b160191cef6d7dbaf"
> +SRC_URI = "git://git.ti.com/glsdk/gst-plugins-bad0-10.git;protocol=git"
> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OECONF += " --disable-pvr"
> +
> +do_configure_prepend() {
> +	git submodule init && git submodule update
> +	autopoint -f
> +}
> +
> +FILES_${PN} += "\
> +                ${libdir}/*.so \
> +                ${libdir}/gstreamer-0.10/*"
> +
> +FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-
> plugins-bad-${PV}"
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> bad_0.10.23.bbappend b/meta-arago-extras/recipes-
> multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
> deleted file mode 100644
> index 74cc9ce..0000000
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> bad_0.10.23.bbappend
> +++ /dev/null
> @@ -1,22 +0,0 @@
> -DEPENDS_append_omap-a15 = " omap5-sgx-ddk-um-linux libdce libdrm
> wayland "
> -
> -# Make MACHINE specific since we pull different sources per MACHINE -
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -PR_append = "-arago1"
> -
> -SRCREV = "f2df6f3b684f39500e22115b160191cef6d7dbaf"
> -SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-bad0-
> 10.git;protocol=git"
> -
> -S_omap-a15 = "${WORKDIR}/git"
> -
> -EXTRA_OECONF += " --disable-pvr"
> -
> -do_configure_prepend_omap-a15() {
> -	git submodule init && git submodule update
> -	autopoint -f
> -}
> -
> -FILES_${PN} += "\
> -                ${libdir}/*.so \
> -                ${libdir}/gstreamer-0.10/*"
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-
> mm-accel_0.10.36.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-base-mm-accel_0.10.36.bb
> new file mode 100644
> index 0000000..3afb27d
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-base-mm
> +++ -accel_0.10.36.bb
> @@ -0,0 +1,40 @@
> +# This recipe is not valid when not using accelerated multimedia IP
> +python __anonymous() {
> +    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
> +    if not features:
> +        return
> +    if "mmip" not in features:
> +        raise bb.parse.SkipPackage('gst-plugins-base needs dependencies
> +derived from "mmip" flag in MACHINE_FEATURES') }
> +
> +# Include the base gst-plugins-base recipe since this recipe is heavily
> +# derived from that one.
> +require recipes-multimedia/gstreamer/gst-plugins-base_${PV}.bb
> +
> +DESCRIPTION = "GStreamer base plugins that use multimedia accelerators
> found \
> +               on TI devices"
> +
> +# Set PROVIDES and RPROVIDES values so that the base recipe names can
> +still # be used and PREFERRED_PROVIDER can be used to pick between them.
> +PROVIDES += "gst-plugins-base"
> +RPROVIDES_${PN} += "gst-plugins-base"
> +RPROVIDES_${PN}-dev += "gst-plugins-base-dev"
> +RPROVIDES_${PN}-meta += "gst-plugins-base-meta"
> +
> +SRC_URI = "git://git.ti.com/glsdk/gst-plugins-base0-10.git;protocol=git"
> +SRCREV = "21305017f6095ad6e9b1a8f1006ee5be780b21f8"
> +
> +S = "${WORKDIR}/git"
> +
> +do_configure_prepend() {
> +	git submodule init && git submodule update
> +	autopoint -f
> +}
> +
> +EXTRA_OECONF +="--disable-ivorbis "
> +
> +FILES_${PN} += "\
> +                ${libdir}/*.so \
> +                ${libdir}/gstreamer-0.10/*"
> +
> +FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-
> plugins-base-${PV}"
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> base_0.10.36.bbappend b/meta-arago-extras/recipes-
> multimedia/gstreamer/gst-plugins-base_0.10.36.bbappend
> deleted file mode 100644
> index 6691ee3..0000000
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> base_0.10.36.bbappend
> +++ /dev/null
> @@ -1,20 +0,0 @@
> -PR_append = "-arago1"
> -
> -# Make MACHINE specific since we pull different sources per MACHINE -
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-base0-
> 10.git;protocol=git"
> -SRCREV = "21305017f6095ad6e9b1a8f1006ee5be780b21f8"
> -
> -S_omap-a15 = "${WORKDIR}/git"
> -
> -do_configure_prepend_omap-a15() {
> -	git submodule init && git submodule update
> -	autopoint -f
> -}
> -
> -EXTRA_OECONF +="--disable-ivorbis "
> -
> -FILES_${PN} += "\
> -                ${libdir}/*.so \
> -                ${libdir}/gstreamer-0.10/*"
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-
> mm-accel_0.10.31.bb b/meta-arago-extras/recipes-multimedia/gstreamer/gst-
> plugins-good-mm-accel_0.10.31.bb
> new file mode 100644
> index 0000000..b83531f
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-good-mm
> +++ -accel_0.10.31.bb
> @@ -0,0 +1,42 @@
> +# This recipe is not valid when not using accelerated multimedia IP
> +python __anonymous() {
> +    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
> +    if not features:
> +        return
> +    if "mmip" not in features:
> +        raise bb.parse.SkipPackage('gst-plugins-good needs dependencies
> +derived from "mmip" flag in MACHINE_FEATURES') }
> +
> +# Include the base gst-plugins-bad recipe since this recipe is heavily
> +# derived from that one.
> +require recipes-multimedia/gstreamer/gst-plugins-good_${PV}.bb
> +
> +DESCRIPTION = "GStreamer good plugins that use multimedia accelerators
> found \
> +               on TI devices"
> +
> +# Set PROVIDES and RPROVIDES values so that the base recipe names can
> +still # be used and PREFERRED_PROVIDER can be used to pick between them.
> +PROVIDES += "gst-plugins-good"
> +RPROVIDES_${PN} += "gst-plugins-good"
> +RPROVIDES_${PN}-dev += "gst-plugins-good-dev"
> +RPROVIDES_${PN}-meta += "gst-plugins-good-meta"
> +
> +SRC_URI = "git://git.ti.com/glsdk/gst-plugins-good0-10.git;protocol=git"
> +SRCREV = "733289614c50ff4e490d5a37ec4af3a540d1dfb9"
> +
> +# Fix compile errors with recent kernels SRC_URI_append = "
> +file://0001-v4l2-fix-build-with-recent-kernels-the-v4l2_buffer-i.patch \
> +                   file://0001-v4l2_calls-define-V4L2_CID_HCENTER-and-
> V4L2_CID_VCEN.patch"
> +
> +S = "${WORKDIR}/git"
> +
> +do_configure_prepend() {
> +	git submodule init && git submodule update
> +	autopoint -f
> +}
> +
> +FILES_${PN} += "\
> +                ${libdir}/*.so \
> +                ${libdir}/gstreamer-0.10/*"
> +
> +FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gst-
> plugins-good-${PV}"
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> good_0.10.31.bbappend b/meta-arago-extras/recipes-
> multimedia/gstreamer/gst-plugins-good_0.10.31.bbappend
> deleted file mode 100644
> index fdd94e3..0000000
> --- a/meta-arago-extras/recipes-multimedia/gstreamer/gst-plugins-
> good_0.10.31.bbappend
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -PR_append = "-arago1"
> -
> -# Make MACHINE specific since we pull different sources per MACHINE -
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gst-plugins-good0-
> 10.git;protocol=git"
> -SRCREV = "733289614c50ff4e490d5a37ec4af3a540d1dfb9"
> -
> -# Fix compile errors with recent kernels
> -SRC_URI_append_omap-a15 = " file://0001-v4l2-fix-build-with-recent-kernels-
> the-v4l2_buffer-i.patch \
> -            file://0001-v4l2_calls-define-V4L2_CID_HCENTER-and-
> V4L2_CID_VCEN.patch"
> -
> -S_omap-a15 = "${WORKDIR}/git"
> -
> -do_configure_prepend_omap-a15() {
> -	git submodule init && git submodule update
> -	autopoint -f
> -}
> -
> -FILES_${PN} += "\
> -                ${libdir}/*.so \
> -                ${libdir}/gstreamer-0.10/*"
> -
> diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-
> accel_0.10.36.bb b/meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer-mm-accel_0.10.36.bb
> new file mode 100644
> index 0000000..9dd929f
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer-mm-accel_
> +++ 0.10.36.bb
> @@ -0,0 +1,33 @@
> +# This recipe is not valid when not using accelerated multimedia IP
> +python __anonymous() {
> +    features = bb.data.getVar("MACHINE_FEATURES", d, 1)
> +    if not features:
> +        return
> +    if "mmip" not in features:
> +        raise bb.parse.SkipPackage('gstreamer needs dependencies
> +derived from "mmip" flag in MACHINE_FEATURES') }
> +
> +# Include the base gst-plugins-bad recipe since this recipe is heavily
> +# derived from that one.
> +require recipes-multimedia/gstreamer/gstreamer_${PV}.bb
> +
> +DESCRIPTION = "GStreamer that use multimedia accelerators found on TI
> devices"
> +
> +# Set PROVIDES and RPROVIDES values so that the base recipe names can
> +still # be used and PREFERRED_PROVIDER can be used to pick between them.
> +PROVIDES += "gstreamer"
> +RPROVIDES_${PN} += "gstreamer"
> +RPROVIDES_${PN}-dev += "gstreamer-dev"
> +RPROVIDES_${PN}-meta += "gstreamer-meta"
> +
> +SRC_URI = "git://git.ti.com/glsdk/gstreamer0-10.git;protocol=git"
> +SRCREV = "e505f4a2ceee3b0328eb2efddb9ec1281d3fd60a"
> +
> +S = "${WORKDIR}/git"
> +
> +do_configure_prepend() {
> +	git submodule init && git submodule update
> +	autopoint -f
> +}
> +
> +FILESPATH .= ":${COREBASE}/meta/recipes-multimedia/gstreamer/gstreamer-
> ${PV}"
> diff --git a/meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer_0.10.36.bbappend b/meta-arago-
> extras/recipes-multimedia/gstreamer/gstreamer_0.10.36.bbappend
> deleted file mode 100644
> index 3c97b63..0000000
> --- a/meta-arago-extras/recipes-
> multimedia/gstreamer/gstreamer_0.10.36.bbappend
> +++ /dev/null
> @@ -1,14 +0,0 @@
> -SRC_URI_omap-a15 = "git://git.ti.com/glsdk/gstreamer0-10.git;protocol=git"
> -SRCREV = "e505f4a2ceee3b0328eb2efddb9ec1281d3fd60a"
> -
> -# Make MACHINE specific since we pull different sources per MACHINE -
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -PR_append = "-arago1"
> -
> -S_omap-a15 = "${WORKDIR}/git"
> -
> -do_configure_prepend_omap-a15() {
> -	git submodule init && git submodule update
> -	autopoint -f
> -}
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip
  2014-07-01 15:25 ` [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip Chase Maupin
@ 2014-07-01 16:05   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 16:05 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Maupin, Chase
> Sent: Tuesday, July 01, 2014 10:26 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for
> gstreamer based on mmip
> 
> * Set the preferred provider for GStreamer elements to accelerated
>   elements only if the MACHINE_FEATURES include the mmip attribute.
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  .../conf/distro/include/arago-prefs.inc            |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-
> arago-distro/conf/distro/include/arago-prefs.inc
> index 6773053..8261d10 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -99,6 +99,11 @@ PREFERRED_PROVIDER_wpa-supplicant = "wpa-
> supplicant"
>  PREFERRED_PROVIDER_wpa-supplicant_ti33x = "wpa-supplicant-wl18xx"
>  PREFERRED_PROVIDER_wpa-supplicant_ti43x = "wpa-supplicant-wl18xx"
> 
> +PREFERRED_PROVIDER_gstreamer =
> "${@base_contains('MACHINE_FEATURES', 'mmip', 'gstreamer-mm-accel',
> 'gstreamer', d)}"
> +PREFERRED_PROVIDER_gst-plugins-bad =
> "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-bad-mm-accel',
> 'gst-plugins-bad', d)}"
> +PREFERRED_PROVIDER_gst-plugins-base =
> "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-base-mm-
> accel', 'gst-plugins-base', d)}"
> +PREFERRED_PROVIDER_gst-plugins-good =
> "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-good-mm-
> accel', 'gst-plugins-good', d)}"
> +
>  def filter_out(f, str, d):
>      from re import match
>      return " ".join(filter(lambda x: not match(f, x, 0), str.split()))
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend on mmip
  2014-07-01 15:25 ` [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend " Chase Maupin
@ 2014-07-01 16:06   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 16:06 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Maupin, Chase
> Sent: Tuesday, July 01, 2014 10:26 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 3/5] packagegroup-arago-test: make
> omapdrmtest depend on mmip
> 
> * The omapdrmtest package has dependencies on libdce which are
>   only valid when the MACHINE_FEATURES include mmip.  So don't
>   include this when that feature doesn't exist.
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  .../packagegroups/packagegroup-arago-test.bb       |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-test.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-test.bb
> index 54d44e1..429858b 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> test.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> test.bb
[Franklin] Has the PR server been enabled yet? If not PR bump.
> @@ -33,7 +33,7 @@ ARAGO_TI_TEST = "\
>  ARAGO_TI_TEST_append_omap-a15 = " \
>      omapconf \
>      ipc-test-fw \
> -    omapdrmtest \
> +    ${@base_contains('MACHINE_FEATURES', 'mmip', 'omapdrmtest', '', d)} \
>      bvtest \
>      "
> 
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature
  2014-07-01 15:25 ` [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature Chase Maupin
@ 2014-07-01 16:07   ` Cooper Jr., Franklin
  0 siblings, 0 replies; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 16:07 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago

Acked-by: Franklin Cooper Jr. <fcooper@ti.com>


> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Maupin, Chase
> Sent: Tuesday, July 01, 2014 10:26 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 4/5] packagegroup-arago-gst: make mmip
> elements depend on mmip feature
> 
> * Don't include the multimedia accelerated elements when the
>   MACHINE_FEATURES do not include the mmip feature.
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  .../packagegroups/packagegroup-arago-gst.bb        |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-gst.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-gst.bb
> index 03a04c4..a5367ea 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> gst.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> gst.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to add gstreamer and gstreamer plugins"
>  LICENSE = "MIT"
> -PR = "r7"
> +PR = "r8"
> 
>  inherit packagegroup
> 
> @@ -15,8 +15,8 @@ GSTREAMER = " \
>  "
> 
>  GSTREAMER_ACCEL_MM = ""
> -GSTREAMER_ACCEL_MM_omap-a15 = "gst-plugins-ducati"
> -GSTREAMER_ACCEL_MM_append_dra7xx = " gst-plugins-vpe"
> +GSTREAMER_ACCEL_MM_omap-a15 =
> "${@base_contains('MACHINE_FEATURES', 'mmip', 'gst-plugins-ducati', '', d)}"
> +GSTREAMER_ACCEL_MM_append_dra7xx =
> "${@base_contains('MACHINE_FEATURES', 'mmip', ' gst-plugins-vpe', '', d)}"
> 
>  RDEPENDS_${PN} = "\
>      ${GSTREAMER} \
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip
  2014-07-01 15:26 ` [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip Chase Maupin
@ 2014-07-01 16:07   ` Cooper Jr., Franklin
  2014-07-01 18:11     ` Cooper Jr., Franklin
  0 siblings, 1 reply; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 16:07 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago


Acked-by: Franklin Cooper Jr. <fcooper@ti.com>

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Maupin, Chase
> Sent: Tuesday, July 01, 2014 10:26 AM
> To: meta-arago@arago-project.org
> Subject: [meta-arago] [PATCH 5/5] packagegroup-arago-tisdk-multimedia:
> don't inlcude ipumm fw without mmip
> 
> * Including the ipumm-fw package without mmip accelerators doesn't
>   make sense.  So don't package this when MACHINE_FEATURES doesn't
>   include mmip.
> 
> Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> ---
>  .../packagegroup-arago-tisdk-multimedia.bb         |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-
> core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> index b044f58..417b0a8 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-multimedia.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> tisdk-multimedia.bb
> @@ -40,15 +40,15 @@ MULTIMEDIA_append_am3517-evm = " \
> 
>  ACCEL_FW = ""
>  ACCEL_FW_append_am57xx-evm = " \
> -    ipumm-fw \
> +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
>      "
> 
>  ACCEL_FW_append_omap5-evm = " \
> -    ipumm-fw \
> +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
>      "
> 
>  ACCEL_FW_append_dra7xx-evm = " \
> -    ipumm-fw \
> +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
>      dspdce-fw \
>      vis \
>      "
> --
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip
  2014-07-01 16:07   ` Cooper Jr., Franklin
@ 2014-07-01 18:11     ` Cooper Jr., Franklin
  0 siblings, 0 replies; 11+ messages in thread
From: Cooper Jr., Franklin @ 2014-07-01 18:11 UTC (permalink / raw)
  To: Maupin, Chase, meta-arago

Oops I missed the lack of PR bump on this one

> -----Original Message-----
> From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> bounces@arago-project.org] On Behalf Of Cooper Jr., Franklin
> Sent: Tuesday, July 01, 2014 11:08 AM
> To: Maupin, Chase; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH 5/5] packagegroup-arago-tisdk-multimedia:
> don't inlcude ipumm fw without mmip
> 
> 
> Acked-by: Franklin Cooper Jr. <fcooper@ti.com>
> 
> > -----Original Message-----
> > From: meta-arago-bounces@arago-project.org [mailto:meta-arago-
> > bounces@arago-project.org] On Behalf Of Maupin, Chase
> > Sent: Tuesday, July 01, 2014 10:26 AM
> > To: meta-arago@arago-project.org
> > Subject: [meta-arago] [PATCH 5/5] packagegroup-arago-tisdk-multimedia:
> > don't inlcude ipumm fw without mmip
> >
> > * Including the ipumm-fw package without mmip accelerators doesn't
> >   make sense.  So don't package this when MACHINE_FEATURES doesn't
> >   include mmip.
> >
> > Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
> > ---
> >  .../packagegroup-arago-tisdk-multimedia.bb         |    6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >
> > diff --git
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-
> > arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-
> > core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> > index b044f58..417b0a8 100644
> > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> > tisdk-multimedia.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-
> > tisdk-multimedia.bb
> > @@ -40,15 +40,15 @@ MULTIMEDIA_append_am3517-evm = " \
> >
> >  ACCEL_FW = ""
> >  ACCEL_FW_append_am57xx-evm = " \
> > -    ipumm-fw \
> > +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
> >      "
> >
> >  ACCEL_FW_append_omap5-evm = " \
> > -    ipumm-fw \
> > +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
> >      "
> >
> >  ACCEL_FW_append_dra7xx-evm = " \
> > -    ipumm-fw \
> > +    ${@base_contains('MACHINE_FEATURE', 'mmip', 'ipumm-fw', '', d)} \
> >      dspdce-fw \
> >      vis \
> >      "
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

end of thread, other threads:[~2014-07-01 18:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-01 15:25 [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Chase Maupin
2014-07-01 15:25 ` [PATCH 2/5] arago-prefs: set PREFERRED_PROVIDER for gstreamer based on mmip Chase Maupin
2014-07-01 16:05   ` Cooper Jr., Franklin
2014-07-01 15:25 ` [PATCH 3/5] packagegroup-arago-test: make omapdrmtest depend " Chase Maupin
2014-07-01 16:06   ` Cooper Jr., Franklin
2014-07-01 15:25 ` [PATCH 4/5] packagegroup-arago-gst: make mmip elements depend on mmip feature Chase Maupin
2014-07-01 16:07   ` Cooper Jr., Franklin
2014-07-01 15:26 ` [PATCH 5/5] packagegroup-arago-tisdk-multimedia: don't inlcude ipumm fw without mmip Chase Maupin
2014-07-01 16:07   ` Cooper Jr., Franklin
2014-07-01 18:11     ` Cooper Jr., Franklin
2014-07-01 16:05 ` [PATCH 1/5] gstreamer: make accelerated recipes instead of appends Cooper Jr., Franklin

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.