mirror of https://gitee.com/openkylin/linux.git
b8c909454f
Currently, fbcon assumes that the visual FB_VISUAL_MONO* is always 1 bit. According to Geert, there are old hardware where it's possible to have monochrome at 8-bit, but has only 2 colors, black - 0x00 and white - 0xff. Fix color handlers (fb_get_color_depth, and get_color) for this special case. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
Makefile | ||
nv_accel.c | ||
nv_dma.h | ||
nv_hw.c | ||
nv_i2c.c | ||
nv_local.h | ||
nv_of.c | ||
nv_proto.h | ||
nv_setup.c | ||
nv_type.h | ||
nvidia.c |