Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 298
- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c, line 2074
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c, line 2868
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c, line 545
- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c, line 1916
- drivers/gpu/drm/amd/pm/amdgpu_dpm.c, line 583
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_ring_begin_use() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ring | 12640 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_fence_driver_hw_fini() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.initialized | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c suspend_resume_compute_scheduler() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->no_scheduler | 0 |
| PARAM_VALUE | 0 | ring->sched.free_guilty | 1 |
| PARAM_VALUE | 0 | ring->sched.job_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 0 | ring->sched.pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.pending_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 0 | ring->sched.work_free_job.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->sched.work_run_job.lockdep_map->name | 0-255 |
| CAPPED_DATA | 0 | &ring->sched | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->grbm_idx_mutex | ||
| LOCK2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_runtime_suspend() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c jpeg_v1_0_ring_begin_use() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c jpeg_v1_0_ring_begin_use() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_ib_preempt() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.fallback_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.fences | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.last_seq.counter | 0-s32max |
| PARAM_VALUE | 0 | ring->fence_drv.num_fences_mask | 0-4294967294 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->preempt_ib | 1-u64max |
| PARAM_VALUE | 0 | ring->no_scheduler | 0 |
| PARAM_VALUE | 0 | ring->sched.job_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 0 | ring->sched.work_free_job.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->sched.work_run_job.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ring->trail_fence_cpu_addr | 4096-ptr_max |
| CAPPED_DATA | 0 | ring->fence_drv.num_fences_mask | 1 |
| CAPPED_DATA | 0 | ring->trail_seq | 1 |
| CAPPED_DATA | 0 | *ring->trail_fence_cpu_addr | 1 |
| PARAM_COMPARE | 0 | *ring->trail_fence_cpu_addr | == $0->trail_seq |
| NOCHECK_CALL | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_compute_clocks() -> amdgpu_fence_wait_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex |