drm/amdkfd: wait only for IH work on IH exit
authorAndres Rodriguez <andres.rodriguez@amd.com>
Fri, 27 Oct 2017 23:35:33 +0000 (19:35 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Fri, 27 Oct 2017 23:35:33 +0000 (19:35 -0400)
commit0f875e3f3e422d28bb80757269837def75009778
treec231a97c3b9dcfa62973c116f2915aaae5dab336
parent27232055b12902073f3dbc17cdfa2def27f70d85
drm/amdkfd: wait only for IH work on IH exit

We don't need to wait for all work to complete in the IH exit function.
We only need to make sure the interrupt_work has finished executing to
guarantee that ih_kfifo is no longer in use.

Signed-off-by: Andres Rodriguez <andres.rodriguez@amd.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c