Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c, line 1047 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c, line 630 (as a function)
Referenced in 7 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.c, line 193
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 420
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c, line 612
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c, line 674
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c, line 1260
- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c allocate_vmid() -> program_trap_handler_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->dev->kfd->cwsr_enabled | 1 |
| PARAM_VALUE | 0 | dqm->lock_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dqm->lock_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dqm->lock_hidden.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dqm->saved_flags | 0,2048 |
| PARAM_VALUE | 0 | dqm->total_queue_count | 0-4294967294 |
| PARAM_VALUE | 0 | dqm->vmid_pasid | 4096-ptr_max |
| PARAM_VALUE | 1 | qpd | 4096-ptr_max |
| PARAM_VALUE | 1 | qpd->queue_count | 0-4294967294 |
| PARAM_VALUE | 1 | qpd->queues_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | qpd->vmid | 0-s32max |
| CAPPED_DATA | 0 | dqm->total_queue_count | 1 |
| CAPPED_DATA | 1 | qpd->vmid | 1 |
| DATA_SOURCE | 0 | dqm | $0 |
| DATA_SOURCE | 1 | qpd | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | &dqm->lock_hidden | |
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c program_trap_handler_settings() -> (struct kfd2kgd_calls)->program_trap_handler_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dqm->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | qpd | 0-s32max |
| CAPPED_DATA | 1 | qpd | 1 |
| CONTAINER | 0 | *(-216-16+8) | $(-1) |
| NOCHECK_CALL | |||
| LOCK2 | &dqm->lock_hidden | ||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct device_queue_manager)->lock_hidden | ||
| TYPE_LOCK | (struct kfd_process)->mutex |