Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_init() -> amdgpu_vm_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vm_manager.vm_pte_num_scheds | 1-u32max |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | vm | 0 |
| DATA_SOURCE | 0 | adev | $0 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | adev->vm_manager.vm_update_mode | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_validate() -> amdgpu_vm_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | 1 | vm->root.bo->tbo.base._resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | vm->root.bo->tbo.base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | vm->update_funcs->commit | 2161818177330147328,8323128095845892096 |
| PARAM_VALUE | 1 | vm->update_funcs->map_table | 4564919005923745792,9011258376799428608 |
| PARAM_VALUE | 1 | vm->update_funcs->prepare | 4251642844425383936,7031573581169995776 |
| PARAM_VALUE | 1 | vm->update_funcs->update | 7987374799604060160,8841065111991332864 |
| BUF_SIZE | 1 | vm | (-1),3552 |
| BUF_SIZE | 1 | vm | (-1),3552 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | vm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | &svms->lock | ||
| HALF_LOCKED2 | 1 | vm->root.bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_init() -> amdgpu_vm_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_ctx_query2() -> amdgpu_vm_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | vm | 1-u64max |
| DATA_SOURCE | 0 | adev | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_alloc() -> amdgpu_vm_generation()
| 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->copy_max_bytes | 1048568,2097151,4194272,4194304,1073741824 |
| PARAM_VALUE | 0 | adev->mman.buffer_funcs->fill_max_bytes | 1048568,2097151,4194272,4194304,1073741824 |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vm | (-1),3552 |
| BUF_SIZE | 1 | vm | (-1),3552 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | vm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.real_vram_size | |
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | 0 | &adev->benchmark_mutex | |
| HALF_LOCKED2 | 0 | &adev->mman.default_entity.lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_run() -> amdgpu_vm_generation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &sched->job_list_lock |