OpenCloudOS-Kernel/drivers/gpu/drm/amd
Felix Kuehling fe528c13ac drm/amdkfd: Fix event destruction with pending waiters
When an event with pending waiters is destroyed, those waiters may
end up sleeping forever unless they are notified and woken up.
Implement the notification by clearing the waiter->event pointer,
which becomes invalid anyway, when the event is freed, and waking
up the waiting tasks.

Waiters on an event that's destroyed return failure.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2017-10-27 19:35:23 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
amdkfd drm/amdkfd: Fix event destruction with pending waiters 2017-10-27 19:35:23 -04:00
include drm/amdgpu: add uvd enc registers in header 2017-10-06 17:43:53 -04:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay Linux 4.14-rc7 2017-11-02 12:40:41 +10:00
scheduler drm/amd/sched: fix job tear down order v2 2017-10-19 15:27:08 -04:00