Skip to contentSkip to conversation

omapdrmtest: disable viddectest on kmscube

PATCH New Anand Balagopalakrishnan 1 participant 1 message Jan 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omapdrmtest: disable viddectest on kmscube

display-kmscube uses proprietary EGL extension EGL_RAW_VIDEO_TI_DMABUF. The right way to incorporate this feature is using the standard EGL extension EXT_image_dma_buf_import.

Disable viddec3test on kmscube until the correct EGL extension is available.

---
 .../0001-configure-disable-kmscube.patch           |   35 ++++++++++++++++++++
 .../omapdrmtest/omapdrmtest_1.0.0.bb               |    3 +-
 2 files changed, 37 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-configure-disable-kmscube.patch
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-configure-disable-kmscube.patch new file +35 -0
new file mode 100644
index 0000000..231dc75
@@ -0,0 +1,35 @@
+From f56d36a2323f04bb4936a106efdcf8c4754e2233 Mon Sep 17 00:00:00 2001
+From: Anand Balagopalakrishnan <[email protected]>
+Date: Sun, 24 Jan 2016 14:16:10 +0530
+Subject: [PATCH 1/1] configure: disable kmscube
+
+kmscube support requires proprietary EGL extensions EGL_RAW_VIDEO_TI_DMABUF
+which is not supported in DDK 1.14.
+
+Future versions of DDK will support the standard EGL extension
+EXT_image_dma_buf_import which is ratified by Khronos. This will require
+corresponding changes to the application.
+
+Till then, disable kmscube in omapdrmtest.
+
+Signed-off-by: Anand Balagopalakrishnan <[email protected]>
+---
+ configure.ac |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index c026733..05180a6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -51,7 +51,7 @@ AM_CONDITIONAL(ENABLE_V4L2_DMABUF, [test "x$HAVE_V4L2_DMABUF" = xyes])
+ 
+ # Check optional KMSCUBE:
+ AC_ARG_ENABLE([kmscube], AS_HELP_STRING([--disable-kmscube], [disable kmscube display support]))
+-AS_IF([test "x$enable_kmscube" != "xno"], [PKG_CHECK_EXISTS(gbm egl glesv2, [HAVE_KMSCUBE=yes], [HAVE_KMSCUBE=no])])
++HAVE_KMSCUBE="no"
+ if test "x$HAVE_KMSCUBE" = "xyes"; then
+ 	AC_DEFINE(HAVE_KMSCUBE, 1, [Have KMSCUBE support])
+ 	PKG_CHECK_MODULES(GBM, gbm)
+-- 
+1.7.9.5
+
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb +2 -1
index ac45da3..f5880b4 100644
@@ -6,11 +6,12 @@ DEPENDS += "libav libdce libdrm libgbm omap5-sgx-ddk-um-linux wayland"
 
 inherit autotools pkgconfig
 
-PR = "r8"
+PR = "r9"
 SRCREV = "152713c45d7972ed08f506255c43ce7ff634a9f5"
 
 SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
 	file://0001-util-demux-update-use-of-deprecated-API.patch \
+	file://0001-configure-disable-kmscube.patch \
 "
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.7.9.5