Commit cbb4cf8b authored by Samuel Pitoiset's avatar Samuel Pitoiset Committed by Ben Skeggs
Browse files

drm/nouveau/perfmon: do not forget to destroy the engine context

This fixes a crash when we reload Nouveau DRM.
Signed-off-by: default avatarSamuel Pitoiset <>
Signed-off-by: default avatarBen Skeggs <>
parent fd1496a0
......@@ -303,6 +303,7 @@ nouveau_perfctx_dtor(struct nouveau_object *object)
struct nouveau_perfmon *ppm = (void *)object->engine;
ppm->context = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment