how to handle MSB framebuffer in LSB kernel?

3 messages, 2 authors, 2007-08-14 · open the first message on its own page

how to handle MSB framebuffer in LSB kernel?

From: Krzysztof Helt <hidden>
Date: 2007-08-13 19:41:24

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/

Re: how to handle MSB framebuffer in LSB kernel?

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2007-08-13 20:15:44

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/

Re: how to handle MSB framebuffer in LSBkernel?

From: Krzysztof Helt <hidden>
Date: 2007-08-14 16:21:50

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:
quoted
Hi,

I have a problem how to handle MSB framebuffer (s3c2410fb) in 
LSB 
quoted
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
quoted
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help