From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp
Date: Fri, 02 Aug 2013 09:19:26 +0000 [thread overview]
Message-ID: <20130802091926.GR2911@lukather> (raw)
In-Reply-To: <51FB6F51.7090500@ti.com>
[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]
On Fri, Aug 02, 2013 at 11:35:29AM +0300, Tomi Valkeinen wrote:
> On 01/08/13 11:40, Maxime Ripard wrote:
> > From: Hector Palacios <hector.palacios@digi.com>
> >
> > For a combination of 18bit LCD data bus width and a color
> > mode of 32bpp, the driver was setting the color mapping to
> > rgb666, which is wrong, as the color in memory realy has an
> > rgb888 layout.
> >
> > This patch also removes the setting of flag CTRL_DF24 that
> > makes the driver dimiss the upper 2 bits when handling 32/24bpp
> > colors in a diplay with 18bit data bus width. This flag made
> > true color images display wrong in such configurations.
> >
> > Finally, the color mapping rgb666 has also been removed as nobody
> > is using it and high level applications like Qt5 cannot work
> > with it either.
> >
> > Reference: https://lkml.org/lkml/2013/5/23/220
> > Signed-off-by: Hector Palacios <hector.palacios@digi.com>
> > Acked-by: Juergen Beisert <jbe@pengutronix.de>
> > Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> > drivers/video/mxsfb.c | 26 --------------------------
> > 1 file changed, 26 deletions(-)
>
> This one is labeled as "fix". Should it got to v3.11?
It would be better yes. Otherwise, 3.12 will do.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: maxime.ripard@free-electrons.com (Maxime Ripard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp
Date: Fri, 2 Aug 2013 11:19:26 +0200 [thread overview]
Message-ID: <20130802091926.GR2911@lukather> (raw)
In-Reply-To: <51FB6F51.7090500@ti.com>
On Fri, Aug 02, 2013 at 11:35:29AM +0300, Tomi Valkeinen wrote:
> On 01/08/13 11:40, Maxime Ripard wrote:
> > From: Hector Palacios <hector.palacios@digi.com>
> >
> > For a combination of 18bit LCD data bus width and a color
> > mode of 32bpp, the driver was setting the color mapping to
> > rgb666, which is wrong, as the color in memory realy has an
> > rgb888 layout.
> >
> > This patch also removes the setting of flag CTRL_DF24 that
> > makes the driver dimiss the upper 2 bits when handling 32/24bpp
> > colors in a diplay with 18bit data bus width. This flag made
> > true color images display wrong in such configurations.
> >
> > Finally, the color mapping rgb666 has also been removed as nobody
> > is using it and high level applications like Qt5 cannot work
> > with it either.
> >
> > Reference: https://lkml.org/lkml/2013/5/23/220
> > Signed-off-by: Hector Palacios <hector.palacios@digi.com>
> > Acked-by: Juergen Beisert <jbe@pengutronix.de>
> > Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> > drivers/video/mxsfb.c | 26 --------------------------
> > 1 file changed, 26 deletions(-)
>
> This one is labeled as "fix". Should it got to v3.11?
It would be better yes. Otherwise, 3.12 will do.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130802/7d50883f/attachment.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: plagnioj@jcrosoft.com,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
hector.palacios@digi.com,
Thomas Petazzoni <thomas@free-electrons.com>,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-fbdev@vger.kernel.org
Subject: Re: [PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp
Date: Fri, 2 Aug 2013 11:19:26 +0200 [thread overview]
Message-ID: <20130802091926.GR2911@lukather> (raw)
In-Reply-To: <51FB6F51.7090500@ti.com>
[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]
On Fri, Aug 02, 2013 at 11:35:29AM +0300, Tomi Valkeinen wrote:
> On 01/08/13 11:40, Maxime Ripard wrote:
> > From: Hector Palacios <hector.palacios@digi.com>
> >
> > For a combination of 18bit LCD data bus width and a color
> > mode of 32bpp, the driver was setting the color mapping to
> > rgb666, which is wrong, as the color in memory realy has an
> > rgb888 layout.
> >
> > This patch also removes the setting of flag CTRL_DF24 that
> > makes the driver dimiss the upper 2 bits when handling 32/24bpp
> > colors in a diplay with 18bit data bus width. This flag made
> > true color images display wrong in such configurations.
> >
> > Finally, the color mapping rgb666 has also been removed as nobody
> > is using it and high level applications like Qt5 cannot work
> > with it either.
> >
> > Reference: https://lkml.org/lkml/2013/5/23/220
> > Signed-off-by: Hector Palacios <hector.palacios@digi.com>
> > Acked-by: Juergen Beisert <jbe@pengutronix.de>
> > Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> > ---
> > drivers/video/mxsfb.c | 26 --------------------------
> > 1 file changed, 26 deletions(-)
>
> This one is labeled as "fix". Should it got to v3.11?
It would be better yes. Otherwise, 3.12 will do.
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-08-02 9:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-01 8:40 [PATCHv3 0/3] Few ignored framebuffer fixes/additions Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-02 8:35 ` Tomi Valkeinen
2013-08-02 8:35 ` Tomi Valkeinen
2013-08-02 8:35 ` Tomi Valkeinen
2013-08-02 9:19 ` Maxime Ripard [this message]
2013-08-02 9:19 ` Maxime Ripard
2013-08-02 9:19 ` Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 2/3] video: hx8357: Make IM pins optional Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` [PATCHv3 3/3] fb: backlight: HX8357: Add HX8369 support Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 8:40 ` Maxime Ripard
2013-08-01 12:39 ` Tomi Valkeinen
2013-08-01 12:39 ` Tomi Valkeinen
2013-08-01 12:39 ` Tomi Valkeinen
2013-08-02 8:28 ` Maxime Ripard
2013-08-02 8:28 ` Maxime Ripard
2013-08-02 8:28 ` Maxime Ripard
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=20130802091926.GR2911@lukather \
--to=maxime.ripard@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.