All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4
@ 2015-08-28  4:01 Hongmei Gou
  2015-08-28  4:01 ` [PATCH 1/5] arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module) " Hongmei Gou
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

This patch set allows the use of null_window DRM from SGX DDK for AM3 and AM4. 

Graphics SDK is no longer used for AM3 and AM4.

Hongmei Gou (5):
  arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module)
    for AM3 and AM4
  img-pvr-sdk: update source of Imagination demo binaries for AM3 and
    AM4
  packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and
    user module, and img-pvr-sdk for AM3 and AM4
  qtbase: add dependency on libdrm for AM3 and AM4 which now use
    null_window DRM from SGX user module
  matrix-gui-3d-demos: update demo dependency for AM3 and AM4

 .../conf/distro/include/arago-prefs.inc            | 10 ++++++++
 .../packagegroup-arago-tisdk-graphics-sdk-host.bb  |  7 +++---
 ...packagegroup-arago-tisdk-graphics-sdk-target.bb | 13 ++++++----
 .../packagegroup-arago-tisdk-graphics.bb           | 15 +++++++++---
 meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend |  4 +++-
 .../recipes-core/matrix/matrix-gui-3d-demos_2.0.bb |  5 ++--
 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb               | 28 ++++++++++++++++++----
 7 files changed, 63 insertions(+), 19 deletions(-)

-- 
1.9.1



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

* [PATCH 1/5] arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module) for AM3 and AM4
  2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
@ 2015-08-28  4:01 ` Hongmei Gou
  2015-08-28  4:01 ` [PATCH 2/5] img-pvr-sdk: update source of Imagination demo binaries " Hongmei Gou
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
index a4b335c..4f47d5b 100644
--- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
+++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
@@ -48,6 +48,16 @@ PREFERRED_PROVIDER_virtual/libgles1_omap-a15 = "omap5-sgx-ddk-um-linux"
 PREFERRED_PROVIDER_virtual/libgles2_omap-a15 = "omap5-sgx-ddk-um-linux"
 PREFERRED_PROVIDER_libgbm_omap-a15 = "libgbm"
 
+PREFERRED_PROVIDER_virtual/egl_ti43x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_virtual/libgles1_ti43x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_virtual/libgles2_ti43x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_libgbm_ti43x = "libgbm"
+
+PREFERRED_PROVIDER_virtual/egl_ti33x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_virtual/libgles1_ti33x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_virtual/libgles2_ti33x = "omap5-sgx-ddk-um-linux"
+PREFERRED_PROVIDER_libgbm_ti33x = "libgbm"
+
 PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
 PREFERRED_PROVIDER_virtual/mesa = "mesa-gl"
 
-- 
1.9.1



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

* [PATCH 2/5] img-pvr-sdk: update source of Imagination demo binaries for AM3 and AM4
  2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
  2015-08-28  4:01 ` [PATCH 1/5] arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module) " Hongmei Gou
