Searched refs:hw_fence (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_hw_fence.c | 220 struct xe_hw_fence *hw_fence = fence_alloc(); in xe_hw_fence_alloc() local 222 if (!hw_fence) in xe_hw_fence_alloc() 225 return &hw_fence->dma; in xe_hw_fence_alloc() 253 struct xe_hw_fence *hw_fence = in xe_hw_fence_init() local 254 container_of(fence, typeof(*hw_fence), dma); in xe_hw_fence_init() 256 hw_fence->xe = gt_to_xe(ctx->gt); in xe_hw_fence_init() 257 snprintf(hw_fence->name, sizeof(hw_fence->name), "%s", ctx->name); in xe_hw_fence_init() 258 hw_fence->seqno_map = seqno_map; in xe_hw_fence_init() 259 INIT_LIST_HEAD(&hw_fence->irq_link); in xe_hw_fence_init() 264 trace_xe_hw_fence_create(hw_fence); in xe_hw_fence_init()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_job.c | 275 else if (job->hw_fence.ops) in amdgpu_job_free_resources() 276 f = &job->hw_fence; in amdgpu_job_free_resources() 293 if (!job->hw_fence.ops) in amdgpu_job_free_cb() 296 dma_fence_put(&job->hw_fence); in amdgpu_job_free_cb() 325 if (!job->hw_fence.ops) in amdgpu_job_free() 328 dma_fence_put(&job->hw_fence); in amdgpu_job_free()
|
| H A D | amdgpu_fence.c | 158 fence = &job->hw_fence; in amdgpu_fence_emit() 721 job = container_of(old, struct amdgpu_job, hw_fence); in amdgpu_fence_driver_clear_job_fences() 783 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_job_fence_get_timeline_name() 813 struct amdgpu_job *job = container_of(f, struct amdgpu_job, hw_fence); in amdgpu_job_fence_enable_signaling() 848 kfree(container_of(f, struct amdgpu_job, hw_fence)); in amdgpu_job_fence_free()
|
| H A D | amdgpu_job.h | 51 struct dma_fence hw_fence; member
|
| H A D | amdgpu_debugfs.c | 1905 if (preempted && (&job->hw_fence) == fence) in amdgpu_ib_preempt_mark_partial_job()
|
| H A D | amdgpu_device.c | 6080 if (job && dma_fence_is_signaled(&job->hw_fence)) { in amdgpu_device_gpu_recover()
|
| /linux-6.15/drivers/gpu/drm/msm/ |
| H A D | msm_ringbuffer.c | 22 msm_fence_init(submit->hw_fence, fctx); in msm_job_run() 43 return dma_fence_get(submit->hw_fence); in msm_job_run()
|
| H A D | msm_gem_submit.c | 50 submit->hw_fence = msm_fence_alloc(); in submit_create() 51 if (IS_ERR(submit->hw_fence)) { in submit_create() 52 ret = PTR_ERR(submit->hw_fence); in submit_create() 59 kfree(submit->hw_fence); in submit_create() 103 if (kref_read(&submit->hw_fence->refcount) == 0) { in __msm_gem_submit_destroy() 104 kfree(submit->hw_fence); in __msm_gem_submit_destroy() 106 dma_fence_put(submit->hw_fence); in __msm_gem_submit_destroy()
|
| H A D | msm_gem.h | 268 struct dma_fence *hw_fence; member
|
| H A D | msm_gpu.c | 729 if (submit && dma_fence_is_signaled(submit->hw_fence)) { in retire_submits() 771 submit->seqno = submit->hw_fence->seqno; in msm_gpu_submit()
|