linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Some advice needed with Xilinx Framebuffer
@ 2007-04-27  8:48 Peter Mendham
  0 siblings, 0 replies; only message in thread
From: Peter Mendham @ 2007-04-27  8:48 UTC (permalink / raw)
  To: linuxppc-embedded

Dear all,

Thanks to Andrei, and others, I have a working framebuffer on my device, 
nicely driving a standard VGA screen.  I have just discovered that my 
*actual* target display is rotated VGA, i.e. 480x640.  I would like to 
use it as a 640x480 display.  I would love some advice from you 
knowledgeable people as to how best to go about this.  I have had some 
(rather naive) thoughts:
1. Modify the hardware to read pixels from non-contiguous locations thus 
leaving the framebuffer structure (as far as software is concerned) 
completely intact.  The major problem with this is that the hardware is 
no longer doing burst reads (because locations are not contiguous) so 
will be using the bus a lot less efficiently.
2. Modify the hardware to expect the framebuffer memory to be arranged 
column-wise, rather than row-wise (i.e. as a 480x640 rotated display in 
memory).  Is there a way to get the framebuffer to still present this as 
a 640x480 display?
3. Be honest about the whole thing and make the framebuffer report a 
480x640 display and hope that I can rotate everything else.  I believe 
the console can be rotated(?) I'd also really like to run the Links 
browser in direct framebuffer mode, and/or maybe X.  Don't know if 
that's possible but it certainly sounds like a minefield...
4. Some other secret magic hidden fourth option I don't know about.  
Maybe there's a standard way of doing this?

My feeling is that I should keep the whole nasty rotated business as low 
level as possible without affecting performance too much, but maybe I'm 
wrong.  Anything you can suggest would be greatly appreciated.

Thanks in advance,
-- Peter


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-04-27  8:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-27  8:48 Some advice needed with Xilinx Framebuffer Peter Mendham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).