drm/nv50: fix page faulting for 128MB page table sizes
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 6 Nov 2011 19:32:06 +0000 (20:32 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:31 +0000 (19:01 +1000)
This seems to be a typo...

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_vm.c

index 40b84f22d819cd8f95e542429395d02120708980..6f38ceae3aa41d987a2a884afe3b3128dc1c5bb1 100644 (file)
@@ -48,7 +48,7 @@ nv50_vm_map_pgt(struct nouveau_gpuobj *pgd, u32 pde,
                        phys |= 0x60;
                else if (coverage <= 64 * 1024 * 1024)
                        phys |= 0x40;
-               else if (coverage < 128 * 1024 * 1024)
+               else if (coverage <= 128 * 1024 * 1024)
                        phys |= 0x20;
        }