diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-04-17 08:35:43 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-04-17 08:35:43 +1000 |
commit | 73b9a2881c37990dee0afb9cb23a6a1e85339ede (patch) | |
tree | 7237853fd6351931aa55e022220b3af7270a56a4 | |
parent | 292da616fe1f936ca78a3fa8e1b1b19883e343b6 (diff) |
nouveau: init nvc0 channel alloc req structure fully
Kernel rejects ~0 handles, even though they're not used on NVC0.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | nouveau/abi16.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/abi16.c b/nouveau/abi16.c index 688a9ac6..0fa575ce 100644 --- a/nouveau/abi16.c +++ b/nouveau/abi16.c @@ -55,7 +55,7 @@ int abi16_chan_nvc0(struct nouveau_object *obj) { struct nouveau_device *dev = (struct nouveau_device *)obj->parent; - struct drm_nouveau_channel_alloc req; + struct drm_nouveau_channel_alloc req = {}; struct nvc0_fifo *nvc0 = obj->data; int ret; |