From: Angelo <s104259@yahoo•it>
To: linuxppc-embedded@ozlabs•org
Subject: framebuffer swap endianess
Date: Tue, 22 Jan 2008 16:46:47 +0100 (CET) [thread overview]
Message-ID: <323144.65236.qm@web23105.mail.ird.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 739 bytes --]
Hi, i'm angelo.
I have just create a framebuffer for an embedded system:
- powerpc (little endian) with a GPU (big endian).
I'm working on linux 2.6.22
When i try to execute Xfbdev, it starts but with wrong colors.
I need to swap the RGB format (RRRRRGGGGGGBBBBB) to BGR, respecting the endianess (GGGRRRRRBBBBBGGG).
I know that X loads with some ioctl, the principal settings through framebuffer.
But i'm not sure if framebuffer can inform it on the RGB format.
I also tried to change something on cmap, but nothing changes on display;
So, i hope you can help me.
Many thanks.
---------------------------------
---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
[-- Attachment #2: Type: text/html, Size: 952 bytes --]
next reply other threads:[~2008-01-22 15:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 15:46 Angelo [this message]
2008-01-22 16:45 ` framebuffer swap endianess Josh Boyer
2008-01-23 7:39 ` Roman Fietze
2008-01-23 16:39 ` Kumar Gala
-- strict thread matches above, loose matches on Subject: below --
2008-01-24 14:27 Angelo
2008-01-25 6:47 ` Roman Fietze
2008-01-25 10:55 ` Clemens Koller
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=323144.65236.qm@web23105.mail.ird.yahoo.com \
--to=s104259@yahoo$(echo .)it \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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