Home
last modified time | relevance | path

Searched refs:hw_fence (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c130 struct dma_fence *hw_fence; in amdgpu_job_free_resources() local
133 if (job->hw_fence.ops == NULL) in amdgpu_job_free_resources()
134 hw_fence = job->external_hw_fence; in amdgpu_job_free_resources()
136 hw_fence = &job->hw_fence; in amdgpu_job_free_resources()
139 f = job->base.s_fence ? &job->base.s_fence->finished : hw_fence; in amdgpu_job_free_resources()
154 if (job->hw_fence.ops != NULL) in amdgpu_job_free_cb()
155 dma_fence_put(&job->hw_fence); in amdgpu_job_free_cb()
167 if (job->hw_fence.ops != NULL) in amdgpu_job_free()
168 dma_fence_put(&job->hw_fence); in amdgpu_job_free()
268 dma_fence_put(&job->hw_fence); in amdgpu_job_run()
Damdgpu_fence.c157 fence = &job->hw_fence; in amdgpu_fence_emit()
654 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_fence_get_timeline_name()
676 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_fence_enable_signaling()
706 job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_fence_free()
Damdgpu_job.h49 struct dma_fence hw_fence; member
Damdgpu_debugfs.c1348 if (preempted && (&job->hw_fence) == fence) in amdgpu_ib_preempt_mark_partial_job()
/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c30 submit->hw_fence = msm_fence_alloc(submit->ring->fctx); in msm_job_run()
43 return dma_fence_get(submit->hw_fence); in msm_job_run()
Dmsm_gpu.c179 submit->hw_fence->seqno); in update_fences()
180 dma_fence_signal(submit->hw_fence); in update_fences()
700 if (submit && dma_fence_is_signaled(submit->hw_fence)) { in retire_submits()
Dmsm_gem.h320 struct dma_fence *hw_fence; member
Dmsm_gem_submit.c92 dma_fence_put(submit->hw_fence); in __msm_gem_submit_destroy()