Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
Dear Maxime Ripard, > Hi Marek, > > Le 22/04/2013 11:16, Marek Vasut a écrit : > > Dear Maxime Ripard, > > > >> The current code always registers as a 32 bits display, and uses the > >> hardware to drop the MSB of each color to abjust to the interface width > >> used by the panel. > >> > >>

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
Hi Marek, Le 22/04/2013 11:16, Marek Vasut a écrit : > Dear Maxime Ripard, > >> The current code always registers as a 32 bits display, and uses the >> hardware to drop the MSB of each color to abjust to the interface width >> used by the panel. >> >> This results on 18 bits (and probably 16

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
Hi Juergen, Le 22/04/2013 11:08, Juergen Beisert a écrit : > Hi Maxime, > > Maxime Ripard wrote: >> The current code always registers as a 32 bits display, and uses the >> hardware to drop the MSB of each color to abjust to the interface width >> used by the panel. >> >> This results on 18 bits

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
Dear Maxime Ripard, > The current code always registers as a 32 bits display, and uses the > hardware to drop the MSB of each color to abjust to the interface width > used by the panel. > > This results on 18 bits (and probably 16 bits display as well) in colors > being displayed poorly, because

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Juergen Beisert
Hi Maxime, Maxime Ripard wrote: > The current code always registers as a 32 bits display, and uses the > hardware to drop the MSB of each color to abjust to the interface width > used by the panel. > > This results on 18 bits (and probably 16 bits display as well) in colors > being displayed

[PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably 16 bits display as well) in colors being displayed poorly, because the MSB are obviously the most

[PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably 16 bits display as well) in colors being displayed poorly, because the MSB are obviously the most

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Juergen Beisert
Hi Maxime, Maxime Ripard wrote: The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably 16 bits display as well) in colors being displayed poorly,

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
Dear Maxime Ripard, The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably 16 bits display as well) in colors being displayed poorly, because the

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
Hi Juergen, Le 22/04/2013 11:08, Juergen Beisert a écrit : Hi Maxime, Maxime Ripard wrote: The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Maxime Ripard
Hi Marek, Le 22/04/2013 11:16, Marek Vasut a écrit : Dear Maxime Ripard, The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits (and probably 16 bits display as

Re: [PATCH RESEND] video: mxsfb: Fix colors display on lower color depth

2013-04-22 Thread Marek Vasut
Dear Maxime Ripard, Hi Marek, Le 22/04/2013 11:16, Marek Vasut a écrit : Dear Maxime Ripard, The current code always registers as a 32 bits display, and uses the hardware to drop the MSB of each color to abjust to the interface width used by the panel. This results on 18 bits