drm/nouveau: fix nv04_sgdma_bind on non-"4kB pages" archs
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Mon, 22 Aug 2011 21:22:13 +0000 (23:22 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 9 Sep 2011 07:24:10 +0000 (17:24 +1000)
commit1bf27066017c820b8ab2a1ac8430ea470c2de0c3
treef0f1eee65485fb879a9bf94b0773bc48d160a7b5
parent17c8b960930da3599e47801a54ac0ea1070545d2
drm/nouveau: fix nv04_sgdma_bind on non-"4kB pages" archs

nv04_sgdma_bind binds the same page multiple times on
architectures where PAGE_SIZE != 4096.
Let's fix it.

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