drm/nv84-/fence: abstract class emit/sync functions to virt+sequence
authorBen Skeggs <bskeggs@redhat.com>
Wed, 13 Feb 2013 23:37:35 +0000 (09:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:52 +0000 (16:00 +1000)
commitbba9852feedf3d38f963278e07bdd3db622090b9
treea7a62aee22165a817c43caccabf14940bdfdf820
parenta34caf78f26bda63869471cb3f46f354f4658758
drm/nv84-/fence: abstract class emit/sync functions to virt+sequence

Now can be used to operate on any buffer mapped into the GPU virtual
address and not just the main inter-channel sync buffer.

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