]> code.ossystems Code Review - meta-freescale.git/commitdiff
xserver-common: Enable iglx module
authorNeena Busireddy <neenareddy.busireddy@nxp.com>
Thu, 12 Jan 2017 18:29:40 +0000 (12:29 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 25 Jan 2017 16:28:30 +0000 (14:28 -0200)
Enable iglx module to pass indirect glx rendering test case.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch [new file with mode: 0644]
recipes-graphics/xserver-common/xserver-common_%.bbappend [new file with mode: 0644]

diff --git a/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch b/recipes-graphics/xserver-common/xserver-common/imx/0016-xserver-common-enable-iglx-module.patch
new file mode 100644 (file)
index 0000000..283a081
--- /dev/null
@@ -0,0 +1,30 @@
+From 8ad045e5e664fe2d1bd9f88616d5bf83437aab4e Mon Sep 17 00:00:00 2001
+From: Yang Dong <b56112@freescale.com>
+Date: Wed, 9 Sep 2015 13:08:57 +0800
+Subject: [PATCH] xserver-common: enable iglx module
+
+Enable iglx module to pass indirect glx rendering test case.
+
+Upstream-Status: Inappropriate [imx specific]
+
+Date: Sep 9, 2015
+Signed-off-by Yang Dong <b56112@freescale.com>
+---
+ X11/xserver-common | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/X11/xserver-common b/X11/xserver-common
+index 4dc48c4..d19b858 100644
+--- a/X11/xserver-common
++++ b/X11/xserver-common
+@@ -44,6 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg`
+ export USER=root
+ export XSERVER_DEFAULT_ORIENTATION=normal
++INPUT_EXTRA_ARGS="+iglx"
+ ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS"
+ DPI="100"
+ MOUSE=""
+-- 
+1.9.1
+
diff --git a/recipes-graphics/xserver-common/xserver-common_%.bbappend b/recipes-graphics/xserver-common/xserver-common_%.bbappend
new file mode 100644 (file)
index 0000000..28d1f7b
--- /dev/null
@@ -0,0 +1,10 @@
+# i.MX extra configuration 
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+
+PATCHES_IMX_SPECIFIC = " file://0016-xserver-common-enable-iglx-module.patch \
+"
+SRC_URI_append = " \
+    ${PATCHES_IMX_SPECIFIC} \
+"
+PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
+PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"