Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334715
b: refs/heads/master
c: 92485ce
h: refs/heads/master
i:
  334713: fe3a783
  334711: c1c001c
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Oct 22, 2012
1 parent 99e88b0 commit b88be94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 90e2889c4e24e2bde8f226402b46c66e18162860
refs/heads/master: 92485cef52c2de0f98efdf527ea39cef2b9fc416
5 changes: 5 additions & 0 deletions trunk/drivers/gpu/drm/nouveau/core/core/gpuobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ nouveau_gpuobj_destroy(struct nouveau_gpuobj *gpuobj)
nv_wo32(gpuobj, i, 0x00000000);
}

if (gpuobj->node) {
nouveau_mm_free(&nv_gpuobj(gpuobj->parent)->heap,
&gpuobj->node);
}

if (gpuobj->heap.block_size)
nouveau_mm_fini(&gpuobj->heap);

Expand Down

0 comments on commit b88be94

Please sign in to comment.