Message ID | CAMeQTsb0gUTVpmSzuh=tX__AnrGt-kmohbAbYpQs1CKX7FhXCQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Patrick, have a Tested-by: Holger Schurig <holgerschurig@gmail.com> for this. As for your suggestion: > though I recommend you use the modesetting driver because you get > a hardware accelerated cursor. The current Debian Wheezy xserver-xorg doesn't autoload the modesettings X11 driver. And I haven't found out how to manually load that driver ... also, there is about zilch documentation on that driver available, also the error messages in the Xorg.0.log don't help in any way. So, all in all this is too much hassle. So I'll wait until support for that comes in up Debian SID a.k.a. Unstable. I actually don't care about an "accelerated cursor" at all. I don't perceive the mouse cursor (or the text cursor in rxvt-unicode) to be "slow", so there's not much reason (for me!) in accellerating it in the first place.
On Tue, May 14, 2013 at 3:07 PM, Holger Schurig <holgerschurig@gmail.com> wrote: > Patrick, have a > > Tested-by: Holger Schurig <holgerschurig@gmail.com> > > for this. I'll add that. > As for your suggestion: > >> though I recommend you use the modesetting driver because you get >> a hardware accelerated cursor. > > The current Debian Wheezy xserver-xorg doesn't autoload the > modesettings X11 driver. And I haven't found out how to manually load > that driver ... also, there is about zilch documentation on that > driver available, also the error messages in the Xorg.0.log don't help > in any way. So, all in all this is too much hassle. That still confuses me, but let's hope it automagically goes away some day. > So I'll wait until support for that comes in up Debian SID a.k.a. > Unstable. I actually don't care about an "accelerated cursor" at all. > I don't perceive the mouse cursor (or the text cursor in rxvt-unicode) > to be "slow", so there's not much reason (for me!) in accellerating it > in the first place. Sure, you'll only see a difference if you're running a compositing window manager or your system is under heavy load. -Patrik
diff --git a/drivers/gpu/drm/gma500/framebuffer.c b/drivers/gpu/drm/gma500/framebuffer.c index 1534e22..8b1b6d9 100644 --- a/drivers/gpu/drm/gma500/framebuffer.c +++ b/drivers/gpu/drm/gma500/framebuffer.c @@ -121,8 +121,8 @@ static int psbfb_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) unsigned long address; int ret; unsigned long pfn; - /* FIXME: assumes fb at stolen base which may not be true */ - unsigned long phys_addr = (unsigned long)dev_priv->stolen_base; + unsigned long phys_addr = (unsigned long)dev_priv->stolen_base + + psbfb->gtt->offset; page_num = (vma->vm_end - vma->vm_start) >> PAGE_SHIFT;