All of lore.kernel.org
 help / color / mirror / Atom feed
* how to handle MSB framebuffer in LSB kernel?
@ 2007-08-13 19:41 Krzysztof Helt
  2007-08-13 20:15 ` Antonino A. Daplas
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Helt @ 2007-08-13 19:41 UTC (permalink / raw)
  To: linux-fbdev-devel

Hi,

I have a problem how to handle MSB framebuffer (s3c2410fb) in LSB 
kernel (typical ARM kernel).

It is not a problem in 8+ bpp (bits per pixel) modes.
The problem is how to reverse pixel order in 1, 2 and 4 bpp
modes, because it does not work otherwise. Is there any fb flag
or something?

Regards,
Krzysztof

----------------------------------------------------
Czy na wakacje warto zabraæ laptopa?
Zobacz gdzie dzia³aj± strefy darmowego, bezprzewodowego Internetu!
Kliknij: http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd128.html&sid=1259



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to handle MSB framebuffer in LSB kernel?
  2007-08-13 19:41 how to handle MSB framebuffer in LSB kernel? Krzysztof Helt
@ 2007-08-13 20:15 ` Antonino A. Daplas
  2007-08-14 16:21   ` how to handle MSB framebuffer in LSBkernel? Krzysztof Helt
  0 siblings, 1 reply; 3+ messages in thread
From: Antonino A. Daplas @ 2007-08-13 20:15 UTC (permalink / raw)
  To: linux-fbdev-devel

On Mon, 2007-08-13 at 21:41 +0200, Krzysztof Helt wrote:
> Hi,
> 
> I have a problem how to handle MSB framebuffer (s3c2410fb) in LSB 
> kernel (typical ARM kernel).
> 
> It is not a problem in 8+ bpp (bits per pixel) modes.
> The problem is how to reverse pixel order in 1, 2 and 4 bpp
> modes, because it does not work otherwise. Is there any fb flag
> or something?

If 4bpp, ab|cd|ef is reversed as ba|dc|ef? I don't think the drawing
libraries do not support pixel reversal. Either the hardware does it, or
we create a library for this.

Tony



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to handle MSB framebuffer in LSBkernel?
  2007-08-13 20:15 ` Antonino A. Daplas
@ 2007-08-14 16:21   ` Krzysztof Helt
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Helt @ 2007-08-14 16:21 UTC (permalink / raw)
  To: Antonino A.Daplas; +Cc: linux-fbdev-devel

Dnia 13-08-2007 o godz. 22:15 Antonino A. Daplas napisa³(a):
> On Mon, 2007-08-13 at 21:41 +0200, Krzysztof Helt wrote:
> > Hi,
> > 
> > I have a problem how to handle MSB framebuffer (s3c2410fb) in 
LSB 
> > kernel (typical ARM kernel).
> > 
> > It is not a problem in 8+ bpp (bits per pixel) modes.
> > The problem is how to reverse pixel order in 1, 2 and 4 bpp
> > modes, because it does not work otherwise. Is there any fb 
flag
> > or something?
> 
> If 4bpp, ab|cd|ef is reversed as ba|dc|ef?

Yes.

> I don't think the drawing
> libraries do not support pixel reversal. Either the hardware 
does it, or
> we create a library for this.
> 

It may be not so important if it is difficult/slow. Most PDAs 
uses TFT so support 8+ bpp modes. If it is not easy, this may 
stay as it is (mean still broken) or these modes (1-4bpp)  can be 
removed than added fixed and tested if someone needs them.

Regards,
Krzysztof

> 
> 

----------------------------------------------------
Producenci filmu SEZON NA MISIA przedstawiaj±
surfuj±ce pingwiny w nowej, animowanej komedii
NA FALI -  w kinach od 10 sierpnia! 
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fnafali_zwiastun.html&sid=1256



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-14 16:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13 19:41 how to handle MSB framebuffer in LSB kernel? Krzysztof Helt
2007-08-13 20:15 ` Antonino A. Daplas
2007-08-14 16:21   ` how to handle MSB framebuffer in LSBkernel? Krzysztof Helt

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.