diff options
author | Francisco Jerez <currojerez@riseup.net> | 2009-12-26 02:42:45 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-11 14:41:11 +1000 |
commit | ca4362adb4c01807dfcf3f2b3152a7ee36f0d1ca (patch) | |
tree | 44129f4769ee7950d45bb1f6680418c265352b94 /drivers/gpu/drm/nouveau/nouveau_object.c | |
parent | 0a2d090f99c9686e5107ed59533fc4210a9a47d1 (diff) |
drm/nouveau: Allocate a per-channel instance of NV_SW.
It will be useful for various synchronization purposes, mostly stolen
from "[PATCH] drm/nv50: synchronize user channel after buffer object
move on kernel channel" by Maarten Maathuis.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_object.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_object.c b/drivers/gpu/drm/nouveau/nouveau_object.c index 93379bb81be..6c2cf81716d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_object.c +++ b/drivers/gpu/drm/nouveau/nouveau_object.c @@ -881,7 +881,7 @@ nouveau_gpuobj_gr_new(struct nouveau_channel *chan, int class, return 0; } -static int +int nouveau_gpuobj_sw_new(struct nouveau_channel *chan, int class, struct nouveau_gpuobj **gpuobj_ret) { |