Lines Matching refs:signal_fence
291 struct amdgpu_cs_fence *info = &sem->signal_fence; in amdgpu_cs_submit_one()
539 if (sem->signal_fence.context) in amdgpu_cs_signal_semaphore()
542 sem->signal_fence.context = ctx; in amdgpu_cs_signal_semaphore()
543 sem->signal_fence.ip_type = ip_type; in amdgpu_cs_signal_semaphore()
544 sem->signal_fence.ip_instance = ip_instance; in amdgpu_cs_signal_semaphore()
545 sem->signal_fence.ring = ring; in amdgpu_cs_signal_semaphore()
546 sem->signal_fence.fence = ctx->last_seq[ip_type][ip_instance][ring]; in amdgpu_cs_signal_semaphore()
565 if (!sem->signal_fence.context) in amdgpu_cs_wait_semaphore()
576 if (!sem || !sem->signal_fence.context) in amdgpu_cs_reset_sem()
579 sem->signal_fence.context = NULL; in amdgpu_cs_reset_sem()
580 sem->signal_fence.ip_type = 0; in amdgpu_cs_reset_sem()
581 sem->signal_fence.ip_instance = 0; in amdgpu_cs_reset_sem()
582 sem->signal_fence.ring = 0; in amdgpu_cs_reset_sem()
583 sem->signal_fence.fence = 0; in amdgpu_cs_reset_sem()