[PATCH] offb: Fix setting of the pseudo-palette for >8bpp

2011-12-28 Thread Benjamin Herrenschmidt
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 co

[PATCH] offb: Fix setting of the pseudo-palette for >8bpp

2011-12-28 Thread Benjamin Herrenschmidt
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 co