Thread (10 messages) 10 messages, 5 authors, 2009-01-08

Re: [PATCH 1/3] radeonfb: Fix 64 bits resources on 32 bits archs

From: David Miller <davem@davemloft.net>
Date: 2008-04-23 10:03:20
Also in: linuxppc-dev, lkml

From: Michel Dänzer <redacted>
Date: Wed, 23 Apr 2008 11:32:07 +0200
On Wed, 2008-04-23 at 08:21 +1000, Benjamin Herrenschmidt wrote:
quoted
On Tue, 2008-04-22 at 17:55 +0200, Christian Ehrhardt wrote:
quoted
I wanted to ask if there are any known workarounds atm that would
allow me to use my X11 for now?
X is doing a mmap of /dev/mem instead of /dev/fb ?

You can normally map the fb mapping /dev/fb and then map the registers
using /dev/fb at an offset beyond the framebuffer (fix->smem_len).

If X is using /dev/mem instead, then it's being stupid and needs to be
fixed...
It's up to the driver, and again, the current radeon driver doesn't use
radeonfb at all anymore...
The only portable thing is for X to use the PCI sysfs mmap() stuff,
which current Xorg servers using libpciaccess do.

I know because I'm typing this from a sparc64 using a Radeon
with current Xorg :-)

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help