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>
main
Ben Skeggs 2012-04-17 08:35:43 +10:00
parent 292da616fe
commit 73b9a2881c
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ int
abi16_chan_nvc0(struct nouveau_object *obj) abi16_chan_nvc0(struct nouveau_object *obj)
{ {
struct nouveau_device *dev = (struct nouveau_device *)obj->parent; 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; struct nvc0_fifo *nvc0 = obj->data;
int ret; int ret;