summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-04-12 16:24:49 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-14 15:29:13 -0400
commit250e64a3f06c42e993e7b8c6f727d43b5b9f8c96 (patch)
tree469d936f31dc90ae9a295ffcf0e9e5bda8501251 /scripts/gdb/linux
parent9e12b5947bbaa74db32e24d77ebf3bd71015970c (diff)
drm/amdkfd: fix race condition in kfd_wait_on_events
Add the waiters to the wait queue during initialization, while holding the event spinlock. Otherwise the waiter will not get activated if the event signals before being added to the wait queue. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Philip Yang<Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions