sunxifb.man 4.66 KB
Newer Older
Kaleb Keithley's avatar
Kaleb Keithley committed
1
2
.\" shorthand for double quote that works everywhere.
.ds q \N'34'
3
.TH SUNXIFB __drivermansuffix__ __vendorversion__
Kaleb Keithley's avatar
Kaleb Keithley committed
4
.SH NAME
5
sunxifb \- video driver for the devices based on Allwinner A10/A13 SoC
Kaleb Keithley's avatar
Kaleb Keithley committed
6
7
8
9
.SH SYNOPSIS
.nf
.B "Section \*qDevice\*q"
.BI "  Identifier \*q"  devname \*q
10
.B  "  Driver \*qsunxifb\*q"
Kaleb Keithley's avatar
Kaleb Keithley committed
11
12
13
14
\ \ ...
.B EndSection
.fi
.SH DESCRIPTION
15
16
17
.B sunxifb
is an __xservername__ driver for the devices based on Allwinner A10/A13 SoC,
derived from
Kaleb Keithley's avatar
Kaleb Keithley committed
18
.B fbdev
19
20
21
22
23
24
25
driver.
With the regards to 2D graphics, currently it only supports sofware rendering.
However at least it tries to let the SIMD (ARM NEON) accelerated code from the
.B pixman
library run at full speed without any unnecessary overhead. The recommended
framebuffer color depths are 16 (RGB565) and 24 (XRGB8888), the other color
depths may be supported too. Multi-head configurations are supported.
Kaleb Keithley's avatar
Kaleb Keithley committed
26
27
.SH SUPPORTED HARDWARE
The 
28
29
30
.B sunxifb
driver supports all hardware where a framebuffer driver is available and
uses the os-specific submodule fbdevhw(__drivermansuffix__) to talk
Kaleb Keithley's avatar
Kaleb Keithley committed
31
32
to the kernel
device driver.  Currently a fbdevhw module is available for linux.
33
34
35
36
37
38
39
Additionally it is intended to use some of the display controller features
from Allwinner A10/A13 SoC and provide the necessary DRI2 integration with
the proprietary OpenGL ES binary blobs for Mali400 GPU (if they are installed
in the system). The part related to Mali400 GPU support is derived from
the vendor provided open source
.B xf86-video-mali
driver.
Kaleb Keithley's avatar
Kaleb Keithley committed
40
.SH CONFIGURATION DETAILS
gravity's avatar
gravity committed
41
Please refer to __xconfigfile__(__filemansuffix__) for general configuration
Kaleb Keithley's avatar
Kaleb Keithley committed
42
43
44
45
46
details.  This section only covers configuration details specific to
this driver.
.PP
For this driver it is not required to specify modes in the screen 
section of the config file.  The
47
.B sunxifb
Kaleb Keithley's avatar
Kaleb Keithley committed
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
driver can pick up the currently used video mode from the framebuffer 
driver and will use it if there are no video modes configured.
.PP
The following driver 
.B Options
are supported:
.TP
.BI "Option \*qfbdev\*q \*q" string \*q
The framebuffer device to use. Default: /dev/fb0.
.TP
.BI "Option \*qShadowFB\*q \*q" boolean \*q
Enable or disable use of the shadow framebuffer layer.  Default: on.
.TP
.BI "Option \*qRotate\*q \*q" string \*q
Enable rotation of the display. The supported values are "CW" (clockwise,
90 degrees), "UD" (upside down, 180 degrees) and "CCW" (counter clockwise,
270 degrees). Implies use of the shadow framebuffer layer.   Default: off.
65
.TP
66
67
68
69
70
71
72
73
74
75
76
77
78
.BI "Option \*qUseBackingStore\*q \*q" boolean \*q
Enable the use of backing store for certain windows at the bottom of the
stacking order. This allows to avoid expensive redraws caused by expose
events when dragging one window on top of another. The default heuristics
tries to be "smart" and avoid backing store allocation for the active
window which has keyboard focus. The purpose is to get the best balance
between performance and memory footprint without introducing full
compositing overhead. Default: inverse of ShadowFB
.TP
.BI "Option \*qForceBackingStore\*q \*q" boolean \*q
Same as "UseBackingStore" option, but don't apply any heuristics and just
allocate backing store for all windows.
.TP
79
80
.BI "Option \*qHWCursor\*q \*q" boolean \*q
Enable or disable the HW cursor.  Default: on.
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
.TP
.BI "Option \*qDRI2\*q \*q" boolean \*q
Enable or disable DRI2 integration for Mali GPU. Provides hardware
accelerated OpenGL ES in the case if proprietary blob libMali.so
is installed in the system and linux kernel provides modules mali.ko,
mali_drm.ko and ump.ko with compatible version (for example, both kernel
modules and libMali.so can have revision r3p0).  Default: on.
.TP
.BI "Option \*qDRI2HWOverlay\*q \*q" boolean \*q
Enable the use of display controller hardware overlays (aka "layers",
"windows", ...) for fully visible DRI2 backed OpenGL ES windows in order
to avoid expensive memory copy operations. That's a zero-copy solution
which eliminates unnecessary CPU overhead.  Default: on.

.B Note:
the hardware overlays are automatically disabled in the case if a
compositing window manager (xfwm4, kwin, ...) is used for various
fancy desktop effects such as windows translucency or shadows. Maybe
Siarhei Siamashka's avatar
Siarhei Siamashka committed
99
100
101
some improvements are possible in this area. But if you really care
about the desktop performance, then you likely don't want to enable
any compositing effects in your window manager anyway.
102
103
.TP
.BI "Option \*qAccelMethod\*q \*q" "string" \*q
104
105
106
107
Chooses between available acceleration architectures. Valid values are
.B G2D
and
.B CPU.
108
The default is
109
.B G2D.
110

Kaleb Keithley's avatar
Kaleb Keithley committed
111
.SH "SEE ALSO"
112
__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__),
Kaleb Keithley's avatar
Kaleb Keithley committed
113
114
X(__miscmansuffix__), fbdevhw(__drivermansuffix__)
.SH AUTHORS
115
Authors include: Gerd Knorr, Michel D\(:anzer, Geert Uytterhoeven, Siarhei Siamashka