mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
drm/nouveau/gr/nv40: fix oops in interrupt handler
fdo#93557 Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Cc: stable@vger.kernel.org
This commit is contained in:
parent
a814a29d7b
commit
9daf38f4fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user