Home
last modified time | relevance | path

Searched hist:fe528c13acc764965929b7fcb5fadf2c15b57373 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.cdiff fe528c13acc764965929b7fcb5fadf2c15b57373 Sat Oct 28 01:35:23 CEST 2017 Felix Kuehling <Felix.Kuehling@amd.com> 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>