projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1003d9
)
drm/nouveau: fix vram page mapping when crossing page table boundaries
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 27 May 2011 16:12:04 +0000
(
02:12
+1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 6 Jun 2011 23:22:48 +0000
(09:22 +1000)
Hopefully the cause of nvc0 "page jumping" issue.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_vm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_vm.c
b/drivers/gpu/drm/nouveau/nouveau_vm.c
index 0059e6f58a8b642c9d88f00b7991a97dc68b1772..519a6b4bba466fce9a46577908b411e5cfdbbdfa 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_vm.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_vm.c
@@
-58,6
+58,7
@@
nouveau_vm_map_at(struct nouveau_vma *vma, u64 delta, struct nouveau_mem *node)
num -= len;
pte += len;
if (unlikely(end >= max)) {
+ phys += len << (bits + 12);
pde++;
pte = 0;
}