drm/nv84/fence: access fences with full virtual address, not offset
authorBen Skeggs <bskeggs@redhat.com>
Wed, 13 Feb 2013 23:28:37 +0000 (09:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:51 +0000 (16:00 +1000)
commita34caf78f26bda63869471cb3f46f354f4658758
treedc9b1ce9d37ea3d2f0c6a34f7e4c90cc5be3a8f0
parentfa531bc8b4278010fd11819c089f6679890addee
drm/nv84/fence: access fences with full virtual address, not offset

Allows most of the code to be shared between nv84/nvc0 implementations,
and paves the way for doing emit/sync on non-VRAM buffers (multi-gpu,
dma-buf).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fence.h
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv84_fence.c
drivers/gpu/drm/nouveau/nvc0_fence.c