Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_copy_buffer() -> amdgpu_ttm_prepare_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | 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-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs_scheds | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | num_dw | 0,8-u32max |
| PARAM_VALUE | 3 | resv->fences | 4096-ptr_max |
| PARAM_VALUE | 3 | resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 3 | resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 3 | resv->lock.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 5 | job | 5706091590171652096 |
| PARAM_VALUE | 6 | k_job_id | 18446744073709551609 |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | entity | (-1),5568 |
| BUF_SIZE | 1 | entity | (-1),5568 |
| BUF_SIZE | 3 | resv | (-1),176 |
| BUF_SIZE | 3 | resv | (-1),176 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | entity | $1 |
| DATA_SOURCE | 3 | resv | $5 |
| DATA_SOURCE | 4 | vm_needs_flush | $7 |
| BIT_INFO | 2 | num_dw | 0x0,0xfffffff8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | num_dw | 0,8-134217720[c] |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.real_vram_size | |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | 0 | &adev->benchmark_mutex | |
| HALF_LOCKED2 | 0 | &adev->mman.default_entity.lock | |
| HALF_LOCKED2 | 1 | &entity->lock | |
| HALF_LOCKED2 | 3 | resv | |
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fill_mem() -> amdgpu_ttm_prepare_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | entity->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | entity->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | entity->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | entity->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | num_dw | 0,8-u32max |
| PARAM_VALUE | 3 | resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 4 | vm_needs_flush | 1 |
| PARAM_VALUE | 5 | job | 2074183467452522496 |
| PARAM_VALUE | 6 | k_job_id | 18446744073709551606-18446744073709551608 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | entity | $1 |
| DATA_SOURCE | 3 | resv | $5 |
| DATA_SOURCE | 4 | vm_needs_flush | $7 |
| DATA_SOURCE | 6 | k_job_id | $8 |
| BIT_INFO | 2 | num_dw | 0x0,0xfffffff8 |
| HARD_MAX | 6 | k_job_id | 18446744073709551608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | num_dw | 0,8-u32max[c] |
| LOCK2 | 1 | &entity->lock | |
| HALF_LOCKED2 | &bo->base._resv | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |