search for: nvkm_ramht_remov

Displaying 1 result from an estimated 1 matches for "nvkm_ramht_remov".

Did you mean: nvkm_ramht_remove
2016 Sep 10
1
[PATCH] fifo/nv04: avoid ramht race against cookie insertion
...v04.c @@ -37,7 +37,10 @@ nv04_fifo_dma_object_dtor(struct nvkm_fifo_chan *base, int cookie) { struct nv04_fifo_chan *chan = nv04_fifo_chan(base); struct nvkm_instmem *imem = chan->fifo->base.engine.subdev.device->imem; + + mutex_lock(&chan->fifo->base.engine.subdev.mutex); nvkm_ramht_remove(imem->ramht, cookie); + mutex_unlock(&chan->fifo->base.engine.subdev.mutex); } static int -- 2.7.3