[PATCH] exynos: add module name for Samsung Exynos SoC support.

Inki Dae inki.dae at samsung.com
Thu Dec 15 01:44:15 PST 2011


this patch adds module name for Samsung Exynos SoC. with this patch,
we can test kmstest, modetest and vbltest of libdrm.
Exynos drm driver of kernel side have been merged to mainline.

you can refer to mainline git repository below:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=summary
commit id: 1c248b7d2960faec3e1b8f3f9c5d9d0df28e0a3c

P.S. the module name of kernel side is "exynos-drm" yet so
now the name would use "exynos-drm" but it will be changed to "exynos"
once kernel side is changed.

Signed-off-by: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
 tests/kmstest/main.c      |    1 +
 tests/modetest/modetest.c |    3 ++-
 tests/vbltest/vbltest.c   |    3 ++-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c
index 5df0a38..7193ff5 100644
--- a/tests/kmstest/main.c
+++ b/tests/kmstest/main.c
@@ -61,6 +61,7 @@ char *drivers[] = {
 	"radeon",
 	"nouveau",
 	"vmwgfx",
+	"exynos-drm",
 	NULL
 };
 
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 229ab8a..8059414 100644
--- a/tests/modetest/modetest.c
+++ b/tests/modetest/modetest.c
@@ -721,7 +721,8 @@ int main(int argc, char **argv)
 	int c;
 	int encoders = 0, connectors = 0, crtcs = 0, framebuffers = 0;
 	int test_vsync = 0;
-	char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx" };
+	char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx",
+				"exynos-drm" };
 	char *modeset = NULL;
 	int i, count = 0;
 	struct connector con_args[2];
diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c
index 903ca0f..340a5c1 100644
--- a/tests/vbltest/vbltest.c
+++ b/tests/vbltest/vbltest.c
@@ -103,7 +103,8 @@ static void usage(char *name)
 int main(int argc, char **argv)
 {
 	int i, c, fd, ret;
-	char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx" };
+	char *modules[] = { "i915", "radeon", "nouveau", "vmwgfx",
+				"exynos-drm" };
 	drmVBlank vbl;
 	drmEventContext evctx;
 	struct vbl_info handler_info;
-- 
1.7.4.1



More information about the dri-devel mailing list