Re: [PATCH v2] offb: make the screen properties endian safe
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-11-23 21:04:15
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2013-11-23 21:04:15
On Sat, 2013-11-23 at 18:38 +0100, Cedric Le Goater wrote:
So, 32bpp "works" but 16 is broken ... I guess my palette fix is just a lucky hack and I need to dig deeper in fb code to have a better understanding of the color map. I should have provided you two patches in the first place. Do you want the device tree data fixes for the frame buffer screen properties ? It helps to have a display for little endian guests even if the colors are wrong.
Before you pull your hair out, check if it works in BE :-) Cheers, Ben.