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.c, line 323
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 6724
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 168
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c, line 2773
- drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c, line 285
- drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c, line 387
- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c, line 519
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_gpu_reset() -> amdgpu_device_should_recover_gpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dqm->lock_hidden | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c xgpu_vi_mailbox_flr_work() -> amdgpu_device_should_recover_gpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_do_recovery() -> amdgpu_device_should_recover_gpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c xgpu_ai_mailbox_flr_work() -> amdgpu_device_should_recover_gpu()
| 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 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_get_soft_full_reset_mask() -> amdgpu_device_should_recover_gpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c xgpu_nv_mailbox_flr_work() -> amdgpu_device_should_recover_gpu()
| 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 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_timedout() -> amdgpu_device_should_recover_gpu()
| 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 |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |