drm/nouveau/perfmon: do not forget to destroy the engine context
authorSamuel Pitoiset <[email protected]>
Mon, 21 Jul 2014 09:59:44 +0000 (11:59 +0200)
committerBen Skeggs <[email protected]>
Sat, 9 Aug 2014 19:11:11 +0000 (05:11 +1000)
commitcbb4cf8bdffd943fa7cff724232b57b0e6891095
tree1bc927a5f2871535a447820a60716a44dc12b108
parentfd1496a0fc77f955317d6ca511f66a9e788e7e02
drm/nouveau/perfmon: do not forget to destroy the engine context

This fixes a crash when we reload Nouveau DRM.

Signed-off-by: Samuel Pitoiset <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
drivers/gpu/drm/nouveau/core/engine/perfmon/base.c