]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add Reusable task barrier.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Fri, 6 Dec 2019 17:26:33 +0000 (12:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Dec 2019 21:09:12 +0000 (16:09 -0500)
commit685b13da92b4591f0056fcf4d74aa0af748d2dbf
tree64cf72b9875f0385a46aeea5efc490c581f9d8a0
parent398f078df65f5f47d25b336eb58a3ed91466fb9c
drm: Add Reusable task barrier.

It is used to synchronize N threads at a rendevouz point before execution
of critical code that has to be started by all the threads at approximatly
the same time.

v2: Remove mention of reset use case, improve doc.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/task_barrier.h [new file with mode: 0644]