aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyungwon Hwang2014-01-10 01:44:30 -0600
committerRob Clark2014-01-12 07:23:38 -0600
commit3732ef59eb1198d6a4cb5b8bbca6b155c53529f6 (patch)
tree9d8e500111d34b4e291e4a3b4c18b3655f6a67a0 /libkms/linux.c
parenta254cb50414a5def5c872a765c0dd1295a550c6b (diff)
downloadexternal-libdrm-3732ef59eb1198d6a4cb5b8bbca6b155c53529f6.tar.gz
external-libdrm-3732ef59eb1198d6a4cb5b8bbca6b155c53529f6.tar.xz
external-libdrm-3732ef59eb1198d6a4cb5b8bbca6b155c53529f6.zip
tests/kmstest: support exynos
In this patch, to support exynos for KMS, Exynos KMS driver is newly added. Also, Exynos is added to the list of kmstest supported modules. Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com> Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'libkms/linux.c')
-rw-r--r--libkms/linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms/linux.c b/libkms/linux.c
index eec01622..9b4f29e1 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -115,6 +115,10 @@ linux_from_sysfs(int fd, struct kms_driver **out)
115 else if (!strcmp(name, "radeon")) 115 else if (!strcmp(name, "radeon"))
116 ret = radeon_create(fd, out); 116 ret = radeon_create(fd, out);
117#endif 117#endif
118#ifdef HAVE_EXYNOS
119 else if (!strcmp(name, "exynos"))
120 ret = exynos_create(fd, out);
121#endif
118 else 122 else
119 ret = -ENOSYS; 123 ret = -ENOSYS;
120 124