summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2014-03-05 09:02:46 -0500
committerRob Clark <robdclark@gmail.com>2014-03-05 09:02:46 -0500
commit652da8f602a35b89398d50564bbf6e5347f05ccb (patch)
treee735a9e37b50eede7a94b9ba3e503cb4828ba0d6
parentc8376939dfcdc88ab6629fd2d3f21e3a3f6043aa (diff)
add man page with .conf file options
Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--man/.gitignore1
-rw-r--r--man/Makefile.am37
-rw-r--r--man/freedreno.man124
5 files changed, 164 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 16f4412..7052905 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,4 +19,4 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AUTOMAKE_OPTIONS = foreign
-SUBDIRS = src
+SUBDIRS = src man
diff --git a/configure.ac b/configure.ac
index 5f957b4..3c136cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,4 +89,5 @@ XORG_RELEASE_VERSION
AC_OUTPUT([
Makefile
src/Makefile
+ man/Makefile
])
diff --git a/man/.gitignore b/man/.gitignore
new file mode 100644
index 0000000..4211c0e
--- /dev/null
+++ b/man/.gitignore
@@ -0,0 +1 @@
+freedreno.[0-9]
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..5dc419a
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,37 @@
+#
+# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice (including the next
+# paragraph) shall be included in all copies or substantial portions of the
+# Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+#
+
+drivermandir = $(DRIVER_MAN_DIR)
+driverman_DATA = $(DRIVER_NAME).$(DRIVER_MAN_SUFFIX)
+
+EXTRA_DIST = $(DRIVER_NAME).man
+
+CLEANFILES = $(driverman_DATA)
+
+# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
+
+
+SUFFIXES = .$(DRIVER_MAN_SUFFIX) .man
+
+.man.$(DRIVER_MAN_SUFFIX):
+ $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
diff --git a/man/freedreno.man b/man/freedreno.man
new file mode 100644
index 0000000..7e19716
--- /dev/null
+++ b/man/freedreno.man
@@ -0,0 +1,124 @@
+.\" shorthand for double quote that works everywhere.
+.ds q \N'34'
+.TH freedreno __drivermansuffix__ __vendorversion__
+.SH NAME
+freedreno \- X.Org driver for Adreno mobile GPUs
+.SH SYNOPSIS
+.nf
+.B "Section \*qDevice\*q"
+.BI " Identifier \*q" devname \*q
+.B " Driver \*qfreedreno\*q"
+\ \ ...
+.B EndSection
+.fi
+.SH DESCRIPTION
+.B freedreno
+is an open/free __xservername__ driver for Adreno mobile GPUs. The driver supports either the drm/msm kernel driver (recommended) or kgsl+fbdev (for compatibility with android kernel). In the former case, it supports xrandr, page flipping, hardware cursor, etc.
+.SH SUPPORTED HARDWARE
+.B freedreno
+supports the z180, a22x, and a3xx mobile GPUs (as found in APQ8060, APQ8060A, APQ8064, APQ8x74, etc.)
+
+.SH CONFIGURATION DETAILS
+Please refer to __xconfigfile__(__filemansuffix__) for general configuration
+details. This section only covers configuration details specific to this
+driver.
+.PP
+The following driver
+.B Options
+are supported
+.TP
+.BI "Option \*qDebug\*q \*q" boolean \*q
+Enable debug logging.
+.IP
+Default: Disabled
+.TP
+.BI "Option \*qNoAccel\*q \*q" boolean \*q
+Disable hw acceleration.
+.IP
+Default: Disabled
+.TP
+.BI "Option \*qSWCursor\*q \*q" boolean \*q
+Disable HW mouse cursor.
+.IP
+Default: Disabled
+.TP
+.BI "Option \*qfb\*q \*q" string \*q
+Path to fbdev device file. Required to use fbdev/kgsl, unused for drm/msm.
+.IP
+Default: none
+
+.SH OUTPUT CONFIGURATION
+The driver supports runtime configuration of detected outputs. You can use the
+.B xrandr
+tool to control outputs on the command line as follows:
+
+.RS
+.B xrandr \-\-output
+.I output
+.B \-\-set
+.I property value
+.RE
+
+Note that you may need to quote property and value arguments that contain spaces.
+Each output listed below may have one or more properties associated
+with it (like a binary EDID block if one is found). Some outputs have
+unique properties which are described below. See the "MULTIHEAD
+CONFIGURATIONS" section below for additional information.
+
+.SS "HDMI-1"
+First DVI/HDMI output.
+
+.PP
+See __xconfigfile__(__filemansuffix__) for information on associating Monitor
+sections with these outputs for configuration. Associating Monitor sections
+with each output can be helpful if you need to ignore a specific output, for
+example, or statically configure an extended desktop monitor layout.
+
+.SH MULTIHEAD CONFIGURATIONS
+
+The number of independent outputs is dictated by the number of CRTCs
+(in X parlance) a given chip supports. The actual number of
+displays supported will depend on the device/board. But a built-in LCD and
+external HDMI are a common configuration.
+
+You can use the "xrandr" tool, or various desktop utilities, to change
+your output configuration at runtime. To statically configure your
+outputs, you can use the "Monitor-<type>" options along with
+additional monitor sections in your xorg.conf to create your screen
+topology. The example below puts the VGA output to the right of the
+builtin laptop screen, both running at 1024x768.
+
+.nf
+.B "Section \*qMonitor\*q"
+.BI " Identifier \*qLaptop FooBar Internal Display\*q"
+.BI " Option \*qPosition\*q \*q0 0\*q"
+.B "EndSection"
+
+.B "Section \*qMonitor\*q"
+.BI " Identifier \*qSome Random CRT\*q"
+.BI " Option \*qPosition\*q \*q1024 0\*q"
+.BI " Option \*qRightOf\*q \*qLaptop FoodBar Internal Display\*q"
+.B "EndSection"
+
+.B "Section \*qDevice\*q"
+.BI " Driver \*qfreedreno\*q"
+.BI " Option \*qmonitor-LVDS\*q \*qLaptop FooBar Internal Display\*q"
+.BI " Option \*qmonitor-VGA\*q \*qSome Random CRT\*q"
+.B "EndSection"
+
+.SH REPORTING BUGS
+
+The xf86-video-freedreno driver is part of the X.Org and Freedesktop.org
+umbrella projects. Report bugs at
+https://bugs.freedesktop.org/enter_bug.cgi?product=xorg. Mailing
+lists are also commonly used to report experiences and ask questions
+about configuration and other topics. See lists.freedesktop.org for
+more information (the xorg@lists.freedesktop.org mailing list is the
+most appropriate place to ask X.Org and driver related questions).
+
+.SH "SEE ALSO"
+__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
+.SH AUTHORS
+Authors include: Rob Clark.
+
+Originally/loosely based on xf86-video-msm.