From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by arago-project.org (Postfix) with ESMTPS id E8763529CF for ; Thu, 25 Feb 2016 19:41:29 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u1PJfTEP031403 for ; Thu, 25 Feb 2016 13:41:29 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1PJfTmk027026 for ; Thu, 25 Feb 2016 13:41:29 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Thu, 25 Feb 2016 13:41:29 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u1PJfSDZ026590; Thu, 25 Feb 2016 13:41:29 -0600 Date: Thu, 25 Feb 2016 14:41:13 -0500 From: Denys Dmytriyenko To: Eric Ruei Message-ID: <20160225194113.GK29852@edge> References: <1456428679-25796-1-git-send-email-e-ruei1@ti.com> MIME-Version: 1.0 In-Reply-To: <1456428679-25796-1-git-send-email-e-ruei1@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-arago@arago-project.org Subject: Re: [PATCH] Enhance kmscube demo to support AM3 X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 19:41:30 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Eric, Any plans to upstream patches to GLSDK repo? Karthik, Who owns that repo and would you be willing to take them up? -- Denys On Thu, Feb 25, 2016 at 02:31:19PM -0500, Eric Ruei wrote: > Enable AM3 support by adding "tilcdc" to the modules list at kmscube.c > > > Signed-off-by: Eric Ruei > --- > ...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 > +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 > +--- > + 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 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago