drm/amdkfd: destroy dbgmgr in notifier release

commit bc4755a4bd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Oded Gabbay 2016-05-26 08:41:48 +03:00 • committed by Greg Kroah-Hartman
commit 83a6e52a51