summaryrefslogtreecommitdiffstats
path: root/drivers/video/efifb.c
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-04-13 14:39:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 15:04:29 -0700
commit0ca1071f7dbd673de826eb3fb01bfdfd1d423433 (patch)
treebb60620604449f357ae7d099395b20199bc96197 /drivers/video/efifb.c
parentebde441177da3bad156701d351509f34295282ab (diff)
downloadlinux-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.tar.gz
linux-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.tar.bz2
linux-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.zip
uvesafb: fix color component length for pseudocolor modes
uvesafb incorrectly sets the length of the color fields to 6 bits for PSEUDOCOLOR modes, even though 8 bits are always used per pixel. Fix this by setting the length to 8. The switch of the DAC width from the default 6 bits to 8 bits is retained and tracked internally in the driver, but never exposed to userspace. Signed-off-by: Michal Januszewski <spock@gentoo.org> Acked-by: Krzysztof Helt <krzysztof.h1@poczta.fm> Cc: <syrjala@sci.fi> Cc: Geert Uytterhoeven <geert.uytterhoeven@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/efifb.c')
0 files changed, 0 insertions, 0 deletions