summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_notifier.c
diff options
context:
space:
mode:
authorBen Skeggs2011-06-07 04:25:36 +0200
committerBen Skeggs2011-06-23 07:58:56 +0200
commitf6d4e62145b597c6249c1dc9c1c3ecd66ba165f0 (patch)
treee774d712f3a37e795aa58f58246ce1d55ee058f7 /drivers/gpu/drm/nouveau/nouveau_notifier.c
parentdrm/nv50-nvc0/chan: inherit vm from fpriv, rather than chan_vm directly (diff)
downloadkernel-qcow2-linux-f6d4e62145b597c6249c1dc9c1c3ecd66ba165f0.tar.gz
kernel-qcow2-linux-f6d4e62145b597c6249c1dc9c1c3ecd66ba165f0.tar.xz
kernel-qcow2-linux-f6d4e62145b597c6249c1dc9c1c3ecd66ba165f0.zip
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_notifier.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_notifier.c b/drivers/gpu/drm/nouveau/nouveau_notifier.c
index 104b93b9f852..29190e845fd7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_notifier.c
+++ b/drivers/gpu/drm/nouveau/nouveau_notifier.c
@@ -46,7 +46,7 @@ nouveau_notifier_init_channel(struct nouveau_channel *chan)
ttmpl = TTM_PL_FLAG_TT;
}
- ret = nouveau_gem_new(dev, NULL, PAGE_SIZE, 0, flags, 0, 0, &ntfy);
+ ret = nouveau_gem_new(dev, PAGE_SIZE, 0, flags, 0, 0, &ntfy);
if (ret)
return ret;