Commit 0a6bb061 authored by Fabio Estevam's avatar Fabio Estevam Committed by Thomas Petazzoni
Browse files

kmscube: new package



Add support for kmscube application, which is helpful for testing
kms/drm drivers.
Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
Tested-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 630c3358
......@@ -483,6 +483,7 @@ F: configs/mx6sx_udoo_neo_defconfig
F: configs/mx6udoo_defconfig
F: configs/wandboard_defconfig
F: configs/warp7_defconfig
F: package/kmscube/
N: Fabio Porcedda <fabio.porcedda@gmail.com>
F: package/netsurf-buildsystem/
......
......@@ -240,6 +240,7 @@ comment "Graphic applications"
source "package/glmark2/Config.in"
source "package/gnuplot/Config.in"
source "package/jhead/Config.in"
source "package/kmscube/Config.in"
source "package/mesa3d-demos/Config.in"
source "package/qt5cinex/Config.in"
source "package/rrdtool/Config.in"
......
From 23186149100dd9c871f65132edce67db0b1ce3c3 Mon Sep 17 00:00:00 2001
From: XoD <xoddark@gmail.com>
Date: Mon, 13 Feb 2017 16:43:35 -0200
Subject: [PATCH] Add imx-drm management
Add imx-drm in the list of kms modules.
Signed-off-by: XoD <xoddark@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
kmscube.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kmscube.c b/kmscube.c
index ca2c266..95bd77f 100644
--- a/kmscube.c
+++ b/kmscube.c
@@ -122,6 +122,7 @@ static int init_drm(void)
static const char *modules[] = {
"exynos",
"i915",
+ "imx-drm",
"msm",
"nouveau",
"omapdrm",
--
2.7.4
config BR2_PACKAGE_KMSCUBE
bool "kmscube"
# requires libgbm from mesa3d
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
depends on BR2_PACKAGE_MESA3D_OPENGL_ES
help
kmscube is an application to test kms/drm drivers.
https://github.com/robclark/kmscube/
# Locally computed
sha256 73cf923f915f9f7ee46f9f03bd24254fc04b5f166270c0d37c6f2bc3881186ec kmscube-8c6a20901f95e1b465bbca127f9d47fcfb8762e6.tar.gz
################################################################################
#
# kmscube
#
################################################################################
KMSCUBE_VERSION = 8c6a20901f95e1b465bbca127f9d47fcfb8762e6
KMSCUBE_SITE = $(call github,robclark,kmscube,$(KMSCUBE_VERSION))
KMSCUBE_LICENSE = MIT
KMSCUBE_DEPENDENCIES = host-pkgconf mesa3d libdrm
KMSCUBE_AUTORECONF = YES
# Autoreconf requires an existing m4 directory
define KMSCUBE_PATCH_M4
mkdir -p $(@D)/m4
endef
KMSCUBE_POST_PATCH_HOOKS += KMSCUBE_PATCH_M4
$(eval $(autotools-package))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment