summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-12-28 00:10:16 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-01-03 12:09:25 +1100
commit1bb0b7d21584b3f878e2bc880db62351ddee5185 (patch)
tree5d2d4b9402e1ef5a3e403b0280a4be8a864694a4 /arch/powerpc
parent9b961ed21a7c92c4768b9871a1c7e68d90f5267d (diff)
downloadtalos-op-linux-1bb0b7d21584b3f878e2bc880db62351ddee5185.tar.gz
talos-op-linux-1bb0b7d21584b3f878e2bc880db62351ddee5185.zip
offb: Fix setting of the pseudo-palette for >8bpp
When using a >8bpp framebuffer, offb advertises truecolor, not directcolor, and doesn't touch the color map even if it has a corresponding access method for the real hardware. Thus it needs to set the pseudo-palette with all 3 components of the color, like other truecolor framebuffers, not with copies of the color index like a directcolor framebuffer would do. This went unnoticed for a long time because it's pretty hard to get offb to kick in with anything but 8bpp (old BootX under MacOS will do that and qemu does it). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: stable@kernel.org
Diffstat (limited to 'arch/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud