[PATCH] fbdev: colormap fixes
authorJon Smirl <jonsmirl@gmail.com>
Wed, 27 Jul 2005 18:46:05 +0000 (11:46 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:18 +0000 (16:26 -0700)
commitd210224732b3d32e802e3537499297d387852166
tree17014af0ea8b19dae7848736d324499715b7a1a3
parent3ca34fcbfbf8a7cbe99d54ae81c4e28fdc6f4ac6
[PATCH] fbdev: colormap fixes

Color maps have up to 256 entries.  4096/256 allows for 16 characters per
line.  The format for a cmap entry is "%02x%c%4x%4x%4x\n" %02x entry %c
transp %4x red %4x blue %4x green

You can read the color_map with cat fb0/color_map.

Signed-off-by: Jon Smirl <jonsmirl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbsysfs.c