diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-06 22:25:36 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 01:58:56 -0400 |
commit | f6d4e62145b597c6249c1dc9c1c3ecd66ba165f0 (patch) | |
tree | e774d712f3a37e795aa58f58246ce1d55ee058f7 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 0320d7910b8905c7a99b3b0be369f91129a59f2f (diff) |
drm/nouveau: remove 'chan' argument from nouveau_gem_new
Userspace hasn't passed us a channel_hint for a long long time now, and
there isn't actually a need to do so anymore anyway.
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.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index a49953654a23..21cb385842b5 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -1324,10 +1324,9 @@ static inline struct nouveau_fence *nouveau_fence_ref(struct nouveau_fence *obj) | |||
1324 | } | 1324 | } |
1325 | 1325 | ||
1326 | /* nouveau_gem.c */ | 1326 | /* nouveau_gem.c */ |
1327 | extern int nouveau_gem_new(struct drm_device *, struct nouveau_channel *, | 1327 | extern int nouveau_gem_new(struct drm_device *, int size, int align, |
1328 | int size, int align, uint32_t domain, | 1328 | uint32_t domain, uint32_t tile_mode, |
1329 | uint32_t tile_mode, uint32_t tile_flags, | 1329 | uint32_t tile_flags, struct nouveau_bo **); |
1330 | struct nouveau_bo **); | ||
1331 | extern int nouveau_gem_object_new(struct drm_gem_object *); | 1330 | extern int nouveau_gem_object_new(struct drm_gem_object *); |
1332 | extern void nouveau_gem_object_del(struct drm_gem_object *); | 1331 | extern void nouveau_gem_object_del(struct drm_gem_object *); |
1333 | extern int nouveau_gem_ioctl_new(struct drm_device *, void *, | 1332 | extern int nouveau_gem_ioctl_new(struct drm_device *, void *, |