powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD
authorTimur Tabi <timur@freescale.com>
Mon, 9 May 2011 19:29:40 +0000 (14:29 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 19 May 2011 13:29:58 +0000 (08:29 -0500)
commit879350d12350c31f4bc2c24bc97d9b7a0ac78887
treeea0a504b9d436d7cea98398560fee1713e9218ec
parent977326fd1a3d272824fbbb480dc4aa347aa86fa8
powerpc/86xx: don't pretend that we support 8-bit pixels on the MPC8610 HPCD

If the video mode is set to 16-, 24-, or 32-bit pixels, then the pixel data
contains actual levels of red, blue, and green.  However, if the video mode
is set to 8-bit pixels, then the 8-bit value represents an index into color
table.  This is called "palette mode" on the Freescale DIU video controller.

The DIU driver does not currently support palette mode, but the MPC8610 HPCD
board file returned a non-zero (although incorrect) pixel format value for
8-bit mode.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/86xx/mpc8610_hpcd.c