Skip to content

Commit

Permalink
drm/nouveau: fix vram page mapping when crossing page table boundaries
Browse files Browse the repository at this point in the history
Hopefully the cause of nvc0 "page jumping" issue.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Jun 6, 2011
1 parent c1003d9 commit 73c337e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nouveau_vm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 73c337e

Please sign in to comment.