From: Yair Shachar
Take the dbgmgr lock and unregister before destroying the debug manager.
Do this before destroying the queues.
v2: Correct locking order in kfd_ioctl_dbg_register to ake sure the
process mutex and dbgmgr mutex are always taken in the same order.
Signed-off-by: Yair Shachar
S
On Thu, Oct 26, 2017 at 1:41 AM, Felix Kuehling wrote:
> From: Yair Shachar
>
> Take the dbgmgr lock and unregister before destroying the debug manager.
> Do this before destroying the queues.
>
> Signed-off-by: Yair Shachar
> Signed-off-by: Felix Kuehling
> ---
> drivers/gpu/drm/amd/amdkfd/kf
From: Yair Shachar
Take the dbgmgr lock and unregister before destroying the debug manager.
Do this before destroying the queues.
Signed-off-by: Yair Shachar
Signed-off-by: Felix Kuehling
---
drivers/gpu/drm/amd/amdkfd/kfd_process.c | 37 +++-
1 file changed, 27 in