Skip to contentSkip to conversation

PATCH] arago-prefs: specify GLES providers for J7 EVM

thud New Anand Balagopalakrishnan 2 participants 10 messages Jun 19, 2019 – Jun 20, 2019

lore
Share & tools
lore
#0 lore raw
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-distro/conf/distro/include/arago-prefs.inc +5 -0
index a96569f..45482d4 100644
@@ -14,6 +14,11 @@ PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
 
 PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
 
+# J7 has a Rogue GPU core
+PREFERRED_PROVIDER_virtual/egl_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2_j7-evm = "ti-img-rogue-umlibs"
+
 # This is required when using keystone devices with graphical support
 # such as Qt5
 PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
Signature · 1 line
1.9.1
#1 lore raw

[[thud] PATCH] glmark2: disable for J7

glmark2 has a dependency on libgbm which will come from Mesa. Disable this for now on J7.

---
 meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb +1 -0
index d7744ad..0b38596 100644
@@ -13,6 +13,7 @@ DEPENDS = "libpng jpeg"
 PV = "2014.03+${SRCPV}"
 
 COMPATIBLE_HOST_rpi  = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 
 SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
     file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \
Signature · 1 line
1.9.1
#2 lore raw

Re: [[thud] PATCH] glmark2: disable for J7

NAK

Quoted 27 lines · Anand Balagopalakrishnan

glmark2 has a dependency on libgbm which will come from Mesa. Disable this for now on J7.

---
 meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb +1 -0
index d7744ad..0b38596 100644
@@ -13,6 +13,7 @@ DEPENDS = "libpng jpeg"
 PV = "2014.03+${SRCPV}"
 
 COMPATIBLE_HOST_rpi  = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '.*-linux*', 'null', d)}"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 
 SRC_URI = "git://github.com/glmark2/glmark2.git;protocol=https \
     file://build-Check-packages-to-be-used-by-the-enabled-flavo.patch \
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#3 lore raw

PATCH 1/1 glmark2: specify dependency on libgbm

In reply to Anand Balagopalakrishnan
---
 meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-extras/recipes-benchmark/glmark2/glmark2_git.bb +1 -1
index d7744ad..bc83358 100644
@@ -36,7 +36,7 @@ CXXFLAGS += "-std=c++11"
 PACKAGECONFIG[x11-gl] = ",,virtual/libgl virtual/libx11"
 PACKAGECONFIG[x11-gles2] = ",,virtual/libgles2 virtual/libx11"
 PACKAGECONFIG[drm-gl] = ",,virtual/libgl libdrm"
-PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm"
+PACKAGECONFIG[drm-gles2] = ",,virtual/libgles2 libdrm virtual/libgbm"
 PACKAGECONFIG[wayland-gl] = ",,virtual/libgl wayland"
 PACKAGECONFIG[wayland-gles2] = ",,virtual/libgles2 wayland"
 
Signature · 1 line
1.9.1
#4 lore raw

[[thud] PATCH] img-pvr-sdk: set right dependencies for J7

In reply to Anand Balagopalakrishnan
---
 meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-arago-extras/recipes-graphics/img-pvr-sdk/img-pvr-sdk_3.3.2.bb +2 -1
index aa24fa7..9e18909 100644
@@ -9,7 +9,7 @@ BRANCH = "master"
 SRC_URI = "git://git.ti.com/graphics/img-pvr-sdk.git;protocol=git;branch=${BRANCH}"
 SRCREV = "7af5846a0989a1475548ca05f6984c817fb76adc"
 
-PR = "r14"
+PR = "r15"
 
 COMPATIBLE_MACHINE = "omap-a15|ti43x|ti33x|k3"
 
@@ -44,6 +44,7 @@ do_install () {
 }
 
 RDEPENDS_${PN} = "ti-sgx-ddk-um"
+RDEPENDS_${PN}_j7-evm = "ti-img-rogue-umlibs"
 
 INHIBIT_PACKAGE_STRIP = "1"
 
Signature · 1 line
1.9.1
#5 lore raw

[[thud] PATCH] kmscube: change dependencies for EGL / GLES2

In reply to Anand Balagopalakrishnan

kmscube can run on any GPU that supports EGL and OpenGLES2 interfaces. Remove the dependency on SGX.

---
 meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb +2 -2
index d041e8c..c19f550 100644
@@ -3,14 +3,14 @@ HOMEPAGE = "http://git.ti.com"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158"
 
-DEPENDS = "libdrm libgbm ti-sgx-ddk-um"
+DEPENDS = "libdrm libgbm virtual/egl virtual/libgles2"
 
 COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit autotools pkgconfig
 
-PR = "r11"
+PR = "r12"
 SRCREV = "5f90636ae01b859a064b9136da4b759b41c1ee10"
 
 SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git"
Signature · 1 line
1.9.1
#6 lore raw

[[thud] PATCH] omapdrmtest: enable this only for AM43x and DRA7xx

In reply to Anand Balagopalakrishnan

This application is dependent on omapdrm display driver which is supported only on AM43x and DRA7xx SoCs.

---
 meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb +2 -0
index cc54c5d..8020776 100644
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a2
 
 DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland"
 
+COMPATIBLE_MACHINE = "omap-a15|ti43x"
+
 inherit autotools pkgconfig
 
 PR = "r28"
Signature · 1 line
1.9.1
#7 lore raw
In reply to Anand Balagopalakrishnan
Quoted 10 lines · Anand Balagopalakrishnan
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-distro/conf/distro/include/arago-prefs.inc +0 -0
index a96569f..45482d4 100644

meta-arago-distro/conf/distro/include/arago-prefs.inc PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev" · line 20

Quoted 7 lines
meta-arago-distro/conf/distro/include/arago-prefs.inc +4 -0
@@ -14,6 +14,11 @@ PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
 
 PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
 
+# J7 has a Rogue GPU core
+PREFERRED_PROVIDER_virtual/egl_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2_j7-evm = "ti-img-rogue-umlibs"

Would be nice to move these few lines higher - right after the other egl/gles preferences for SGX.

Quoted 10 lines
meta-arago-distro/conf/distro/include/arago-prefs.inc +0 -0
 # This is required when using keystone devices with graphical support
 # such as Qt5
 PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#8 lore raw
In reply to Anand Balagopalakrishnan
Quoted 1 line

[[thud] PATCH] arago-prefs: specify GLES providers for J7 EVM

Please don't use nested brackets - Patchwork doesn't handle those nicely and you end up with "PATCH]" in the commit log...

Denys

Quoted 28 lines · Anand Balagopalakrishnan
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 5 +++++
 1 file changed, 5 insertions(+)
meta-arago-distro/conf/distro/include/arago-prefs.inc +5 -0
index a96569f..45482d4 100644
@@ -14,6 +14,11 @@ PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
 
 PREFERRED_PROVIDER_virtual/libgl = "mesa-gl"
 
+# J7 has a Rogue GPU core
+PREFERRED_PROVIDER_virtual/egl_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2_j7-evm = "ti-img-rogue-umlibs"
+
 # This is required when using keystone devices with graphical support
 # such as Qt5
 PREFERRED_PROVIDER_virtual/egl_keystone = "mesa"
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#9 lore raw

PATCH v2 1/1 arago-prefs: specify GLES providers for J7 EVM

In reply to Anand Balagopalakrishnan
---
 meta-arago-distro/conf/distro/include/arago-prefs.inc | 6 ++++++
 1 file changed, 6 insertions(+)
meta-arago-distro/conf/distro/include/arago-prefs.inc +6 -0
index a96569f..e9e9177 100644
@@ -9,6 +9,12 @@ PREFERRED_PROVIDER_virtual/gettext = "gettext"
 PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
 PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
 PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
+
+# J7 has a Rogue GPU core
+PREFERRED_PROVIDER_virtual/egl_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles1_j7-evm = "ti-img-rogue-umlibs"
+PREFERRED_PROVIDER_virtual/libgles2_j7-evm = "ti-img-rogue-umlibs"
+
 PREFERRED_PROVIDER_libgbm = "libgbm"
 PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
 
Signature · 1 line
1.9.1