From: Marcin Slusarz Date: Sun, 6 Nov 2011 19:32:06 +0000 (+0100) Subject: drm/nv50: fix page faulting for 128MB page table sizes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e7f96aa3a4b26db4a0ac49a96a9b55f1685e8b2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git drm/nv50: fix page faulting for 128MB page table sizes This seems to be a typo... Signed-off-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nv50_vm.c b/drivers/gpu/drm/nouveau/nv50_vm.c index 40b84f22d819..6f38ceae3aa4 100644 --- a/drivers/gpu/drm/nouveau/nv50_vm.c +++ b/drivers/gpu/drm/nouveau/nv50_vm.c @@ -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; }