blob: 45d9de5b13a3cb9f8143484d49737ae87254fdf7 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001Tridentfb is a framebuffer driver for some Trident chip based cards.
2
3The following list of chips is thought to be supported although not all are
4tested:
5
Krzysztof Helta90ed922008-07-23 21:31:22 -07006those from the TGUI series 9440/96XX and with Cyber in their names
7those from the Image series and with Cyber in their names
8those with Blade in their names (Blade3D,CyberBlade...)
9the newer CyberBladeXP family
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Krzysztof Helta90ed922008-07-23 21:31:22 -070011All families are accelerated. Only PCI/AGP based cards are supported,
12none of the older Tridents.
13The driver supports 8, 16 and 32 bits per pixel depths.
14The TGUI family requires a line length to be power of 2 if acceleration
15is enabled. This means that range of possible resolutions and bpp is
16limited comparing to the range if acceleration is disabled (see list
17of parameters below).
18
19Known bugs:
201. The driver randomly locks up on 3DImage975 chip with acceleration
21 enabled. The same happens in X11 (Xorg).
222. The ramdac speeds require some more fine tuning. It is possible to
23 switch resolution which the chip does not support at some depths for
24 older chips.
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26How to use it?
27==============
28
29When booting you can pass the video parameter.
30video=tridentfb
31
32The parameters for tridentfb are concatenated with a ':' as in this example.
33
Krzysztof Helta90ed922008-07-23 21:31:22 -070034video=tridentfb:800x600-16@75,noaccel
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
36The second level parameters that tridentfb understands are:
37
38noaccel - turns off acceleration (when it doesn't work for your card)
Linus Torvalds1da177e2005-04-16 15:20:36 -070039
40fp - use flat panel related stuff
41crt - assume monitor is present instead of fp
42
43center - for flat panels and resolutions smaller than native size center the
44 image, otherwise use
45stretch
46
Krzysztof Helta90ed922008-07-23 21:31:22 -070047memsize - integer value in KB, use if your card's memory size is misdetected.
Linus Torvalds1da177e2005-04-16 15:20:36 -070048 look at the driver output to see what it says when initializing.
Krzysztof Helta90ed922008-07-23 21:31:22 -070049
50memdiff - integer value in KB, should be nonzero if your card reports
51 more memory than it actually has. For instance mine is 192K less than
Linus Torvalds1da177e2005-04-16 15:20:36 -070052 detection says in all three BIOS selectable situations 2M, 4M, 8M.
53 Only use if your video memory is taken from main memory hence of
Krzysztof Helta90ed922008-07-23 21:31:22 -070054 configurable size. Otherwise use memsize.
55 If in some modes which barely fit the memory you see garbage
56 at the bottom this might help by not letting change to that mode
57 anymore.
Linus Torvalds1da177e2005-04-16 15:20:36 -070058
59nativex - the width in pixels of the flat panel.If you know it (usually 1024
60 800 or 1280) and it is not what the driver seems to detect use it.
61
Krzysztof Helta90ed922008-07-23 21:31:22 -070062bpp - bits per pixel (8,16 or 32)
63mode - a mode name like 800x600-8@75 as described in
64 Documentation/fb/modedb.txt
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
66Using insane values for the above parameters will probably result in driver
67misbehaviour so take care(for instance memsize=12345678 or memdiff=23784 or
68nativex=93)
69
70Contact: jani@astechnix.ro