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 <[email protected]>
> ---
>  ...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 <[email protected]>
> +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 <[email protected]>
> +---
> + 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
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to