All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Enhance kmscube demo to support AM3
@ 2016-02-25 19:31 Eric Ruei
  2016-02-25 19:41 ` Denys Dmytriyenko
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Ruei @ 2016-02-25 19:31 UTC (permalink / raw)
  To: meta-arago

Enable AM3 support by adding "tilcdc" to the modules list at kmscube.c


Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 ...001-kmscube.c-init_drm-enable-AM3-support.patch | 28 ++++++++++++++++++++++
 .../recipes-graphics/kmscube/kmscube_1.0.0.bb      |  9 +++----
 2 files changed, 33 insertions(+), 4 deletions(-)
 create mode 100644 meta-arago-extras/recipes-graphics/kmscube/kmscube/0001-kmscube.c-init_drm-enable-AM3-support.patch

diff --git a/meta-arago-extras/recipes-graphics/kmscube/kmscube/0001-kmscube.c-init_drm-enable-AM3-support.patch b/meta-arago-extras/recipes-graphics/kmscube/kmscube/0001-kmscube.c-init_drm-enable-AM3-support.patch
new file mode 100644
index 0000000..64b7b04
--- /dev/null
+++ b/meta-arago-extras/recipes-graphics/kmscube/kmscube/0001-kmscube.c-init_drm-enable-AM3-support.patch
@@ -0,0 +1,28 @@
+From 82a3cc3ddec96fba7204f5ecab0890801a0b54b4 Mon Sep 17 00:00:00 2001
+From: Eric Ruei <e-ruei1@ti.com>
+Date: Thu, 25 Feb 2016 09:49:24 -0500
+Subject: [PATCH] kmscube.c: init_drm(): enable AM3 support
+
+Enable AM3 support by adding "tilcdc" to the modules list.
+
+Signed-off-by: Eric Ruei <e-ruei1@ti.com>
+---
+ kmscube.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kmscube.c b/kmscube.c
+index 5a18c32..919b3e7 100644
+--- a/kmscube.c
++++ b/kmscube.c
+@@ -84,7 +84,7 @@ struct drm_fb {
+ static int init_drm(void)
+ {
+ 	static const char *modules[] = {
+-			"omapdrm", "i915", "radeon", "nouveau", "vmwgfx", "exynos"
++			"omapdrm", "tilcdc", "i915", "radeon", "nouveau", "vmwgfx", "exynos"
+ 	};
+ 	drmModeRes *resources;
+ 	drmModeConnector *connector = NULL;
+-- 
+1.9.1
+
diff --git a/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb b/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb
index 484a46b..138a55b 100644
--- a/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb
+++ b/meta-arago-extras/recipes-graphics/kmscube/kmscube_1.0.0.bb
@@ -5,18 +5,19 @@ LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8
 
 DEPENDS = "libdrm libgbm omap5-sgx-ddk-um-linux"
 
-COMPATIBLE_MACHINE = "ti43x|omap-a15"
+COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit autotools pkgconfig
 
-PR = "r4"
+PR = "r5"
 SRCREV = "1c8a0d26c5b1918432fd94d2ac9894b3dcdb2814"
 
 SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git"
 
-SRC_URI_append_ti43x = " \
-    file://0001-kmscube.c-init_drm-select-the-current-CRTC-display-m.patch \
+SRC_URI_append = " \
+    file://0001-kmscube.c-init_drm-select-the-current-CRTC-display-m.patch \
+    file://0001-kmscube.c-init_drm-enable-AM3-support.patch \
 "
 
 S = "${WORKDIR}/git"
-- 
1.9.1



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

end of thread, other threads:[~2016-03-01 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25 19:31 [PATCH] Enhance kmscube demo to support AM3 Eric Ruei
2016-02-25 19:41 ` Denys Dmytriyenko
2016-02-25 20:04   ` Ruei, Eric
2016-03-01 22:42     ` Denys Dmytriyenko

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.