commit | 6afadeaf13279fcdbc48999f522e1dc90a9dfdaf | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Tue Jan 12 22:13:07 2016 +0100 |
committer | Marek Olšák <marek.olsak@amd.com> | Wed Jan 20 02:14:46 2016 +0100 |
tree | 4401a7685e86ec8bf24c70637bd8bef19bb7dfa0 | |
parent | f06c9928198d9348fb31325a2a480afbc29c04b8 [diff] |
amdgpu: add semaphore support the semaphore is a binary semaphore. the work flow is: 1. create sem 2. signal sem 3. wait sem, reset sem after signalled 4. destroy sem. Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>