Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c, line 1325
- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c, line 91
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c, line 946
- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c, line 97
- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h, line 247
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_map_static_csa() -> amdgpu_vm_bo_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->gfx.mcbp | 1 |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| 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.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->vm_manager.pasids.xa_lock.rlock.dep_map->name | 0-255 |
| 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 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update | 7374952732141793280 |
| PARAM_VALUE | 1 | bo_va->ref_count | 1 |
| PARAM_VALUE | 1 | bo_va->valids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->valids.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | saddr | 281474974613504,144115188073758720 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 131072 |
| PARAM_VALUE | 5 | flags | 112 |
| CAPPED_DATA | 0 | adev->vm_manager.root_level | 1 |
| CAPPED_DATA | 2 | saddr | 1 |
| CAPPED_DATA | 2 | saddr | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_add |
| DATA_SOURCE | 2 | saddr | $4 |
| DATA_SOURCE | 4 | size | $5 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 2 | saddr | 0x0,0x1ffffffffe00000 |
| BIT_INFO | 2 | saddr | 0x0,0x1ffffffffe00000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_ioctl() -> amdgpu_vm_bo_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 2 | saddr | 0-144115188075855871 |
| PARAM_VALUE | 5 | flags | 0-1022 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| USER_DATA | 2 | saddr | 0-144115188075855871[c] |
| USER_DATA | 3 | offset | 0-u64max[u] |
| USER_DATA | 4 | size | 0-u64max[u] |
| USER_DATA | 5 | flags | 0-1022[u] |
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c map_bo_to_gpuvm() -> amdgpu_vm_bo_map()
| 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 | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm->last_tlb_flush->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 1 | bo_va->base.vm->last_tlb_flush->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 1 | bo_va->last_pt_update->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 1 | bo_va->last_pt_update->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 3 | offset | 0 |
| CAPPED_DATA | 1 | bo_va->base.vm | 1 |
| UNITS | 2 | saddr | unit_byte |
| LOCK2 | &mem->lock | ||
| LOCK2 | &mem->process_info->lock | ||
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &gobj->dev->object_name_lock | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex | ||
| TYPE_LOCK | (struct kgd_mem)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_map() -> amdgpu_vm_bo_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->delayed_init_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584 |
| PARAM_VALUE | 0 | adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| 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.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mman.bdev.vma_manager->vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->seq64.sbo | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->tbo.resource->lru.link.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->seq64.sbo->vm_bo->vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->vm_manager.pasids.xa_lock.rlock.dep_map->name | 0-255 |
| 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 | bo_va | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->base.vm_status.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->invalids.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->last_pt_update | 7374952732141793280 |
| PARAM_VALUE | 1 | bo_va->ref_count | 1 |
| PARAM_VALUE | 1 | bo_va->valids.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bo_va->valids.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | saddr | 281474972516352,144115188071661568 |
| PARAM_VALUE | 3 | offset | 0 |
| PARAM_VALUE | 4 | size | 2097152 |
| PARAM_VALUE | 5 | flags | 130 |
| CAPPED_DATA | 0 | adev | 1 |
| CAPPED_DATA | 0 | adev->vm_manager.root_level | 1 |
| CAPPED_DATA | 2 | saddr | 1 |
| CAPPED_DATA | 2 | saddr | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | bo_va | r amdgpu_vm_bo_add |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 2 | saddr | 0x0,0x1ffffffffc00000 |
| BIT_INFO | 2 | saddr | 0x0,0x1ffffffffc00000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bo->tbo.base.resv |