xref: /OK3568_Linux_fs/kernel/Documentation/fb/gxfb.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun=============
2*4882a593SmuzhiyunWhat is gxfb?
3*4882a593Smuzhiyun=============
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun.. [This file is cloned from VesaFB/aty128fb]
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThis is a graphics framebuffer driver for AMD Geode GX2 based processors.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunAdvantages:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun * No need to use AMD's VSA code (or other VESA emulation layer) in the
12*4882a593Smuzhiyun   BIOS.
13*4882a593Smuzhiyun * It provides a nice large console (128 cols + 48 lines with 1024x768)
14*4882a593Smuzhiyun   without using tiny, unreadable fonts.
15*4882a593Smuzhiyun * You can run XF68_FBDev on top of /dev/fb0
16*4882a593Smuzhiyun * Most important: boot logo :-)
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunDisadvantages:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun * graphic mode is slower than text mode...
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunHow to use it?
24*4882a593Smuzhiyun==============
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunSwitching modes is done using  gxfb.mode_option=<resolution>... boot
27*4882a593Smuzhiyunparameter or using `fbset` program.
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunSee Documentation/fb/modedb.rst for more information on modedb
30*4882a593Smuzhiyunresolutions.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunX11
34*4882a593Smuzhiyun===
35*4882a593Smuzhiyun
36*4882a593SmuzhiyunXF68_FBDev should generally work fine, but it is non-accelerated.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunConfiguration
40*4882a593Smuzhiyun=============
41*4882a593Smuzhiyun
42*4882a593SmuzhiyunYou can pass kernel command line options to gxfb with gxfb.<option>.
43*4882a593SmuzhiyunFor example, gxfb.mode_option=800x600@75.
44*4882a593SmuzhiyunAccepted options:
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun================ ==================================================
47*4882a593Smuzhiyunmode_option	 specify the video mode.  Of the form
48*4882a593Smuzhiyun		 <x>x<y>[-<bpp>][@<refresh>]
49*4882a593Smuzhiyunvram		 size of video ram (normally auto-detected)
50*4882a593Smuzhiyunvt_switch	 enable vt switching during suspend/resume.  The vt
51*4882a593Smuzhiyun		 switch is slow, but harmless.
52*4882a593Smuzhiyun================ ==================================================
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunAndres Salomon <dilinger@debian.org>
55