summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2013-01-24 16:42:03 +0100
committerDavid Herrmann <dh.herrmann@googlemail.com>2013-01-24 16:42:03 +0100
commit0f206cc5b58685c4b4cb9e17374f6265b56cc038 (patch)
tree2e25fe1e915492c1624eaba425ee7440eaf3eeab /tests
parentf289349ef9a0a14566c50d666e698c4c97912e76 (diff)
uterm: drm: rename to drm3d
This renames the video-drm backend to drm3d (which was already used internally). This is a pure rename, the code-logic stays the same. This also puts the drm3d backend into a module so we can more easily load it during runtime. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_output.c b/tests/test_output.c
index 2c5ce86..9f51331 100644
--- a/tests/test_output.c
+++ b/tests/test_output.c
@@ -206,7 +206,7 @@ int main(int argc, char **argv)
mode = UTERM_VIDEO_FBDEV;
node = "/dev/fb0";
} else {
- mode = UTERM_VIDEO_DRM;
+ mode = UTERM_VIDEO_DRM3D;
node = "/dev/dri/card0";
}
@@ -217,7 +217,7 @@ int main(int argc, char **argv)
ret = uterm_video_new(&video, eloop, node, mode);
if (ret) {
- if (mode == UTERM_VIDEO_DRM) {
+ if (mode == UTERM_VIDEO_DRM3D) {
log_notice("cannot create drm device; trying drm2d mode");
ret = uterm_video_new(&video, eloop, node,
UTERM_VIDEO_DRM2D);