drm/nouveau/perfmon: do not forget to destroy the engine context
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 21 Jul 2014 09:59:44 +0000 (11:59 +0200)
committerBen Skeggs <bskeggs@redhat.com>
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 <samuel.pitoiset@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/perfmon/base.c