tests: add rockchip to modetest, kmstest, vbltest and proptest
authorDaniel Kurtz <djkurtz@chromium.org>
Fri, 20 Mar 2015 17:16:45 +0000 (17:16 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Mar 2015 17:18:01 +0000 (17:18 +0000)
There is a rockchip drm kms driver.
Add "rockchip" to the static lists of driver names in the the standard
set of tests.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
[Emil Velikov: Resolve trivial conflicts.]
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
tests/kmstest/main.c
tests/modetest/modetest.c
tests/proptest/proptest.c
tests/vbltest/vbltest.c

index 1d4c63e..7d50f5b 100644 (file)
@@ -63,6 +63,7 @@ static const char *drivers[] = {
        "vmwgfx",
        "exynos",
        "imx-drm",
+       "rockchip",
        NULL
 };
 
index 425e528..5f46efd 100644 (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", "imx-drm" };
+       const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "omapdrm", "exynos", "tilcdc", "msm", "sti", "tegra", "imx-drm", "rockchip" };
        char *device = NULL;
        char *module = NULL;
        unsigned int i;
index 9b2eb3f..b9296bd 100644 (file)
@@ -303,7 +303,7 @@ static void printUsage(void)
 
 int main(int argc, char *argv[])
 {
-       const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "omapdrm", "msm" };
+       const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "omapdrm", "msm", "rockchip" };
        unsigned int i, ret = 0;
 
        for (i = 0; i < ARRAY_SIZE(modules); i++){
index 02fefbf..4200adb 100644 (file)
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
 {
        unsigned i;
        int c, fd, ret;
-       const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra", "imx-drm" };
+       const char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx", "exynos", "omapdrm", "tilcdc", "msm", "tegra", "imx-drm" , "rockchip" };
        drmVBlank vbl;
        drmEventContext evctx;
        struct vbl_info handler_info;