diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-19 11:59:59 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-04-19 11:59:59 +0200 |
commit | ea1cd5c6e187dd47351b4a3baaedb8a6d73b26bf (patch) | |
tree | 5ed748cee6563224d976a1159fc52d89d13b715a | |
parent | 210aa185147fbae2e30b340abc1611e9655f738e (diff) | |
download | drminfo-ea1cd5c6e187dd47351b4a3baaedb8a6d73b26bf.tar.gz |
add manpages
-rw-r--r-- | drminfo.man | 29 | ||||
-rw-r--r-- | drmtest.c | 1 | ||||
-rw-r--r-- | drmtest.man | 48 |
3 files changed, 78 insertions, 0 deletions
diff --git a/drminfo.man b/drminfo.man new file mode 100644 index 0000000..a9ac1a3 --- /dev/null +++ b/drminfo.man @@ -0,0 +1,29 @@ +.TH DRMINFO 1 +.SH NAME +drminfo - print drm device information +.SH SYNOPSIS +\fBdrminfo\fP [\fIoptions\fP] +.SH DESCRIPTION +.BR drminfo +prints various informations about the drm device, including the +outputs, the supported display resolutions (for connected outputs) and +the supported framebuffer formats. +.SH OPTIONS +.TP +.B -h +Print usage info. +.TP +.BI "-c" "\ nr" +Pick card number. +.SH "SEE ALSO" +.BR drmtest(1), +.SH AUTHOR +Gerd Hoffmann +.BR <kraxel@redhat.com> +.SH COPYRIGHT +Copyright (c) 2017 Gerd Hoffmann <kraxel@redhat.com> +.P +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. @@ -461,6 +461,7 @@ static void usage(FILE *fp) " -o <name> pick output\n" " -s <secs> set sleep time\n" " -i <file> load and display image <file>\n" + " -f <fmt> pick framebuffer format\n" " -g openngl mode\n" #if 0 " -d debug mode (opengl)\n" diff --git a/drmtest.man b/drmtest.man new file mode 100644 index 0000000..615fd4b --- /dev/null +++ b/drmtest.man @@ -0,0 +1,48 @@ +.TH DRMTEST 1 +.SH NAME +drmtest - show test image +.SH SYNOPSIS +\fBdrmtest\fP [\fIoptions\fP] +.SH DESCRIPTION +.BR drmtest +renders a test image to the screen. +.SH OPTIONS +.TP +.B -h +Print usage info. +.TP +.BI "-c" "\ nr" +Pick card number. +.TP +.BI "-o" "\ name" +Pick output (use +.BR "drminfo" "(1)" +to print valid choices). +.TP +.BI "-s" "\ secs" +Set sleep time. Default is 60 secs. Any key press will quit +.B drmtest +too. +.TP +.BI "-i" "\ file" +Load and display the given image file instead of the test screen. +Supports png and jpeg files. +.TP +.BI "-f" "\ fmt" +Pick framebuffer format (rgb24, rgb30, rgb16). Has no effect in GL mode. +.TP +.B -g +Use GL mode. Creates OpenGL context using EGL and uses that instead +of (cairo) software rendering. +.SH "SEE ALSO" +.BR drminfo(1), +.SH AUTHOR +Gerd Hoffmann +.BR <kraxel@redhat.com> +.SH COPYRIGHT +Copyright (c) 2017 Gerd Hoffmann <kraxel@redhat.com> +.P +This program is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation; either version 2 of the License, or (at your option) any later +version. |