1
0
Files
linux/drivers/video
Benjamin Herrenschmidt 1bb0b7d215 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
2012-01-03 12:09:25 +11:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-07-26 16:49:47 -07:00
2011-10-03 15:52:38 +00:00
2011-10-03 15:52:38 +00:00
2011-10-03 15:52:22 +00:00
2011-03-31 11:26:23 -03:00
2011-09-01 00:31:05 +00:00
2011-03-22 16:18:51 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-05-25 08:07:09 -07:00
2011-03-22 16:07:32 +09:00
2011-09-27 18:08:04 +02:00
2011-09-14 16:40:52 +00:00
2011-10-03 15:52:22 +00:00
2011-03-31 11:26:23 -03:00
2011-10-03 15:52:22 +00:00
2011-10-03 15:52:22 +00:00
2010-12-21 01:05:43 +09:00
2011-10-03 15:52:22 +00:00
2011-10-03 15:52:22 +00:00
2010-05-25 08:07:09 -07:00
2011-06-24 17:14:39 +09:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-06-16 18:05:05 +02:00
2011-10-03 15:52:22 +00:00
2011-06-24 17:14:39 +09:00
2011-07-04 16:02:48 +09:00
2011-10-03 15:52:22 +00:00