if (gpuobj->heap.block_size)
nouveau_mm_fini(&gpuobj->heap);
- nouveau_object_destroy(&gpuobj->base);
+ nouveau_object_destroy(&gpuobj->object);
}
int
{
struct nouveau_gpuobj *gpuobj = (void *)object;
nouveau_object_ref(NULL, &gpuobj->parent);
- nouveau_object_destroy(&gpuobj->base);
+ nouveau_object_destroy(&gpuobj->object);
}
static struct nouveau_oclass