Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_aldebaran.c, line 167
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 393
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gc_9_4_3.c, line 594
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c, line 1094
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10_3.c, line 659
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v11.c, line 811
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c, line 572
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c, line 593
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c, line 1234
- 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_sh_mem_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->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 set_cache_memory_policy() -> program_sh_mem_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dqm | 4096-ptr_max |
| PARAM_VALUE | 0 | dqm->asic_ops.set_cache_memory_policy | 1-u64max |
| 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->sched_policy | 2 |
| PARAM_VALUE | 1 | qpd | 4096-ptr_max |
| PARAM_VALUE | 1 | qpd->sh_mem_ape1_base | 0-s32max |
| PARAM_VALUE | 1 | qpd->sh_mem_config | 156-157,188-189,312,376,412-413,444-445,824,888 |
| PARAM_VALUE | 1 | qpd->vmid | 1-u32max |
| 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 |