LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "利平 张" <cmoszhang@yahoo.com.cn>
To: linuxppc-embedded@ozlabs.org
Subject: i have a question about:ppc pci and frame_buffer
Date: Thu, 26 Jul 2007 15:58:04 +0800 (CST)	[thread overview]
Message-ID: <749612.18053.qm@web15210.mail.cnb.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]

now i have a question:
  i know ppc is big_endian and pci bus is little_endian.i made a graphics pci card use big_endian.
  when i use graphics card to show QT 's picture through VGA ,the color is not what i wanted, it's inversed ,others are in right position.
  here below is what i want :
  #################################################
  0..................7  8............15 16..............24 25.................31 
           B                    G                   R                TRANS
  now it is this:
  #################################################
  0..................7  8............15 16..............24 25.................31 
        TRANS               R                   G                   B
  #################################################
   
  through mmap, the ppc display the screen color through direct pci bus control ,how can i change it?? 
  change kernel?? (i don't know where to change)
  or change others?? 

       
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件! 

[-- Attachment #2: Type: text/html, Size: 1876 bytes --]

             reply	other threads:[~2007-07-26  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-26  7:58 利平 张 [this message]
2007-07-26  9:11 ` I have a question about:ppc pci and frame_buffer Erik Christiansen

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=749612.18053.qm@web15210.mail.cnb.yahoo.com \
    --to=cmoszhang@yahoo.com.cn \
    --cc=linuxppc-embedded@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox