Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 2311
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 1042
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c, line 1501
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_ring_reset_begin_helper() -> amdgpu_ring_find_guilty_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 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 |
| DATA_SOURCE | 0 | ring | $0 |
| 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_ring.c amdgpu_multi_ring_reset_helper_begin() -> amdgpu_ring_find_guilty_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_reset_mes_kcq() -> amdgpu_ring_find_guilty_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| CAPPED_DATA | 0 | ring->doorbell_index | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c amdgpu_sdma_reset_engine() -> amdgpu_ring_find_guilty_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 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 |
| BUF_SIZE | 0 | ring | 1264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_sdma_instance)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c amdgpu_sdma_reset_engine() -> amdgpu_ring_find_guilty_fence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 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 |
| BUF_SIZE | 0 | ring | 1264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_sdma_instance)->engine_reset_mutex |