i have a question about:ppc pci and frame_buffer

利平 张 cmoszhang at yahoo.com.cn
Thu Jul 26 17:58:04 EST 2007


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附件! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070726/a6b33d0e/attachment.htm 


More information about the Linuxppc-embedded mailing list