summaryrefslogtreecommitdiff
path: root/drivers/video/intelfb/intelfbhw.h
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2009-04-13 21:39:43 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-13 22:04:29 (GMT)
commit0ca1071f7dbd673de826eb3fb01bfdfd1d423433 (patch)
treebb60620604449f357ae7d099395b20199bc96197 /drivers/video/intelfb/intelfbhw.h
parentebde441177da3bad156701d351509f34295282ab (diff)
downloadlinux-fsl-qoriq-0ca1071f7dbd673de826eb3fb01bfdfd1d423433.tar.xz
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/intelfb/intelfbhw.h')
0 files changed, 0 insertions, 0 deletions