]> Pileus Git - ~andy/linux/commit
drm/nv50-nvc0: delay GART binding until move_notify time
authorBen Skeggs <bskeggs@redhat.com>
Thu, 10 Feb 2011 02:59:51 +0000 (12:59 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:46:01 +0000 (06:46 +1000)
commit26c0c9e33a2eb44b345d22d5928d5c8b7b261226
treed15305e77bfc4547a36cfa9755aeeffb15dd59ce
parentd5f423947a11103c43ad26ebb680d049c2d8edd6
drm/nv50-nvc0: delay GART binding until move_notify time

The immediate benefit of doing this is that on NV50 and up, the GPU
virtual address of any buffer is now constant, regardless of what
memtype they're placed in.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_mem.c
drivers/gpu/drm/nouveau/nouveau_notifier.c
drivers/gpu/drm/nouveau/nouveau_sgdma.c
drivers/gpu/drm/nouveau/nouveau_vm.c
drivers/gpu/drm/nouveau/nouveau_vm.h
drivers/gpu/drm/nouveau/nv50_vm.c
drivers/gpu/drm/nouveau/nvc0_vm.c