Home
last modified time | relevance | path

Searched refs:gang_submit (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c190 WARN_ON(job->gang_submit); in amdgpu_job_set_gang_leader()
198 job->gang_submit = fence; in amdgpu_job_set_gang_leader()
206 if (job->gang_submit != &job->base.s_fence->scheduled) in amdgpu_job_free()
207 dma_fence_put(job->gang_submit); in amdgpu_job_free()
267 if (!fence && job->gang_submit) in amdgpu_job_dependency()
268 fence = amdgpu_device_switch_gang(ring->adev, job->gang_submit); in amdgpu_job_dependency()
300 (job->job_run_counter && job->gang_submit)) in amdgpu_job_run()
Damdgpu_job.h53 struct dma_fence *gang_submit; member
Damdgpu_device.c3541 RCU_INIT_POINTER(adev->gang_submit, dma_fence_get_stub()); in amdgpu_device_init()
4028 dma_fence_put(rcu_dereference_protected(adev->gang_submit, true)); in amdgpu_device_fini_sw()
6050 old = dma_fence_get_rcu_safe(&adev->gang_submit); in amdgpu_device_switch_gang()
6059 } while (cmpxchg((struct dma_fence __force **)&adev->gang_submit, in amdgpu_device_switch_gang()
Damdgpu.h886 struct dma_fence __rcu *gang_submit; member