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 2067
- drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c, line 1583
- drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c, line 801
- drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c, line 792
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_reset_queue() -> amdgpu_mes_reset_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring | 7179262252779036432 |
| PARAM_VALUE | 1 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->me | 0-4294967294 |
| PARAM_VALUE | 1 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 3 | use_mmio | 1 |
| PARAM_VALUE | 4 | xcc_id | 0 |
| CAPPED_DATA | 1 | ring->me | 1 |
| DATA_SOURCE | 1 | ring | $0 |
| DATA_SOURCE | 2 | vmid | $1 |
| PARAM_COMPARE | 0 | adev->sdma.num_instances | > $1->me |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c sdma_v7_1_reset_queue() -> amdgpu_mes_reset_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring | 7179262252779036432 |
| PARAM_VALUE | 1 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->me | 0-4294967294 |
| PARAM_VALUE | 1 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 3 | use_mmio | 1 |
| PARAM_VALUE | 4 | xcc_id | 0 |
| CAPPED_DATA | 1 | ring->me | 1 |
| DATA_SOURCE | 1 | ring | $0 |
| DATA_SOURCE | 2 | vmid | $1 |
| PARAM_COMPARE | 0 | adev->sdma.num_instances | > $1->me |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_reset_queue() -> amdgpu_mes_reset_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring | 7179262252779036432 |
| PARAM_VALUE | 1 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->me | 0-4294967294 |
| PARAM_VALUE | 1 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 3 | use_mmio | 1 |
| PARAM_VALUE | 4 | xcc_id | 0 |
| CAPPED_DATA | 1 | ring->me | 1 |
| DATA_SOURCE | 1 | ring | $0 |
| DATA_SOURCE | 2 | vmid | $1 |
| PARAM_COMPARE | 0 | adev->sdma.num_instances | > $1->me |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_mes_reset_queue_start() -> amdgpu_mes_reset_legacy_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 4 | xcc_id | 0 |
| DATA_SOURCE | 1 | ring | $0 |
| DATA_SOURCE | 2 | vmid | $1 |
| DATA_SOURCE | 3 | use_mmio | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |