drm/nouveau/gr/nv40: fix oops in interrupt handler
authorBen Skeggs <bskeggs@redhat.com>
Sun, 3 Jan 2016 23:01:13 +0000 (09:01 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 4 Jan 2016 21:51:18 +0000 (07:51 +1000)
fdo#93557

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c

index ffa902ece87234420d2b25d1603995f5679b5245..05a895496fc66f6f96efd64cbdbe822e4baaf1cc 100644 (file)
@@ -156,6 +156,7 @@ nv40_gr_chan_new(struct nvkm_gr *base, struct nvkm_fifo_chan *fifoch,
                return -ENOMEM;
        nvkm_object_ctor(&nv40_gr_chan, oclass, &chan->object);
        chan->gr = gr;
+       chan->fifo = fifoch;
        *pobject = &chan->object;
 
        spin_lock_irqsave(&chan->gr->base.engine.lock, flags);