Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260117
b: refs/heads/master
c: b7cb6c0
h: refs/heads/master
i:
  260115: 2b91c49
v: v3
  • Loading branch information
Ben Skeggs committed Jun 23, 2011
1 parent fe02bb6 commit c7d3f3d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 639212d01157266d9ee0b904fbc9f4a556e1c711
refs/heads/master: b7cb6c01ee549b6c7c365c92f156983d346295a3
4 changes: 3 additions & 1 deletion trunk/drivers/gpu/drm/nouveau/nouveau_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "nouveau_drv.h"
#include "nouveau_drm.h"
#include "nouveau_dma.h"
#include "nouveau_ramht.h"

static int
nouveau_channel_pushbuf_ctxdma_init(struct nouveau_channel *chan)
Expand Down Expand Up @@ -316,8 +317,9 @@ nouveau_channel_put_unlocked(struct nouveau_channel **pchan)
nouveau_bo_unpin(chan->pushbuf_bo);
nouveau_bo_ref(NULL, &chan->pushbuf_bo);
}
nouveau_gpuobj_channel_takedown(chan);
nouveau_ramht_ref(NULL, &chan->ramht, chan);
nouveau_notifier_takedown_channel(chan);
nouveau_gpuobj_channel_takedown(chan);

nouveau_channel_ref(NULL, pchan);
}
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/gpu/drm/nouveau/nouveau_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,6 @@ nouveau_gpuobj_channel_takedown(struct nouveau_channel *chan)

NV_DEBUG(dev, "ch%d\n", chan->id);

nouveau_ramht_ref(NULL, &chan->ramht, chan);

nouveau_vm_ref(NULL, &chan->vm, chan->vm_pd);
nouveau_gpuobj_ref(NULL, &chan->vm_pd);

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/gpu/drm/nouveau/nv50_evo.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ nv50_evo_channel_del(struct nouveau_channel **pevo)
return;
*pevo = NULL;

nouveau_ramht_ref(NULL, &evo->ramht, evo);
nouveau_gpuobj_channel_takedown(evo);
nouveau_bo_unmap(evo->pushbuf_bo);
nouveau_bo_ref(NULL, &evo->pushbuf_bo);
Expand Down

0 comments on commit c7d3f3d

Please sign in to comment.