Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c, line 440
- drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
- drivers/gpu/drm/amd/amdkfd/kfd_queue.c, line 347
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_destroy_queue() -> kfd_queue_release_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | properties | 4096-ptr_max |
| PARAM_VALUE | 1 | properties->cwsr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | properties->ring_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | properties->rptr_bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | properties->wptr_bo | 0,4096-ptr_max |
| DATA_SOURCE | 0 | pdd | r kfd_get_process_device_data |
| NOCHECK_CALL | |||
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process_queue_manager.c pqm_uninit() -> kfd_queue_release_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 1 | properties | 4096-ptr_max |
| DATA_SOURCE | 0 | pdd | r kfd_get_process_device_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &kfd_processes_mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c kfd_queue_acquire_buffers() -> kfd_queue_release_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->runtime_inuse | 1 |
| PARAM_VALUE | 1 | properties | 5367501087066746880 |
| PARAM_VALUE | 1 | properties->ctx_save_restore_area_address | 0 |
| PARAM_VALUE | 1 | properties->cwsr_bo | 0 |
| PARAM_VALUE | 1 | properties->eop_buf_bo | 0 |
| PARAM_VALUE | 1 | properties->eop_ring_buffer_address | 0 |
| PARAM_VALUE | 1 | properties->format | 0-1 |
| PARAM_VALUE | 1 | properties->is_gws | 0 |
| PARAM_VALUE | 1 | properties->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | properties->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | properties->queue_address | 0 |
| PARAM_VALUE | 1 | properties->queue_percent | 0-100 |
| PARAM_VALUE | 1 | properties->queue_size | 1024-u32max |
| PARAM_VALUE | 1 | properties->ring_bo | 0 |
| PARAM_VALUE | 1 | properties->rptr_bo | 0 |
| PARAM_VALUE | 1 | properties->type | 0-1,3-4 |
| PARAM_VALUE | 1 | properties->wptr_bo | 0 |
| CAPPED_DATA | 0 | pdd->dev | 1 |
| CAPPED_DATA | 0 | pdd->dev->id | 1 |
| DATA_SOURCE | 0 | pdd | $0 |
| DATA_SOURCE | 1 | properties | $1 |
| FUZZY_MAX | 1 | properties->format | 1 |
| MEM_ZERO | 1 | properties | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | properties->ctl_stack_size | 0[u] |
| USER_DATA | 1 | properties->ctx_save_restore_area_address | 0[c] |
| USER_DATA | 1 | properties->ctx_save_restore_area_size | 0[u] |
| USER_DATA | 1 | properties->eop_ring_buffer_address | 0[c] |
| USER_DATA | 1 | properties->eop_ring_buffer_size | 0[u] |
| USER_DATA | 1 | properties->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | properties->pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | properties->priority | 0[u] |
| USER_DATA | 1 | properties->queue_address | 0[c] |
| USER_DATA | 1 | properties->queue_size | 1024-u32max[u] |
| USER_DATA | 1 | properties->sdma_engine_id | 0[u] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_chardev.c kfd_ioctl_create_queue() -> kfd_queue_release_buffers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdd | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->drm_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | pdd->runtime_inuse | 1 |
| PARAM_VALUE | 1 | properties | 5367501087066746880 |
| PARAM_VALUE | 1 | properties->cwsr_bo | 0 |
| PARAM_VALUE | 1 | properties->eop_buf_bo | 0 |
| PARAM_VALUE | 1 | properties->exception_status | 0,1073741824 |
| PARAM_VALUE | 1 | properties->format | 0-1 |
| PARAM_VALUE | 1 | properties->is_gws | 0 |
| PARAM_VALUE | 1 | properties->metadata_queue_size | 0-u32max |
| PARAM_VALUE | 1 | properties->pm4_target_xcc | 0-255 |
| PARAM_VALUE | 1 | properties->queue_id | 0-1023 |
| PARAM_VALUE | 1 | properties->queue_percent | 0-100 |
| PARAM_VALUE | 1 | properties->queue_size | 1024-u32max |
| PARAM_VALUE | 1 | properties->ring_bo | 0 |
| PARAM_VALUE | 1 | properties->rptr_bo | 0 |
| PARAM_VALUE | 1 | properties->type | 0-1,3-4 |
| PARAM_VALUE | 1 | properties->vmid | 0 |
| PARAM_VALUE | 1 | properties->wptr_bo | 0 |
| CAPPED_DATA | 0 | pdd->dev | 1 |
| CAPPED_DATA | 0 | pdd->dev->id | 1 |
| DATA_SOURCE | 0 | pdd | r kfd_bind_process_to_device |
| MEM_ZERO | 1 | properties | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | properties->ctl_stack_size | 0[u] |
| USER_DATA | 1 | properties->ctx_save_restore_area_address | 0[c] |
| USER_DATA | 1 | properties->ctx_save_restore_area_size | 0[u] |
| USER_DATA | 1 | properties->eop_ring_buffer_address | 0[c] |
| USER_DATA | 1 | properties->eop_ring_buffer_size | 0[u] |
| USER_DATA | 1 | properties->metadata_queue_size | 0-u32max[u] |
| USER_DATA | 1 | properties->pm4_target_xcc | 0-255[c] |
| USER_DATA | 1 | properties->priority | 0[u] |
| USER_DATA | 1 | properties->queue_address | 0[c] |
| USER_DATA | 1 | properties->queue_id | 0-1023 |
| USER_DATA | 1 | properties->queue_size | 1024-u32max[u] |
| USER_DATA | 1 | properties->sdma_engine_id | 0[u] |
| LOCK2 | &p->mutex | ||
| TYPE_LOCK | (struct kfd_process)->mutex |