From 91855bb2540bbb824d4d5d437f3eb2d5d06c11ba Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 2 Jan 2007 16:35:00 +1100 Subject: nouveau: oops, forgot to free RAMIN.. --- shared-core/nouveau_fifo.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shared-core/nouveau_fifo.c') diff --git a/shared-core/nouveau_fifo.c b/shared-core/nouveau_fifo.c index 15d2d928..9f8c740e 100644 --- a/shared-core/nouveau_fifo.c +++ b/shared-core/nouveau_fifo.c @@ -590,6 +590,9 @@ void nouveau_fifo_free(drm_device_t* dev,int n) NV_WRITE(NV_RAMIN + dev_priv->ramfc_offset + n*ctx_size + i, 0); } + if (dev_priv->card_type >= NV_40) + nouveau_instmem_free(dev, dev_priv->fifos[n].ramin_grctx); + /* reenable the fifo caches */ NV_WRITE(NV_PFIFO_CACHES, 0x00000001); -- cgit v1.2.3