linux/Documentation/fb
Rolf Eike Beer 04fee895ef DRM: clean up and document parsing of video= parameter
The video= parameter of the DRM drivers supports some additional flags that
the normal fb drivers do not have. They also allow to limit these flags to
specific outputs. Both things were previously undocumented.

Also the parsing of the line had some oddities:
-A lot of misplaced options were silently ignored or partly rejected instead
 of stopping the parsing immediately
-The 'R' option is documented to follow the 'M' option if specified. It is not
 documented that 'M' is needed to specify 'R' (also this is the case for normal
 fb drivers). In fact the code is correct for normal fb drivers but wrong for
 DRM ones.
 The old code allowed 'R' only _before_ 'M' (since it parses backwards) and only
 if 'M' is given at all which is not needed for the DRM drivers.
-the margins option ('m') was parsed but later ignored even if the later
 functions support it.
-specifying multiple enable options at the same time did not lead to an error.
-specifying something bogus for horizontal resolution (i.e. other things as
 digits) did not lead to an error but an invalid resolution was used.

If any errors are encountered the position of the faulting string is now
printed to the user and the complete mode is ignored. This gives much
more consistent error behaviour.

I also removed some useless assignments and changed the local flag variables
to be bool.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-07-25 12:02:26 +01:00
..
00-INDEX fbdev: Update documentation index file. 2010-11-18 15:01:54 +09:00
arkfb.txt arkfb: new framebuffer driver for ARK Logic cards 2007-05-09 12:30:57 -07:00
aty128fb.txt Fix more "deprecated" spellos. 2007-05-09 07:19:14 +02:00
cirrusfb.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cmap_xfbdev.txt fbdev: defio and Metronomefb 2008-03-19 18:53:37 -07:00
deferred_io.txt fb: defio nopage 2008-02-06 10:41:15 -08:00
efifb.txt fbdev: rename imacfb.txt to efifb.txt and change imacfb to efifb. 2010-04-07 08:38:02 -07:00
ep93xx-fb.txt ep93xx video driver 2009-09-23 07:39:51 -07:00
fbcon.txt Documentation: remove duplicated words 2006-10-03 22:57:56 +02:00
framebuffer.txt Documentation: update broken web addresses. 2010-08-04 15:21:40 +02:00
gxfb.txt PM/gxfb: add hook to PM console layer that allows disabling of suspend VT switch 2008-04-28 08:58:36 -07:00
intel810.txt [PATCH] Documentation fixes in intel810.txt 2006-10-03 08:04:13 -07:00
intelfb.txt intelfb: support 945GME (as used in ASUS Eee 901) 2008-10-16 11:21:42 -07:00
internals.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
lxfb.txt lxfb: disable suspend VT switch by default 2008-04-28 08:58:39 -07:00
matroxfb.txt matroxfb: make CONFIG_FB_MATROX_MULTIHEAD=y mandatory 2009-09-23 07:39:56 -07:00
metronomefb.txt fbdev: platforming metronomefb and am200epd 2008-04-28 08:58:41 -07:00
modedb.txt DRM: clean up and document parsing of video= parameter 2011-07-25 12:02:26 +01:00
pvr2fb.txt pvr2fb: update Documentation/fb/pvr2fb.txt 2007-08-11 15:47:40 -07:00
pxafb.txt [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices 2008-12-29 18:00:04 +08:00
s3fb.txt s3fb: driver fixes 2007-05-08 11:15:32 -07:00
sa1100fb.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sh7760fb.txt trivial: Miscellaneous documentation typo fixes 2009-06-12 18:01:47 +02:00
sisfb.txt Fix typos in Documentation/: 'F'-'G' 2006-10-03 22:49:15 +02:00
sm501.txt video, sm501: add edid and commandline support 2011-03-22 17:17:00 +09:00
sstfb.txt documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
tgafb.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tridentfb.txt tridentfb: documentation update 2008-07-24 10:47:37 -07:00
udlfb.txt fbdev: move udlfb out of staging. 2010-11-16 14:00:24 +09:00
uvesafb.txt uvesafb: documentation update 2009-04-07 08:31:09 -07:00
vesafb.txt Documentation/fb/vesafb.txt: fix typo 2009-06-16 19:47:58 -07:00
viafb.modes viafb: viafb.modes, viafb.txt 2008-10-16 11:21:41 -07:00
viafb.txt Fix common misspellings 2011-03-31 11:26:23 -03:00
vt8623fb.txt vt8623fb: new framebuffer driver for VIA VT8623 2007-05-09 12:30:57 -07:00