framebuffer swap endianess
Hello all,
many thanks for your answer.
Modify the X server is a good idea.
I'd just tried to understand the exact place to make changes. Adding many "printf" to understand it. But it's very complex.
Quoted 2 lines
We modified the X Server and swapped when transferring from the shadow buffer to the video buffer. That cured all our problems.
Could you tell me where is the exact place to do this? in some files like fbdev.c or other?
Quoted 1 line
This was on the 2.4.25 from DENX and with Xfree86.
Sorry but i don't understand this sentence.
Anyway many thanks.
---------------------------------
---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
Hello Angelo,
Question to the mailing list readers: is it ok to post an xfree86 or xorg patch in this mailing list (about 9KiB), or would it be better to mail that patch to Angelo directly? Thanks.
Quoted 1 line · On Thursday 24 January 2008 15:27:12 Angelo wrote:
Modify the X server is a good idea.
Sure, if you know where. It took us some time to find "the" correct place. But see below. :)
Quoted 2 lines
Could you tell me where is the exact place to do this? in some files like
fbdev.cor other?
The major changes are inside programs/Xserver/miext/shadow/shpacked.c of either the xorg or xfree86 version of the X server. The swap is done when copying the data from the shadow buffer to the video memory.
Another place is programs/Xserver/hw/xfree86/drivers/fbdev/fbdev.c, but here we just setup the Screen correctly, so our new swapping shadow buffer update route will be used.
Quoted 3 lines
Quoted 1 line
This was on the 2.4.25 from DENX and with Xfree86.
Sorry but i don't understand this sentence.
We were using Linux 2.4.25 for the PowerPC from DENX and the XFree86 X Server. The kernel version shouldn't be a problem at all, and I think the patches should work on either X Server version, Xorg or Xfree86.
Roman
=2D-=20
Roman Fietze Telemotive AG B=FCro M=FChlhausen
Quoted 5 lines · Roman Fietze
Hello Angelo,
Question to the mailing list readers: is it ok to post an xfree86 or xorg patch in this mailing list (about 9KiB), or would it be better to mail that patch to Angelo directly? Thanks.
I'm interested in it. Please, at least, CC me. :-)
I was having similar issues with my SM501/SM502 on MPC8540/MPC8548. But due to other projects I had to slow down a bit that area.
Thank you,
Clemens