search for: nouveau_engctx_destroy

Displaying 1 result from an estimated 1 matches for "nouveau_engctx_destroy".

2014 Jul 21
1
[PATCH] perfmon: do not forget to destroy the engine context
.../engine/perfmon/base.c index e9c5e51..7481003 100644 --- a/nvkm/engine/perfmon/base.c +++ b/nvkm/engine/perfmon/base.c @@ -303,6 +303,7 @@ nouveau_perfctx_dtor(struct nouveau_object *object) { struct nouveau_perfmon *ppm = (void *)object->engine; mutex_lock(&nv_subdev(ppm)->mutex); + nouveau_engctx_destroy(&ppm->context->base); ppm->context = NULL; mutex_unlock(&nv_subdev(ppm)->mutex); } -- 2.0.0