OSDN Git Service

drm/amdkfd: Deallocate SDMA queues correctly
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 23 Mar 2018 19:30:34 +0000 (15:30 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 23 Mar 2018 19:30:34 +0000 (15:30 -0400)
commit72a01d231dcb22a276209c7a924a8cd475fbaa9b
tree9fa79e705b263b5936635cc4b0cc897e8b232620
parentc70a36268799cf2f902b5a31e452571fcb96bfe9
drm/amdkfd: Deallocate SDMA queues correctly

Deallocate SDMA queues during abnormal process termination and when
queue creation fails after the SDMA allocation.

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>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c