drm/nv50/vm: Prevent kernel freeze
Subsystems (3)
PATCH 1/1 drm/nv50/vm: Prevent kernel freeze
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()
Reported-by Johannes Obermayr <[email protected]>
Tested-by Johannes Obermayr <[email protected]>
Signed-off-by Emil Velikov <[email protected]>
--- drivers/gpu/drm/nouveau/nv50_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nv50_vm.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.9.2
A message that is not in the archive (sent off-list or not yet received): 1330376501-15055-1-git-send-email-emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Quoted 3 lines · Emil Velikov
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.
Quoted 22 lines
Reported-by Johannes Obermayr <[email protected]>Tested-by Johannes Obermayr <[email protected]>Signed-off-by Emil Velikov <[email protected]>--- drivers/gpu/drm/nouveau/nv50_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/nouveau/nv50_vm.c +1
-1@@ -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 ;