From: Jonathan McDowell <noodles@earth.li>
To: linux-omap-open-source@linux.omap.com
Subject: ARM: OMAP: omapfb: Fix 444 mode after recent LCD changes
Date: Sat, 8 Jul 2006 23:55:51 +0100 [thread overview]
Message-ID: <20060708225551.GA26313@earth.li> (raw)
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.
reply other threads:[~2006-07-08 22:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060708225551.GA26313@earth.li \
--to=noodles@earth.li \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox