Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c, line 2068
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4990
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c, line 520
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, line 1706
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c, line 1352
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_resume() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | timedout_fence | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3_reset_jpeg_post_helper() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | timedout_fence | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_fence_driver_hw_fini() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.initialized | 1 |
| PARAM_VALUE | 1 | timedout_fence | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_ring_set_fence_errors_and_reemit() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring_backup_entries_to_copy | 0 |
| BUF_SIZE | 0 | ring | (-1),1360 |
| BUF_SIZE | 0 | ring | (-1),1360 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ring->wptr | 0-u32max |
| HALF_LOCKED2 | &adev->jpeg.jpeg_pg_lock | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &vinst->engine_reset_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_reset_jpeg_post_helper() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | timedout_fence | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_ib_preempt() -> amdgpu_fence_driver_force_completion()
| 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.last_seq.counter | 0-s32max |
| 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.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 |
| PARAM_VALUE | 1 | timedout_fence | 0 |
| 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/amdgpu_device.c amdgpu_device_pre_asic_reset() -> amdgpu_fence_driver_force_completion()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->no_scheduler | 0 |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| BUF_SIZE | 1 | timedout_fence | 0,128 |
| BUF_SIZE | 1 | timedout_fence | 0,128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |