summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_fence.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-10-19 19:57:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 15:06:54 +1000
commita6a1a38075661bec189f2bad7912f8861e6ce357 (patch)
tree0c58a39eb33012c32f0ebb86079bf5c3d6b6fa90 /drivers/gpu/drm/nouveau/nouveau_fence.c
parent50536946faaf3d9ac0245838eb09e5eb1065b06c (diff)
downloadlinux-a6a1a38075661bec189f2bad7912f8861e6ce357.tar.gz
linux-a6a1a38075661bec189f2bad7912f8861e6ce357.tar.bz2
linux-a6a1a38075661bec189f2bad7912f8861e6ce357.zip
drm/nouveau: use object class structs more extensively
The structs themselves, as well as the non-sw object creation function are probably very misnamed now. That's a problem for later :) Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_fence.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.c b/drivers/gpu/drm/nouveau/nouveau_fence.c
index f70bec835f5f..75ce1b45d8a4 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fence.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fence.c
@@ -437,7 +437,7 @@ nouveau_fence_channel_init(struct nouveau_channel *chan)
int ret;
/* Create an NV_SW object for various sync purposes */
- ret = nouveau_gpuobj_sw_new(chan, NV_SW, &obj);
+ ret = nouveau_gpuobj_gr_new(chan, NV_SW, &obj);
if (ret)
return ret;