From 77703f61cb51350c12bb85db1a7296fa50839edb Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Fri, 12 Dec 2014 14:12:29 +0100
Subject: tests: add support for imx-drm
Since imx-drm has graduated from staging it seems to be a good idea to
recognize it by default in the libdrm tests.
Signed-off-by: Philipp Zabel
Signed-off-by: Lucas Stach
Reviewed-by: Emil Velikov
---
tests/kmstest/main.c | 1 +
tests/modetest/modetest.c | 2 +-
tests/vbltest/vbltest.c | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c
index 449d75f6..2c87b1c1 100644
--- a/tests/kmstest/main.c
+++ b/tests/kmstest/main.c
@@ -62,6 +62,7 @@ char *drivers[] = {
"nouveau",
"vmwgfx",
"exynos",
+ "imx-drm",
NULL
};
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 4b9cf2f5..425e5287 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -1453,7 +1453,7 @@ int main(int argc, char **argv)
int drop_master = 0;
int test_vsync = 0;
int test_cursor = 0;
- const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "omapdrm", "exynos", "tilcdc", "msm", "sti", "tegra" };
+ const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "omapdrm", "exynos", "tilcdc", "msm", "sti", "tegra", "imx-drm" };
char *device = NULL;
char *module = NULL;
unsigned int i;
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index 6e13c57c..916d4946 100644
--- a/tests/vbltest/vbltest.c
+++ b/tests/vbltest/vbltest.c
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
{
unsigned i;
int c, fd, ret;
- char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra" };
+ char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra", "imx-drm" };
drmVBlank vbl;
drmEventContext evctx;
struct vbl_info handler_info;
--
cgit v1.2.3