drm/amdkfd: destroy dbgmgr in notifier release
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 26 May 2016 05:41:48 +0000 (08:41 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 3 Jun 2016 05:50:40 +0000 (08:50 +0300)
commitbc4755a4bd1845ef6e88ac8c62f12e05bb530256
treeb1a51c12ade898832cbba91944f7f99b045ff44e
parent121b78e679ee3ffab780115e260b2775d0cc1f73
drm/amdkfd: destroy dbgmgr in notifier release

amdkfd need to destroy the debug manager in case amdkfd's notifier
function is called before the unbind function, because in that case,
the unbind function will exit without destroying debug manager.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
CC: Stable <stable@vger.kernel.org>
drivers/gpu/drm/amd/amdkfd/kfd_process.c