Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c, line 1689
- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c, line 1558
- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c, line 1469
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c, line 2474
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_reset_queue() -> amdgpu_sdma_reset_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| PARAM_VALUE | 2 | caller_handles_kernel_queues | 0 |
| UNITS | 1 | instance_id | unit_array_size |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2_reset_queue() -> amdgpu_sdma_reset_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | instance_id | 0-4294967294 |
| PARAM_VALUE | 2 | caller_handles_kernel_queues | 1 |
| CAPPED_DATA | 1 | instance_id | 1 |
| PARAM_COMPARE | 0 | adev->sdma.num_instances | > $1 |
| PARAM_COMPARE | 1 | instance_id | < $0->sdma.num_instances |
| UNITS | 1 | instance_id | unit_array_size |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c reset_hung_queues_sdma() -> amdgpu_sdma_reset_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.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,41694,41717,62460,65472 |
| 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 | 0 | adev->xcp_mgr->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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | instance_id | 0-2147483646,2147483648-u32max |
| PARAM_VALUE | 2 | caller_handles_kernel_queues | 0 |
| CAPPED_DATA | 1 | instance_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &dqm->dev->adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &target->mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden |
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v5_0_reset_queue() -> amdgpu_sdma_reset_engine()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->sdma.num_instances | s32min-(-1),1-s32max |
| PARAM_VALUE | 1 | instance_id | 0-4294967294 |
| PARAM_VALUE | 2 | caller_handles_kernel_queues | 1 |
| CAPPED_DATA | 1 | instance_id | 1 |
| PARAM_COMPARE | 0 | adev->sdma.num_instances | > $1 |
| PARAM_COMPARE | 1 | instance_id | < $0->sdma.num_instances |
| UNITS | 1 | instance_id | unit_array_size |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |