Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_create_msg_bo_helper() -> amdgpu_uvd_force_into_vcpu_segment()
| 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.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->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->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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_cs_pass1() -> amdgpu_uvd_force_into_vcpu_segment()
| 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 |
| CAPPED_DATA | 0 | bo->placement.num_placement | 1 |
| NOCHECK_CALL |