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

2009-01-08 Thread Sergei Shtylyov
Hello. Benjamin Herrenschmidt wrote: This fixes radeonfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Signed-off-by: Benjamin Herrensc

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

2009-01-08 Thread Sergei Shtylyov
Hello. Benjamin Herrenschmidt wrote: This fixes radeonfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Signed-off-by: Benjamin Herrensc

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

2008-04-23 Thread Benjamin Herrenschmidt
On Wed, 2008-04-23 at 02:57 -0700, David Miller wrote: > > 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 kn

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

2008-04-23 Thread David Miller
From: Michel Dänzer <[EMAIL PROTECTED]> Date: Wed, 23 Apr 2008 11:32:07 +0200 > On Wed, 2008-04-23 at 08:21 +1000, Benjamin Herrenschmidt wrote: > > On Tue, 2008-04-22 at 17:55 +0200, Christian Ehrhardt wrote: > > > I wanted to ask if there are any known workarounds atm that would > > > allow me t

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

2008-04-23 Thread Benjamin Herrenschmidt
On Wed, 2008-04-23 at 11:32 +0200, Michel Dänzer wrote: > > 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 in

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

2008-04-23 Thread Michel Dänzer
On Wed, 2008-04-23 at 08:21 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2008-04-22 at 17:55 +0200, Christian Ehrhardt wrote: > > 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

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

2008-04-22 Thread Benjamin Herrenschmidt
On Tue, 2008-04-22 at 17:55 +0200, Christian Ehrhardt wrote: > 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/

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

2008-04-22 Thread Michel Dänzer
On Tue, 2008-04-22 at 17:55 +0200, Christian Ehrhardt wrote: > > You see it e.g. when you try to initialize X11, the x11 radeon driver > issues a FBIOGET_FSCREENINFO ioctl [...] FWIW, current versions of the xf86-video-ati radeon driver no longer use radeonfb for anything. -- Earthling Michel

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

2008-04-22 Thread Christian Ehrhardt
Benjamin Herrenschmidt wrote: This fixes radeonfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Thanks for this patch Benjamin, I use it

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

2008-04-21 Thread Benjamin Herrenschmidt
This fixes radeonfb to not truncate 64 bits resources on 32 bits platforms. Unfortunately, there are still issues with addresses returned to userspace via struct fb_fix_screeninfo. This will have to be dealt with separately. Signed-off-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> --- drivers/v