aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-10-17 20:58:04 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-12-03 00:06:38 -0500
commitfeeb0aecfb73b5b7699c0a85ba1650e6f9c50be2 (patch)
tree9b0d496bf886399aa40c416665c61ef43db230b1 /drivers/gpu/drm/nouveau/nouveau_drv.h
parentf175b745b50c5c5356e8b3b409b7f38aa44de6bb (diff)
drm/nouveau: Add unlocked variants of nouveau_channel_get/put.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 198dabebafb2..e6708be58bcf 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -803,7 +803,10 @@ extern int nouveau_channel_alloc(struct drm_device *dev,
803 struct drm_file *file_priv, 803 struct drm_file *file_priv,
804 uint32_t fb_ctxdma, uint32_t tt_ctxdma); 804 uint32_t fb_ctxdma, uint32_t tt_ctxdma);
805extern struct nouveau_channel * 805extern struct nouveau_channel *
806nouveau_channel_get_unlocked(struct nouveau_channel *);
807extern struct nouveau_channel *
806nouveau_channel_get(struct drm_device *, struct drm_file *, int id); 808nouveau_channel_get(struct drm_device *, struct drm_file *, int id);
809extern void nouveau_channel_put_unlocked(struct nouveau_channel **);
807extern void nouveau_channel_put(struct nouveau_channel **); 810extern void nouveau_channel_put(struct nouveau_channel **);
808 811
809/* nouveau_object.c */ 812/* nouveau_object.c */