Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c, line 397
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c, line 2320
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 1060
- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c, line 86
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c, line 400
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c, line 37
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c, line 1947
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c, line 1863
- drivers/gpu/drm/amd/pm/powerplay/amd_powerplay.c, line 1505
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_patch_ibs() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.protection_support | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.track_failcnt | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->page_flags | 0,2,4,6,12,14,16,18,20,22,28,30 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->restored_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 1 | ptr | 953481459902914560 |
| CAPPED_DATA | 0 | bo->placement.num_placement | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_create_kernel_at() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->kmap.bo_kmap_type | 2-3,129,132 |
| PARAM_VALUE | 0 | bo->kmap.page | 0 |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->tbo.base.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bo->tbo.type | 0-2 |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| BUF_SIZE | 1 | ptr | 0,8 |
| BUF_SIZE | 1 | ptr | 0,8 |
| DATA_SOURCE | 1 | ptr | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c amdgpu_bo_create_reserved() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| BUF_SIZE | 1 | ptr | (-1)-0,8,16 |
| BUF_SIZE | 1 | ptr | (-1)-0,8,16 |
| DATA_SOURCE | 1 | ptr | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | *bo_ptr->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c amdgpu_vm_cpu_map_table() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | ptr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | vm->root.bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_create_msg_bo_helper() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->kmap.bo_kmap_type | 2-3,129,132 |
| PARAM_VALUE | 0 | bo->kmap.page | 0 |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->placement.placement | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placements | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo->resource->bus.addr | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.handle_count | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.protection_support | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.track_failcnt | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->backup->f_mapping->host->i_bytes | 0-u16max |
| PARAM_VALUE | 0 | bo->tbo.ttm->bound | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->mem | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->page_flags | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.tt_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.type | 0-2 |
| PARAM_VALUE | 1 | ptr | 4181407991431241728 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_cs_msg() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.protection_support | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.track_failcnt | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->bound | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->mem | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->page_flags | 0,2,4,6,12,14,16,18,20,22,28,30 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page->_refcount.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page->page_type | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->restored_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.tt_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 1 | ptr | 5067627826674032640 |
| CAPPED_DATA | 0 | bo->placement.num_placement | 1 |
| DATA_SOURCE | 0 | bo | $1 |
| NO_OVERFLOW_SIMPLE | 0 | bo->tbo.ttm->dma_ttm.sg->orig_nents |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_alloc_kernel_mem() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->placement.placement | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base._resv.fences | 0 |
| PARAM_VALUE | 0 | bo->tbo.base._resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | bo->tbo.base._resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | bo->tbo.base.filp | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.funcs | 8669167203972599808 |
| PARAM_VALUE | 0 | bo->tbo.base.gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.handle_count | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bulk_move | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 0 | bo->tbo.type | 0-2 |
| PARAM_VALUE | 0 | bo->vm_bo | 0 |
| PARAM_VALUE | 1 | ptr | 3878099272574029824 |
| PARAM_VALUE | 1 | *ptr | 0 |
| PARAM_VALUE | 1 | *(*ptr) | 0 |
| CAPPED_DATA | 0 | bo->tbo.bdev->pool.dev->cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bo->allowed_domains | 0-126[c] |
| USER_DATA | 0 | bo->flags | 0,520-131592[c][u] |
| USER_DATA | 0 | bo->preferred_domains | 0-126[c] |
| USER_DATA | 0 | bo->tbo.base.size | s64min-s64max[c] |
| USER_DATA | 0 | bo->tbo.base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | bo->tbo.base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 0 | bo->tbo.page_alignment | 0-4294967295 |
| LOCK2 | 0 | bo->tbo.base.resv | |
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_pdb0_alloc() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->placement.placement | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base._resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | bo->tbo.base.filp | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.funcs | 8669167203972599808 |
| PARAM_VALUE | 0 | bo->tbo.base.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | bo->tbo.base.vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bulk_move | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 0 | bo->tbo.type | 0-2 |
| PARAM_VALUE | 0 | bo->vm_bo | 0 |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| CAPPED_DATA | 0 | bo->tbo.bdev->pool.dev->cma_area->nranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | bo->tbo.base.resv |
3d756af95eb3bd31 gfx_v12_1_xcc_kcq_resume() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->kmap.page | 0 |
| PARAM_VALUE | 0 | bo->tbo.base.resv | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.bdev | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bo->bdev->unevictable.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bo->bdev->unevictable.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bo->bdev->unevictable.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.resource->bo->pin_count | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->lru.link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| LOCK2 | 0 | bo->tbo.base.resv |
3d756af95eb3bd31 gfx_v12_1_xcc_kiq_resume() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| LOCK2 | 0 | bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_map_bo_to_kernel() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 1 | ptr | 1434741187103621120,6769304267203145728,7686154711706107904 |
| DATA_SOURCE | 1 | ptr | $1 |
| LOCK2 | &mem->process_info->lock | ||
| LOCK2 | &p->mutex | ||
| LOCK2 | 0 | bo->tbo.base.resv | |
| TYPE_LOCK | (struct amdkfd_process_info)->lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_fence_read_wptr() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ptr | 4966332935197577216 |
| LOCK2 | mapping->bo_va->base.bo->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c vcn_v4_0_dec_msg() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->placement.placement | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placements | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | s64min-(-4096),0,4096-s64max |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.protection_support | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.track_failcnt | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->page_flags | 0,2,4,6,12,14,16,18,20,22,28,30 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->restored_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc->pages | 1 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 1 | ptr | 4563481865168498688 |
| CAPPED_DATA | 0 | bo->placement.num_placement | 1 |
| BIT_INFO | 0 | bo->flags | 0x1,0xffffffffffffffff |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.c dqm_repin_mqd_bo() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->kmap.page | 0 |
| PARAM_VALUE | 0 | bo->kmap.virtual | 0 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | 4096-ptr_max |
| PARAM_VALUE | 1 | ptr | 462236798215577600 |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/amd_powerplay.c pp_get_prv_buffer_details() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 1-u64max |
| PARAM_VALUE | 1 | ptr | 7006335026376204288 |
| PARAM_VALUE | 1 | *ptr | 0 |
| DATA_SOURCE | 1 | ptr | $1 |
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c vcn_v3_0_dec_msg() -> amdgpu_bo_kmap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placement.num_placement | 1-3 |
| PARAM_VALUE | 0 | bo->placement.placement | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->placements | 4096-ptr_max |
| PARAM_VALUE | 0 | bo->tbo.base.resv->fences->num_fences | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.base.resv->lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | bo->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bo->tbo.resource | s64min-(-4096),0,4096-s64max |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.addr | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->bus.offset | 0 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.protection_support | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->cnt.track_failcnt | 0-1 |
| PARAM_VALUE | 0 | bo->tbo.resource->css->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->page_flags | 0,2,4,6,12,14,16,18,20,22,28,30 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_page | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->alloced_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->first_dma | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->order | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->page_caching | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->restored_pages | 0-s64max |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc->pages | 1 |
| PARAM_VALUE | 0 | bo->tbo.ttm->restore->snapshot_alloc.remaining_pages | 0-4294967295 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg | 0 |
| PARAM_VALUE | 0 | bo->tbo.ttm->sg->orig_nents | 0-s32max |
| PARAM_VALUE | 0 | bo->tbo.ttm->swap_storage | 0 |
| PARAM_VALUE | 1 | ptr | 3768091348253085696 |
| CAPPED_DATA | 0 | bo->placement.num_placement | 1 |
| BIT_INFO | 0 | bo->flags | 0x1,0xffffffffffffffff |