@ 2015-08-28  4:01 ` Hongmei Gou
  2015-08-28  4:01 ` [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk " Hongmei Gou
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 .../img-pvr-sdk/img-pvr-sdk_3.3.2.bb               | 28 ++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
index 6e7cb6e..8943501 100644
--- a/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
+++ b/meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb
@@ -2,12 +2,18 @@ DESCRIPTION = "Imagination PowerVR SDK binaries for Jacinto6 SoC"
 LICENSE = "TI-TSPA"
 LIC_FILES_CHKSUM = "file://Jacinto6-IMG-PowerVR-SDK-Manifest.pdf;md5=46bcbfc69f8837c339e15fd4a5044a8c"
 
-SRC_URI = "git://git.ti.com/graphics/img-pvr-sdk.git;protocol=git"
-SRCREV = "c2456ec3f03da022fb7489d6b381a4ac26a68203"
+BRANCH_omap-a15 = "master"
+BRANCH_ti33x = "am4/k4.1"
+BRANCH_ti43x = "am4/k4.1"
 
-PR = "r0"
+SRC_URI = "git://git.ti.com/graphics/img-pvr-sdk.git;protocol=git;branch=${BRANCH}"
+SRCREV_omap-a15 = "c2456ec3f03da022fb7489d6b381a4ac26a68203"
+SRCREV_ti33x = "f753b6c00168f9dd534c2b34206845d3cdddabe6"
+SRCREV_ti43x = "f753b6c00168f9dd534c2b34206845d3cdddabe6"
 
-COMPATIBLE_MACHINE = "dra7xx"
+PR = "r1"
+
+COMPATIBLE_MACHINE = "dra7xx|ti43x|ti33x"
 
 S = "${WORKDIR}/git"
 
@@ -18,11 +24,25 @@ do_install () {
 
     install -d ${D}${bindir}/SGX/demos/Raw/
     install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2ChameleonMan ${D}${bindir}/SGX/demos/Raw/
+}
+
+do_install_append_omap-a15 () {
     install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2Coverflow ${D}${bindir}/SGX/demos/Raw/
     install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2ExampleUI ${D}${bindir}/SGX/demos/Raw/
     install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2Navigation ${D}${bindir}/SGX/demos/Raw/
 }
 
+do_install_append_ti33x () {
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2MagicLantern ${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLESEvilSkull ${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLESFilmTV ${D}${bindir}/SGX/demos/Raw/
+}
+
+do_install_append_ti43x () {
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLES2MagicLantern ${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLESEvilSkull ${D}${bindir}/SGX/demos/Raw/
+    install -m 755 ${S}/targetfs/Examples/Advanced/OGLESFilmTV ${D}${bindir}/SGX/demos/Raw/
+}
 
 INHIBIT_PACKAGE_STRIP = "1"
 
-- 
1.9.1



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

* [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk for AM3 and AM4
  2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
  2015-08-28  4:01 ` [PATCH 1/5] arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module) " Hongmei Gou
  2015-08-28  4:01 ` [PATCH 2/5] img-pvr-sdk: update source of Imagination demo binaries " Hongmei Gou
@ 2015-08-28  4:01 ` Hongmei Gou
  2015-08-29  0:19   ` Denys Dmytriyenko
  2015-08-28  4:01 ` [PATCH 4/5] qtbase: add dependency on libdrm for AM3 and AM4 which now use null_window DRM from SGX user module Hongmei Gou
  2015-08-28  4:01 ` [PATCH 5/5] matrix-gui-3d-demos: update demo dependency for AM3 and AM4 Hongmei Gou
  4 siblings, 1 reply; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 .../packagegroup-arago-tisdk-graphics-sdk-host.bb         |  7 +++----
 .../packagegroup-arago-tisdk-graphics-sdk-target.bb       | 13 ++++++++-----
 .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 15 ++++++++++++---
 3 files changed, 23 insertions(+), 12 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
index a0cbc5c..b601495 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install graphics sources in SDK"
 LICENSE = "MIT"
-PR = "r2"
+PR = "r3"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -8,9 +8,8 @@ inherit packagegroup
 
 GRAPHICS_RDEPENDS = ""
 
-# SGX modules fail against 4.1
-#GRAPHICS_RDEPENDS_append_ti33x = " omap3-sgx-modules-src"
-#GRAPHICS_RDEPENDS_append_ti43x = " omap3-sgx-modules-src"
+GRAPHICS_RDEPENDS_append_ti33x = " omapdrm-pvr-src"
+GRAPHICS_RDEPENDS_append_ti43x = " omapdrm-pvr-src"
 
 RDEPENDS_${PN} = "\
     ${GRAPHICS_RDEPENDS} \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
index d36da7e..2cb4ec2 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install graphics binaries on sdk target"
 LICENSE = "MIT"
-PR = "r5"
+PR = "r6"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -9,15 +9,18 @@ inherit packagegroup
 GRAPHICS_RDEPENDS = ""
 
 GRAPHICS_RDEPENDS_ti33x = "\
-    libgles-omap3-dev \
-"
+    libgbm-dev \
+    omap5-sgx-ddk-um-linux-dev \
+    "
+
 GRAPHICS_RDEPENDS_omap3 = "\
     libgles-omap3-dev \
 "
 
 GRAPHICS_RDEPENDS_ti43x = "\
-    libgles-omap3-dev \
-"
+    libgbm-dev \
+    omap5-sgx-ddk-um-linux-dev \
+    "
 
 GRAPHICS_RDEPENDS_omap-a15 = "\
     libgbm-dev \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
index 8419cde..91bd548 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install graphics binaries"
 LICENSE = "MIT"
-PR = "r11"
+PR = "r12"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -23,12 +23,21 @@ GRAPHICS_SDK = "\
 "
 
 GRAPHICS_RDEPENDS = ""
+
 GRAPHICS_RDEPENDS_ti33x = "\
-    ${GRAPHICS_SDK} \
+    libgbm \
+    omap5-sgx-ddk-um-linux-dev \
+    omap5-sgx-ddk-um-linux \
+    omapdrm-pvr \
+    img-pvr-sdk \
 "
 
 GRAPHICS_RDEPENDS_ti43x = "\
-    ${GRAPHICS_SDK} \
+    libgbm \
+    omap5-sgx-ddk-um-linux-dev \
+    omap5-sgx-ddk-um-linux \
+    omapdrm-pvr \
+    img-pvr-sdk \
 "
 
 GRAPHICS_RDEPENDS_omap3 = "\
-- 
1.9.1



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

* [PATCH 4/5] qtbase: add dependency on libdrm for AM3 and AM4 which now use null_window DRM from SGX user module
  2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
                   ` (2 preceding siblings ...)
  2015-08-28  4:01 ` [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk " Hongmei Gou
@ 2015-08-28  4:01 ` Hongmei Gou
  2015-08-28  4:01 ` [PATCH 5/5] matrix-gui-3d-demos: update demo dependency for AM3 and AM4 Hongmei Gou
  4 siblings, 0 replies; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
index d32636f..49b3a2b 100644
--- a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
+++ b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
@@ -2,10 +2,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
 GLES_EXTRA_DEPS = ""
 GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
+GLES_EXTRA_DEPS_ti43x = "libdrm"
+GLES_EXTRA_DEPS_ti33x = "libdrm"
 
 PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl ${GLES_EXTRA_DEPS}"
 
-PR_append = "-arago9"
+PR_append = "-arago10"
 
 QT_CONFIG_FLAGS += "-qpa ${@base_contains('DISTRO_FEATURES', 'wayland', 'wayland', 'eglfs', d)}"
 
-- 
1.9.1



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

* [PATCH 5/5] matrix-gui-3d-demos: update demo dependency for AM3 and AM4
  2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
                   ` (3 preceding siblings ...)
  2015-08-28  4:01 ` [PATCH 4/5] qtbase: add dependency on libdrm for AM3 and AM4 which now use null_window DRM from SGX user module Hongmei Gou
@ 2015-08-28  4:01 ` Hongmei Gou
  4 siblings, 0 replies; 9+ messages in thread
From: Hongmei Gou @ 2015-08-28  4:01 UTC (permalink / raw)
  To: meta-arago

Signed-off-by: Hongmei Gou <h-gou@ti.com>
---
 meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
index 649c673..57bba86 100644
--- a/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
+++ b/meta-arago-extras/recipes-core/matrix/matrix-gui-3d-demos_2.0.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
 
 require matrix-gui-apps-git.inc
 
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 S = "${WORKDIR}/git/3d_apps"
 
@@ -44,7 +44,8 @@ do_install_prepend() {
 3D_DEMOS_RDEPENDS_MATRIX = "matrix-gui-apps-images matrix-gui-submenus-3d"
 3D_DEMOS_RDEPENDS = "${3D_DEMOS_RDEPENDS_MATRIX} libgles-omap3-rawdemos"
 3D_DEMOS_RDEPENDS_omap-a15 = "${3D_DEMOS_RDEPENDS_MATRIX} img-pvr-sdk"
-
+3D_DEMOS_RDEPENDS_ti43x    = "${3D_DEMOS_RDEPENDS_MATRIX} img-pvr-sdk"
+3D_DEMOS_RDEPENDS_ti33x    = "${3D_DEMOS_RDEPENDS_MATRIX} img-pvr-sdk"
 
 RDEPENDS_matrix-3d-demo-chameleon = "${3D_DEMOS_RDEPENDS}"
 RDEPENDS_matrix-3d-demo-coverflow = "${3D_DEMOS_RDEPENDS}"
-- 
1.9.1



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

* Re: [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk for AM3 and AM4
  2015-08-28  4:01 ` [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk " Hongmei Gou
@ 2015-08-29  0:19   ` Denys Dmytriyenko
  2015-08-29  0:32     ` Denys Dmytriyenko
  0 siblings, 1 reply; 9+ messages in thread
From: Denys Dmytriyenko @ 2015-08-29  0:19 UTC (permalink / raw)
  To: Hongmei Gou; +Cc: meta-arago

On Fri, Aug 28, 2015 at 12:01:52AM -0400, Hongmei Gou wrote:
> Signed-off-by: Hongmei Gou <h-gou@ti.com>
> ---
>  .../packagegroup-arago-tisdk-graphics-sdk-host.bb         |  7 +++----
>  .../packagegroup-arago-tisdk-graphics-sdk-target.bb       | 13 ++++++++-----
>  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 15 ++++++++++++---
>  3 files changed, 23 insertions(+), 12 deletions(-)
> 
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> index a0cbc5c..b601495 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to install graphics sources in SDK"
>  LICENSE = "MIT"
> -PR = "r2"
> +PR = "r3"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> @@ -8,9 +8,8 @@ inherit packagegroup
>  
>  GRAPHICS_RDEPENDS = ""
>  
> -# SGX modules fail against 4.1
> -#GRAPHICS_RDEPENDS_append_ti33x = " omap3-sgx-modules-src"
> -#GRAPHICS_RDEPENDS_append_ti43x = " omap3-sgx-modules-src"
> +GRAPHICS_RDEPENDS_append_ti33x = " omapdrm-pvr-src"
> +GRAPHICS_RDEPENDS_append_ti43x = " omapdrm-pvr-src"
>  
>  RDEPENDS_${PN} = "\
>      ${GRAPHICS_RDEPENDS} \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> index d36da7e..2cb4ec2 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to install graphics binaries on sdk target"
>  LICENSE = "MIT"
> -PR = "r5"
> +PR = "r6"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> @@ -9,15 +9,18 @@ inherit packagegroup
>  GRAPHICS_RDEPENDS = ""
>  
>  GRAPHICS_RDEPENDS_ti33x = "\
> -    libgles-omap3-dev \
> -"
> +    libgbm-dev \
> +    omap5-sgx-ddk-um-linux-dev \
> +    "
> +
>  GRAPHICS_RDEPENDS_omap3 = "\
>      libgles-omap3-dev \
>  "
>  
>  GRAPHICS_RDEPENDS_ti43x = "\
> -    libgles-omap3-dev \
> -"
> +    libgbm-dev \
> +    omap5-sgx-ddk-um-linux-dev \
> +    "
>  
>  GRAPHICS_RDEPENDS_omap-a15 = "\
>      libgbm-dev \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> index 8419cde..91bd548 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> @@ -1,6 +1,6 @@
>  DESCRIPTION = "Task to install graphics binaries"
>  LICENSE = "MIT"
> -PR = "r11"
> +PR = "r12"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> @@ -23,12 +23,21 @@ GRAPHICS_SDK = "\
>  "
>  
>  GRAPHICS_RDEPENDS = ""
> +
>  GRAPHICS_RDEPENDS_ti33x = "\
> -    ${GRAPHICS_SDK} \
> +    libgbm \
> +    omap5-sgx-ddk-um-linux-dev \

Why -dev package listed here?


> +    omap5-sgx-ddk-um-linux \
> +    omapdrm-pvr \
> +    img-pvr-sdk \
>  "
>  
>  GRAPHICS_RDEPENDS_ti43x = "\
> -    ${GRAPHICS_SDK} \
> +    libgbm \
> +    omap5-sgx-ddk-um-linux-dev \

And here?


> +    omap5-sgx-ddk-um-linux \
> +    omapdrm-pvr \
> +    img-pvr-sdk \
>  "
>  
>  GRAPHICS_RDEPENDS_omap3 = "\
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

* Re: [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk for AM3 and AM4
  2015-08-29  0:19   ` Denys Dmytriyenko
@ 2015-08-29  0:32     ` Denys Dmytriyenko
  2015-08-31 14:10       ` Gou, Hongmei
  0 siblings, 1 reply; 9+ messages in thread
From: Denys Dmytriyenko @ 2015-08-29  0:32 UTC (permalink / raw)
  To: Hongmei Gou; +Cc: meta-arago

On Fri, Aug 28, 2015 at 08:19:28PM -0400, Denys Dmytriyenko wrote:
> On Fri, Aug 28, 2015 at 12:01:52AM -0400, Hongmei Gou wrote:
> > Signed-off-by: Hongmei Gou <h-gou@ti.com>
> > ---
> >  .../packagegroup-arago-tisdk-graphics-sdk-host.bb         |  7 +++----
> >  .../packagegroup-arago-tisdk-graphics-sdk-target.bb       | 13 ++++++++-----
> >  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 15 ++++++++++++---
> >  3 files changed, 23 insertions(+), 12 deletions(-)
> > 
> > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> > index a0cbc5c..b601495 100644
> > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics sources in SDK"
> >  LICENSE = "MIT"
> > -PR = "r2"
> > +PR = "r3"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -8,9 +8,8 @@ inherit packagegroup
> >  
> >  GRAPHICS_RDEPENDS = ""
> >  
> > -# SGX modules fail against 4.1
> > -#GRAPHICS_RDEPENDS_append_ti33x = " omap3-sgx-modules-src"
> > -#GRAPHICS_RDEPENDS_append_ti43x = " omap3-sgx-modules-src"
> > +GRAPHICS_RDEPENDS_append_ti33x = " omapdrm-pvr-src"
> > +GRAPHICS_RDEPENDS_append_ti43x = " omapdrm-pvr-src"
> >  
> >  RDEPENDS_${PN} = "\
> >      ${GRAPHICS_RDEPENDS} \
> > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> > index d36da7e..2cb4ec2 100644
> > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics binaries on sdk target"
> >  LICENSE = "MIT"
> > -PR = "r5"
> > +PR = "r6"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -9,15 +9,18 @@ inherit packagegroup
> >  GRAPHICS_RDEPENDS = ""
> >  
> >  GRAPHICS_RDEPENDS_ti33x = "\
> > -    libgles-omap3-dev \
> > -"
> > +    libgbm-dev \
> > +    omap5-sgx-ddk-um-linux-dev \
> > +    "
> > +
> >  GRAPHICS_RDEPENDS_omap3 = "\
> >      libgles-omap3-dev \
> >  "
> >  
> >  GRAPHICS_RDEPENDS_ti43x = "\
> > -    libgles-omap3-dev \
> > -"
> > +    libgbm-dev \
> > +    omap5-sgx-ddk-um-linux-dev \
> > +    "
> >  
> >  GRAPHICS_RDEPENDS_omap-a15 = "\
> >      libgbm-dev \
> > diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> > index 8419cde..91bd548 100644
> > --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics binaries"
> >  LICENSE = "MIT"
> > -PR = "r11"
> > +PR = "r12"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -23,12 +23,21 @@ GRAPHICS_SDK = "\
> >  "
> >  
> >  GRAPHICS_RDEPENDS = ""
> > +
> >  GRAPHICS_RDEPENDS_ti33x = "\
> > -    ${GRAPHICS_SDK} \
> > +    libgbm \
> > +    omap5-sgx-ddk-um-linux-dev \
> 
> Why -dev package listed here?
> 
> 
> > +    omap5-sgx-ddk-um-linux \
> > +    omapdrm-pvr \
> > +    img-pvr-sdk \

Moreover, img-pvr-sdk (3D demos) are already pulled by corresponding Matrix 
demos. Any specific reason for the redundancy?


> >  "
> >  
> >  GRAPHICS_RDEPENDS_ti43x = "\
> > -    ${GRAPHICS_SDK} \
> > +    libgbm \
> > +    omap5-sgx-ddk-um-linux-dev \
> 
> And here?
> 
> 
> > +    omap5-sgx-ddk-um-linux \
> > +    omapdrm-pvr \
> > +    img-pvr-sdk \
> >  "
> >  
> >  GRAPHICS_RDEPENDS_omap3 = "\
> > -- 
> > 1.9.1
> > 
> > _______________________________________________
> > 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] 9+ messages in thread

* Re: [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk for AM3 and AM4
  2015-08-29  0:32     ` Denys Dmytriyenko
@ 2015-08-31 14:10       ` Gou, Hongmei
  0 siblings, 0 replies; 9+ messages in thread
From: Gou, Hongmei @ 2015-08-31 14:10 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago@arago-project.org

Please see below inline.

-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Friday, August 28, 2015 8:32 PM
To: Gou, Hongmei
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk for AM3 and AM4

On Fri, Aug 28, 2015 at 08:19:28PM -0400, Denys Dmytriyenko wrote:
> On Fri, Aug 28, 2015 at 12:01:52AM -0400, Hongmei Gou wrote:
> > Signed-off-by: Hongmei Gou <h-gou@ti.com>
> > ---
> >  .../packagegroup-arago-tisdk-graphics-sdk-host.bb         |  7 +++----
> >  .../packagegroup-arago-tisdk-graphics-sdk-target.bb       | 13 ++++++++-----
> >  .../packagegroups/packagegroup-arago-tisdk-graphics.bb    | 15 ++++++++++++---
> >  3 files changed, 23 insertions(+), 12 deletions(-)
> > 
> > diff --git 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-host.bb 
> > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-host.bb
> > index a0cbc5c..b601495 100644
> > --- 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-host.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arag
> > +++ o-tisdk-graphics-sdk-host.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics sources in SDK"
> >  LICENSE = "MIT"
> > -PR = "r2"
> > +PR = "r3"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -8,9 +8,8 @@ inherit packagegroup
> >  
> >  GRAPHICS_RDEPENDS = ""
> >  
> > -# SGX modules fail against 4.1
> > -#GRAPHICS_RDEPENDS_append_ti33x = " omap3-sgx-modules-src"
> > -#GRAPHICS_RDEPENDS_append_ti43x = " omap3-sgx-modules-src"
> > +GRAPHICS_RDEPENDS_append_ti33x = " omapdrm-pvr-src"
> > +GRAPHICS_RDEPENDS_append_ti43x = " omapdrm-pvr-src"
> >  
> >  RDEPENDS_${PN} = "\
> >      ${GRAPHICS_RDEPENDS} \
> > diff --git 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-target.bb 
> > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-target.bb
> > index d36da7e..2cb4ec2 100644
> > --- 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics-sdk-target.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arag
> > +++ o-tisdk-graphics-sdk-target.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics binaries on sdk target"
> >  LICENSE = "MIT"
> > -PR = "r5"
> > +PR = "r6"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -9,15 +9,18 @@ inherit packagegroup  GRAPHICS_RDEPENDS = ""
> >  
> >  GRAPHICS_RDEPENDS_ti33x = "\
> > -    libgles-omap3-dev \
> > -"
> > +    libgbm-dev \
> > +    omap5-sgx-ddk-um-linux-dev \
> > +    "
> > +
> >  GRAPHICS_RDEPENDS_omap3 = "\
> >      libgles-omap3-dev \
> >  "
> >  
> >  GRAPHICS_RDEPENDS_ti43x = "\
> > -    libgles-omap3-dev \
> > -"
> > +    libgbm-dev \
> > +    omap5-sgx-ddk-um-linux-dev \
> > +    "
> >  
> >  GRAPHICS_RDEPENDS_omap-a15 = "\
> >      libgbm-dev \
> > diff --git 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics.bb 
> > b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics.bb
> > index 8419cde..91bd548 100644
> > --- 
> > a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-ti
> > sdk-graphics.bb
> > +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arag
> > +++ o-tisdk-graphics.bb
> > @@ -1,6 +1,6 @@
> >  DESCRIPTION = "Task to install graphics binaries"
> >  LICENSE = "MIT"
> > -PR = "r11"
> > +PR = "r12"
> >  
> >  PACKAGE_ARCH = "${MACHINE_ARCH}"
> >  
> > @@ -23,12 +23,21 @@ GRAPHICS_SDK = "\  "
> >  
> >  GRAPHICS_RDEPENDS = ""
> > +
> >  GRAPHICS_RDEPENDS_ti33x = "\
> > -    ${GRAPHICS_SDK} \
> > +    libgbm \
> > +    omap5-sgx-ddk-um-linux-dev \
> 
> Why -dev package listed here?
[Hongmei] This is a workaround to get the .so files (e.g., libEGL.so, libGLES_CM.so) copied to the target file system. AM3/AM4 imagination demo binaries are prebuilt and they have dependency on .so files instead of .so.[1 digit] files. Without the .so files on the target file system, we cannot run the pre-built imagination demo binaries on AM3/AM4.

> 
> 
> > +    omap5-sgx-ddk-um-linux \
> > +    omapdrm-pvr \
> > +    img-pvr-sdk \

Moreover, img-pvr-sdk (3D demos) are already pulled by corresponding Matrix demos. Any specific reason for the redundancy?
[Hongmei] Agree, no need to have the redundancy here.

> >  "
> >  
> >  GRAPHICS_RDEPENDS_ti43x = "\
> > -    ${GRAPHICS_SDK} \
> > +    libgbm \
> > +    omap5-sgx-ddk-um-linux-dev \
> 
> And here?
[Hongmei] The same reason as above.

> 
> 
> > +    omap5-sgx-ddk-um-linux \
> > +    omapdrm-pvr \
> > +    img-pvr-sdk \
> >  "
> >  
> >  GRAPHICS_RDEPENDS_omap3 = "\
> > -- 
> > 1.9.1
> > 
> > _______________________________________________
> > 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] 9+ messages in thread

end of thread, other threads:[~2015-08-31 14:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28  4:01 [PATCH 0/5] Use null_window DRM from SGX DDK for AM3 and AM4 Hongmei Gou
2015-08-28  4:01 ` [PATCH 1/5] arago-prefs: use libgbm and omap5-sgx-ddk-um-linux (SGX user module) " Hongmei Gou
2015-08-28  4:01 ` [PATCH 2/5] img-pvr-sdk: update source of Imagination demo binaries " Hongmei Gou
2015-08-28  4:01 ` [PATCH 3/5] packagegroup-arago-tisdk-graphics*: use libgbm, SGX kernel module and user module, and img-pvr-sdk " Hongmei Gou
2015-08-29  0:19   ` Denys Dmytriyenko
2015-08-29  0:32     ` Denys Dmytriyenko
2015-08-31 14:10       ` Gou, Hongmei
2015-08-28  4:01 ` [PATCH 4/5] qtbase: add dependency on libdrm for AM3 and AM4 which now use null_window DRM from SGX user module Hongmei Gou
2015-08-28  4:01 ` [PATCH 5/5] matrix-gui-3d-demos: update demo dependency for AM3 and AM4 Hongmei Gou

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.