aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_chan.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-10-08 00:29:16 -0400
committerBen Skeggs <bskeggs@redhat.com>2012-11-28 18:56:39 -0500
commitf756944a219cb2d38b0859e8af680f9b216de1e3 (patch)
tree85bef8abe897bd9fd53c6f942978e6b9895491b6 /drivers/gpu/drm/nouveau/nouveau_chan.c
parent344e107df7a5c365287aabe9df7df58b3765246b (diff)
drm/nv50/dmaobj: extend class to allow gpu-specific attributes to be defined
disp is going to need to be able to create more specific dma objects than was previously possible. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_chan.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_chan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_chan.c b/drivers/gpu/drm/nouveau/nouveau_chan.c
index c1d7301c0e9c..049c6b23e1d7 100644
--- a/drivers/gpu/drm/nouveau/nouveau_chan.c
+++ b/drivers/gpu/drm/nouveau/nouveau_chan.c
@@ -267,7 +267,7 @@ nouveau_channel_init(struct nouveau_channel *chan, u32 vram, u32 gart)
267 struct nouveau_fb *pfb = nouveau_fb(device); 267 struct nouveau_fb *pfb = nouveau_fb(device);
268 struct nouveau_software_chan *swch; 268 struct nouveau_software_chan *swch;
269 struct nouveau_object *object; 269 struct nouveau_object *object;
270 struct nv_dma_class args; 270 struct nv_dma_class args = {};
271 int ret, i; 271 int ret, i;
272 272
273 /* allocate dma objects to cover all allowed vram, and gart */ 273 /* allocate dma objects to cover all allowed vram, and gart */