Searched refs:gpu_semaphore (Results 1 – 1 of 1) sorted by relevance
568 struct amdgpu_semaphore *gpu_semaphore; in amdgpu_cs_create_semaphore() local573 gpu_semaphore = calloc(1, sizeof(struct amdgpu_semaphore)); in amdgpu_cs_create_semaphore()574 if (!gpu_semaphore) in amdgpu_cs_create_semaphore()577 atomic_set(&gpu_semaphore->refcount, 1); in amdgpu_cs_create_semaphore()578 *sem = gpu_semaphore; in amdgpu_cs_create_semaphore()