* ARM: OMAP: omapfb: Fix 444 mode after recent LCD changes
@ 2006-07-08 22:55 Jonathan McDowell
0 siblings, 0 replies; only message in thread
From: Jonathan McDowell @ 2006-07-08 22:55 UTC (permalink / raw)
To: linux-omap-open-source
The recent changes to the LCD driver have broken the 444 mode (where a
12 bit panel is driven from 16 bits in memory). This one liner fixes it
for me.
Signed-Off-By: Jonathan McDowell <noodles@earth.li>
-----
diff -ruNp -X linux-2.6.17-e3-05/Documentation/dontdiff linux-2.6.17-e3-05/drivers/video/omap/omapfb_main.c linux-2.6.17-e3-06/drivers/video/omap/omapfb_main.c
--- linux-2.6.17-e3-05/drivers/video/omap/omapfb_main.c 2006-07-08 18:39:14.963928000 +0100
+++ linux-2.6.17-e3-06/drivers/video/omap/omapfb_main.c 2006-07-08 23:46:51.969142000 +0100
@@ -420,6 +420,7 @@ static int set_color_mode(struct omapfb_
plane->color_mode = OMAPFB_COLOR_CLUT_8BPP;
return 0;
case 12:
+ var->bits_per_pixel = 16;
plane->color_mode = OMAPFB_COLOR_RGB444;
return 0;
case 16:
-----
J.
--
Revd. Jonathan McDowell, ULC | Every bug you find is the last one.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-07-08 22:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-08 22:55 ARM: OMAP: omapfb: Fix 444 mode after recent LCD changes Jonathan McDowell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox