aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorYair Shachar <yair.shachar@amd.com>2017-11-01 19:21:29 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2017-11-01 19:21:29 -0400
commit062c5672d5f66963f6c87249a38226d0e70b1c4b (patch)
tree7195a8b5f66619548a10b2528a7089dfc55921be /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parente2a8e99964ded3a156137c1a02832493ee727721 (diff)
drm/amdkfd: Fix debug unregister procedure on process termination
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 <yair.shachar@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions