From: Ben Skeggs Subject: Re: [PATCH] drm/nv50/vm: Prevent kernel freeze Date: Thu, 01 Mar 2012 09:15:32 +1000 Message-ID: <1330557332.2135.0.camel@nisroch> References: <1330376501-15055-1-git-send-email-emil.l.velikov@gmail.com> Reply-To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1330376501-15055-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Emil Velikov Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On Mon, 2012-02-27 at 21:01 +0000, Emil Velikov wrote: > Commit 'drm/nv50-nvc0/vm: support unsnooped system memory' caused > a regression on certain nv50 IGP due to not passing the correct > target type to nv50_vm_addr() Thanks for this, I've pushed it to the nouveau tree. Ben. > > Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45746 > Reported-by: Johannes Obermayr > Tested-by: Johannes Obermayr > Signed-off-by: Emil Velikov > --- > drivers/gpu/drm/nouveau/nv50_vm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c b/drivers/gpu/drm/nouveau/nv50_vm.c > index f06f4ad..44fbac9 100644 > --- a/drivers/gpu/drm/nouveau/nv50_vm.c > +++ b/drivers/gpu/drm/nouveau/nv50_vm.c > @@ -85,7 +85,7 @@ nv50_vm_map(struct nouveau_vma *vma, struct nouveau_gpuobj *pgt, > target = 3; > } > > - phys = vm_addr(vma, phys, mem->memtype, 0); > + phys = vm_addr(vma, phys, mem->memtype, target); > pte <<= 3; > cnt <<= 3; >