public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Bill Gatliff <bgat@billgatliff•com>
To: Roman Fietze <roman.fietze@telemotive•de>
Cc: linuxppc-dev@lists•ozlabs.org
Subject: Re: Xorg on Fujitsu "Lime" with MPC5200b?
Date: Thu, 15 Apr 2010 08:01:59 -0500	[thread overview]
Message-ID: <4BC70E47.9010408@billgatliff.com> (raw)
In-Reply-To: <201004150921.47268.roman.fietze@telemotive.de>

Roman Fietze wrote:
> Hallo Bill,
>
> On Thursday 15 April 2010 05:07:08 Bill Gatliff wrote:
>
>   
>> Actually, I *have* Debian squeeze's xorg running on the platform just
>> fine, with a 2.6.34-rc1 kernel (kernel.org).  Problem is, every single
>> diagonal line is very blocky--- not smooth at all.
>>     
>
> I'm 95% sure it's an endianess problem, on our boards we had to modify
> the X11 driver. What I did was swapping bytes when updating the device
> from the shadowfb inside programs/Xserver/miext/shadow/shpacked.c
>   

Are you talking about this code here?

    void
    shadowUpdatePacked (ScreenPtr pScreen,
                        shadowBufPtr pBuf)
    {
    ...
                    while (i--)
                        *win++ = *sha++;



Do I endian-swap each *sha?  Or, do I reorder the sha array before
dereferencing it (e.g. each *sha is right, but adjacent ones are in the
wrong order)?


b.g.

-- 
Bill Gatliff
bgat@billgatliff•com

  reply	other threads:[~2010-04-15 13:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-15  3:07 Xorg on Fujitsu "Lime" with MPC5200b? Bill Gatliff
2010-04-15  4:53 ` Benjamin Herrenschmidt
2010-04-15  7:21 ` Roman Fietze
2010-04-15 13:01   ` Bill Gatliff [this message]
2010-04-15 13:53     ` Roman Fietze
     [not found]       ` <v2ma0706c7b1004150906p34b853a0r80e2bb751e034b97@mail.gmail.com>
2010-04-15 16:07         ` Bill Gatliff
2010-04-16  6:14           ` Roman Fietze
2010-04-16  8:30             ` Michel Dänzer
2010-04-15 20:14       ` Bill Gatliff
2010-04-16  5:48         ` Roman Fietze
2010-04-16  2:51       ` Bill Gatliff
2010-04-16  8:28         ` Roman Fietze
2010-04-16  9:25       ` Gabriel Paubert
2010-04-15  7:44 ` Anatolij Gustschin

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=4BC70E47.9010408@billgatliff.com \
    --to=bgat@billgatliff$(echo .)com \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=roman.fietze@telemotive$(echo .)de \
    /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