Commit 9e7f96aa authored by Marcin Slusarz's avatar Marcin Slusarz Committed by Ben Skeggs

drm/nv50: fix page faulting for 128MB page table sizes

This seems to be a typo...
Signed-off-by: default avatarMarcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 13f90122
...@@ -48,7 +48,7 @@ nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde, ...@@ -48,7 +48,7 @@ nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
phys |= 0x60; phys |= 0x60;
else if (coverage <= 64 * 1024 * 1024) else if (coverage <= 64 * 1024 * 1024)
phys |= 0x40; phys |= 0x40;
else if (coverage < 128 * 1024 * 1024) else if (coverage <= 128 * 1024 * 1024)
phys |= 0x20; phys |= 0x20;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment