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>
main
Philipp Zabel 2014-12-12 14:12:29 +01:00 committed by Lucas Stach
parent 1f73578df3
commit 77703f61cb
3 changed files with 3 additions and 2 deletions

View File

@ -62,6 +62,7 @@ char *drivers[] = {
"nouveau",
"vmwgfx",
"exynos",
"imx-drm",
NULL
};

View File

@ -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;

View File

@ -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;