summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 227830e)
raw | patch | inline | side by side (parent: 227830e)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 24 Aug 2016 12:02:06 +0000 (15:02 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Wed, 24 Aug 2016 12:02:14 +0000 (15:02 +0300) |
README.md | patch | blob | history | |
utils/kmstest.cpp | patch | blob | history |
diff --git a/README.md b/README.md
index 374b63b0ed06707f1c121d756f6994ddbb97f028..29cf82f48189b5cac572ea57f55351eca55cbb54 100644 (file)
--- a/README.md
+++ b/README.md
## Utilities
-- testpat - set modes and planes and show test pattern on crtcs/planes, and test page flips
+- kmstest - set modes and planes and show test pattern on crtcs/planes, and test page flips
- kmsprint - print information about DRM objects
- kmsview - view raw images
- kmscube - rotating 3D cube on crtcs/planes
diff --git a/utils/kmstest.cpp b/utils/kmstest.cpp
index ccddccbc7f27d6db9a89c48199179c3e20af1296..f4fd3d5875f2d6e65f6aa0c0f8c0fd85d8f94030 100644 (file)
--- a/utils/kmstest.cpp
+++ b/utils/kmstest.cpp
@@ -262,7 +262,7 @@ static vector<DumbFramebuffer*> parse_fb(Card& card, const string& fb_str, unsig
}
static const char* usage_str =
- "Usage: testpat [OPTION]...\n\n"
+ "Usage: kmstest [OPTION]...\n\n"
"Show a test pattern on a display or plane\n\n"
"Options:\n"
" --device=DEVICE DEVICE is the path to DRM card to open\n"
"Options can be given multiple times to set up multiple displays or planes.\n"
"Options may apply to previous options, e.g. a plane will be set on a crtc set in\n"
"an earlier option.\n"
- "If you omit parameters, testpat tries to guess what you mean\n"
+ "If you omit parameters, kmstest tries to guess what you mean\n"
"\n"
"Examples:\n"
"\n"
"Set eDP-1 mode to 1920x1080@60, show XR24 framebuffer on the crtc, and a 400x400 XB24 plane:\n"
- " testpat -c eDP-1 -r 1920x1080@60 -f XR24 -p 400x400 -f XB24\n\n"
+ " kmstest -c eDP-1 -r 1920x1080@60 -f XR24 -p 400x400 -f XB24\n\n"
"XR24 framebuffer on first connected connector in the default mode:\n"
- " testpat -f XR24\n\n"
+ " kmstest -f XR24\n\n"
"XR24 framebuffer on a 400x400 plane on the first connected connector in the default mode:\n"
- " testpat -p 400x400 -f XR24\n\n"
+ " kmstest -p 400x400 -f XR24\n\n"
"Test pattern on the second connector with default mode:\n"
- " testpat -c 1\n"
+ " kmstest -c 1\n"
;
static void usage()