projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ath9k_hw: don't touch with treewide double semicolon removal
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
nouveau
/
nvc0_instmem.c
diff --git
a/drivers/gpu/drm/nouveau/nvc0_instmem.c
b/drivers/gpu/drm/nouveau/nvc0_instmem.c
index
c090917
..
82357d2
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvc0_instmem.c
+++ b/
drivers/gpu/drm/nouveau/nvc0_instmem.c
@@
-67,7
+67,7
@@
nvc0_channel_del(struct nouveau_channel **pchan)
return;
nouveau_vm_ref(NULL, &chan->vm, NULL);
- if (
chan->ramin_heap.free_stack.next
)
+ if (
drm_mm_initialized(&chan->ramin_heap)
)
drm_mm_takedown(&chan->ramin_heap);
nouveau_gpuobj_ref(NULL, &chan->ramin);
kfree(chan);