blob: 7921c9dee78c195409d148498ccb8c8739724a05 [file] [log] [blame]
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -03001=========
2Tridentfb
3=========
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005Tridentfb is a framebuffer driver for some Trident chip based cards.
6
7The following list of chips is thought to be supported although not all are
8tested:
9
Krzysztof Helta90ed922008-07-23 21:31:22 -070010those from the TGUI series 9440/96XX and with Cyber in their names
11those from the Image series and with Cyber in their names
12those with Blade in their names (Blade3D,CyberBlade...)
13the newer CyberBladeXP family
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Krzysztof Helta90ed922008-07-23 21:31:22 -070015All families are accelerated. Only PCI/AGP based cards are supported,
16none of the older Tridents.
17The driver supports 8, 16 and 32 bits per pixel depths.
18The TGUI family requires a line length to be power of 2 if acceleration
19is enabled. This means that range of possible resolutions and bpp is
20limited comparing to the range if acceleration is disabled (see list
21of parameters below).
22
23Known bugs:
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030024
Krzysztof Helta90ed922008-07-23 21:31:22 -0700251. The driver randomly locks up on 3DImage975 chip with acceleration
26 enabled. The same happens in X11 (Xorg).
272. The ramdac speeds require some more fine tuning. It is possible to
28 switch resolution which the chip does not support at some depths for
29 older chips.
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
31How to use it?
32==============
33
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030034When booting you can pass the video parameter::
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030036 video=tridentfb
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030038The parameters for tridentfb are concatenated with a ':' as in this example::
39
40 video=tridentfb:800x600-16@75,noaccel
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
42The second level parameters that tridentfb understands are:
43
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030044======== =====================================================================
45noaccel turns off acceleration (when it doesn't work for your card)
Linus Torvalds1da177e2005-04-16 15:20:36 -070046
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030047fp use flat panel related stuff
48crt assume monitor is present instead of fp
Linus Torvalds1da177e2005-04-16 15:20:36 -070049
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030050center for flat panels and resolutions smaller than native size center the
Linus Torvalds1da177e2005-04-16 15:20:36 -070051 image, otherwise use
52stretch
53
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030054memsize integer value in KB, use if your card's memory size is misdetected.
Linus Torvalds1da177e2005-04-16 15:20:36 -070055 look at the driver output to see what it says when initializing.
Krzysztof Helta90ed922008-07-23 21:31:22 -070056
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030057memdiff integer value in KB, should be nonzero if your card reports
Krzysztof Helta90ed922008-07-23 21:31:22 -070058 more memory than it actually has. For instance mine is 192K less than
Linus Torvalds1da177e2005-04-16 15:20:36 -070059 detection says in all three BIOS selectable situations 2M, 4M, 8M.
60 Only use if your video memory is taken from main memory hence of
Krzysztof Helta90ed922008-07-23 21:31:22 -070061 configurable size. Otherwise use memsize.
62 If in some modes which barely fit the memory you see garbage
63 at the bottom this might help by not letting change to that mode
64 anymore.
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030066nativex the width in pixels of the flat panel.If you know it (usually 1024
Linus Torvalds1da177e2005-04-16 15:20:36 -070067 800 or 1280) and it is not what the driver seems to detect use it.
68
Mauro Carvalho Chehabab42b812019-06-12 14:52:45 -030069bpp bits per pixel (8,16 or 32)
70mode a mode name like 800x600-8@75 as described in
71 Documentation/fb/modedb.rst
72======== =====================================================================
Linus Torvalds1da177e2005-04-16 15:20:36 -070073
74Using insane values for the above parameters will probably result in driver
75misbehaviour so take care(for instance memsize=12345678 or memdiff=23784 or
76nativex=93)
77
78Contact: jani@astechnix.ro