aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs2012-04-16 17:35:43 -0500
committerBen Skeggs2012-04-16 17:35:43 -0500
commit73b9a2881c37990dee0afb9cb23a6a1e85339ede (patch)
tree7237853fd6351931aa55e022220b3af7270a56a4 /nouveau
parent292da616fe1f936ca78a3fa8e1b1b19883e343b6 (diff)
downloadexternal-libgbm-73b9a2881c37990dee0afb9cb23a6a1e85339ede.tar.gz
external-libgbm-73b9a2881c37990dee0afb9cb23a6a1e85339ede.tar.xz
external-libgbm-73b9a2881c37990dee0afb9cb23a6a1e85339ede.zip
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>
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/abi16.c2
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
55abi16_chan_nvc0(struct nouveau_object *obj) 55abi16_chan_nvc0(struct nouveau_object *obj)
56{ 56{
57 struct nouveau_device *dev = (struct nouveau_device *)obj->parent; 57 struct nouveau_device *dev = (struct nouveau_device *)obj->parent;
58 struct drm_nouveau_channel_alloc req; 58 struct drm_nouveau_channel_alloc req = {};
59 struct nvc0_fifo *nvc0 = obj->data; 59 struct nvc0_fifo *nvc0 = obj->data;
60 int ret; 60 int ret;
61 61