summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-12-12 14:12:29 +0100
committerLucas Stach <l.stach@pengutronix.de>2015-02-25 17:51:22 +0100
commit77703f61cb51350c12bb85db1a7296fa50839edb (patch)
tree58ec66a60674a6a5bd1df9ecce593c8178dd9a9a
parent1f73578df32f895a678a41758f6c563f49484347 (diff)
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 <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
-rw-r--r--tests/kmstest/main.c1
-rw-r--r--tests/modetest/modetest.c2
-rw-r--r--tests/vbltest/vbltest.c2
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;