Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c, line 145
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c, line 1023
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 183
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c, line 2804
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c, line 114
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c, line 294
- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c, line 399
- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c, line 528
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_debugfs_reset_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 4231318582200598528 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 5 |
| MEM_ZERO | 2 | reset_context | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_reset_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 6006150037578928128 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 3-4 |
| MEM_ZERO | 2 | reset_context | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_mgr_reset_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->debug_disable_gpu_ring_reset | 0 |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 7042422047109623808 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 6 |
| MEM_ZERO | 2 | reset_context | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c xgpu_vi_mailbox_flr_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 6278096747866509312 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| MEM_ZERO | 2 | reset_context | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_do_recovery() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 1771957367249305600 |
| PARAM_VALUE | 2 | reset_context->method | (-1),3 |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 2 |
| MEM_ZERO | 2 | reset_context | |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_flr_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->virt.vf2pf_update_interval_ms | 0 |
| PARAM_VALUE | 0 | adev->virt.vf2pf_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 3763569208669507584 |
| PARAM_VALUE | 2 | reset_context->flags | 0 |
| PARAM_VALUE | 2 | reset_context->hive | 0 |
| PARAM_VALUE | 2 | reset_context->job | 0 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_device_list | 0 |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_mailbox_flr_work() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->virt.vf2pf_update_interval_ms | 0 |
| PARAM_VALUE | 0 | adev->virt.vf2pf_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | job | 0 |
| PARAM_VALUE | 2 | reset_context | 585951693651935232 |
| PARAM_VALUE | 2 | reset_context->flags | 0 |
| PARAM_VALUE | 2 | reset_context->hive | 0 |
| PARAM_VALUE | 2 | reset_context->job | 0 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_device_list | 0 |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_timedout() -> amdgpu_device_gpu_recover()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | job->base.sched | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context | 5871623168954454016 |
| PARAM_VALUE | 2 | reset_context->method | (-1) |
| PARAM_VALUE | 2 | reset_context->reset_req_dev | 4096-ptr_max |
| PARAM_VALUE | 2 | reset_context->src | 1 |
| MEM_ZERO | 2 | reset_context | |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |