Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_mqd_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 adev->mqds 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->doorbell_index 0-u32max
PARAM_VALUE 1 queue->doorbell_offset 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va 9223372036854775807
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->mqd.obj 0,4096-ptr_max
PARAM_VALUE 1 queue->mqd.obj->kmap.bo_kmap_type 2-3,129,132
PARAM_VALUE 1 queue->mqd.obj->placement.num_placement 1-3
PARAM_VALUE 1 queue->mqd.obj->tbo->resource->bus.addr 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.handle_count 0
PARAM_VALUE 1 queue->mqd.obj->tbo.base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.destroy 3687779195912622080,6459761284373078016
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.protection_support 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.track_failcnt 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->ref.refs.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->backup->f_mapping->host->i_bytes 0-u16max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->caching 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->page_flags 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.type 0-2
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 1
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.rptr 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.wptr 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 2048
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 752
BUF_SIZE 1 queue->vm 3552
DATA_SOURCE 1 queue $0
FUZZY_MAX 1 queue->xcp_id 0
MEM_ZERO 1 queue->mqd.cpu_ptr
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->doorbell_offset 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.rptr 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.wptr 0-35184372088831[c]
USER_DATA 2 addr 0-u64max
NO_OVERFLOW_SIMPLE 1 queue->mqd.obj->tbo.ttm->dma_ttm.sg->orig_nents
LOCK2 1 queue->vm->root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_mqd_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 adev->mqds 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->doorbell_index 0-u32max
PARAM_VALUE 1 queue->doorbell_offset 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va 9223372036854775807
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->mqd.obj 0,4096-ptr_max
PARAM_VALUE 1 queue->mqd.obj->kmap.bo_kmap_type 2-3,129,132
PARAM_VALUE 1 queue->mqd.obj->placement.num_placement 1-3
PARAM_VALUE 1 queue->mqd.obj->tbo->resource->bus.addr 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.handle_count 0
PARAM_VALUE 1 queue->mqd.obj->tbo.base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.destroy 3687779195912622080,6459761284373078016
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.protection_support 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.track_failcnt 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->ref.refs.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->backup->f_mapping->host->i_bytes 0-u16max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->caching 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->page_flags 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.type 0-2
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 0
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.rptr 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.wptr 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 73728
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 752
BUF_SIZE 1 queue->vm 3552
DATA_SOURCE 1 queue $0
FUZZY_MAX 1 queue->xcp_id 0
MEM_ZERO 1 queue->mqd.cpu_ptr
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->doorbell_offset 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->queue_type 0[u]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.rptr 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.wptr 0-35184372088831[c]
USER_DATA 2 addr 0-u64max
NO_OVERFLOW_SIMPLE 1 queue->mqd.obj->tbo.ttm->dma_ttm.sg->orig_nents
LOCK2 1 queue->vm->root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_mqd_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 adev->mqds 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->doorbell_index 0-u32max
PARAM_VALUE 1 queue->doorbell_offset 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va 9223372036854775807
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->mqd.obj 0,4096-ptr_max
PARAM_VALUE 1 queue->mqd.obj->kmap.bo_kmap_type 2-3,129,132
PARAM_VALUE 1 queue->mqd.obj->placement.num_placement 1-3
PARAM_VALUE 1 queue->mqd.obj->tbo->resource->bus.addr 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.handle_count 0
PARAM_VALUE 1 queue->mqd.obj->tbo.base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.destroy 3687779195912622080,6459761284373078016
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.protection_support 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.track_failcnt 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->ref.refs.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->backup->f_mapping->host->i_bytes 0-u16max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->caching 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->page_flags 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.type 0-2
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 0
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.rptr 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.shadow 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.wptr 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 484
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 752
BUF_SIZE 1 queue->vm 3552
DATA_SOURCE 1 queue $0
FUZZY_MAX 1 queue->xcp_id 0
MEM_ZERO 1 queue->mqd.cpu_ptr
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->doorbell_offset 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->queue_type 0[u]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.rptr 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.shadow 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.wptr 0-35184372088831[c]
USER_DATA 2 addr 0-u64max
NO_OVERFLOW_SIMPLE 1 queue->mqd.obj->tbo.ttm->dma_ttm.sg->orig_nents
LOCK2 1 queue->vm->root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_mqd_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
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.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 0 adev->mqds 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->doorbell_index 0-u32max
PARAM_VALUE 1 queue->doorbell_offset 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va 9223372036854775807
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->mqd.obj 0,4096-ptr_max
PARAM_VALUE 1 queue->mqd.obj->kmap.bo_kmap_type 2-3,129,132
PARAM_VALUE 1 queue->mqd.obj->placement.num_placement 1-3
PARAM_VALUE 1 queue->mqd.obj->tbo->resource->bus.addr 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.handle_count 0
PARAM_VALUE 1 queue->mqd.obj->tbo.base.refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->max_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.magic 3736018669
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner (-1)
PARAM_VALUE 1 queue->mqd.obj->tbo.base.vma_node.vm_lock.owner_cpu 4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.next 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.bdev->lru_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 queue->mqd.obj->tbo.destroy 3687779195912622080,6459761284373078016
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.protection_support 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->cnt.track_failcnt 0-1
PARAM_VALUE 1 queue->mqd.obj->tbo.resource->css->ref.refs.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->backup->f_mapping->host->i_bytes 0-u16max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->caching 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->page_flags 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 queue->mqd.obj->tbo.ttm->restore->alloced_page->page_type 0-4294967295
PARAM_VALUE 1 queue->mqd.obj->tbo.type 0-2
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 2
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->host->i_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2712
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->userq_mgr->adev->mman.bdev.vma_manager->vm_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.rptr 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.wptr 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 queue->vm->root.bo->tbo.base.resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 32
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 752
BUF_SIZE 1 queue->vm 3552
DATA_SOURCE 1 queue $0
FUZZY_MAX 1 queue->xcp_id 0
MEM_ZERO 1 queue->mqd.cpu_ptr
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->doorbell_offset 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.rptr 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.wptr 0-35184372088831[c]
USER_DATA 2 addr 0-u64max
NO_OVERFLOW_SIMPLE 1 queue->mqd.obj->tbo.ttm->dma_ttm.sg->orig_nents
LOCK2 1 queue->vm->root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->seq64.num_sem 1-u32max
PARAM_VALUE 0 adev->userq_funcs 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev s64min-(-4096),4096-s64max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va s64max
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 0-2
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 2 addr 0-9223372036854775806,9223372036854775808-u64max
PARAM_VALUE 3 expected_size 0,4096-u64max
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 760
BUF_SIZE 1 queue->vm 3584
CAPPED_DATA 0 adev->seq64.num_sem 1
DATA_SOURCE 1 queue r _kzalloc_noprof
FUZZY_MAX 1 queue->xcp_id 0
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->queue_type 0-2[u]
USER_DATA 2 addr 0-9223372036854775806,9223372036854775808-u64max[u]
USER_DATA 3 expected_size 0,4096-u64max[u]
LOCK2 fpriv->vm.root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->seq64.num_sem 1-u32max
PARAM_VALUE 0 adev->userq_funcs 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev s64min-(-4096),4096-s64max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va s64max
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 0-2
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 4096
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 760
BUF_SIZE 1 queue->vm 3584
CAPPED_DATA 0 adev->seq64.num_sem 1
DATA_SOURCE 1 queue r _kzalloc_noprof
FUZZY_MAX 1 queue->xcp_id 0
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->queue_type 0-2[u]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 2 addr 0-u64max[u]
LOCK2 fpriv->vm.root.bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_create() -> amdgpu_userq_input_va_validate()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->seq64.num_sem 1-u32max
PARAM_VALUE 0 adev->userq_funcs 4096-ptr_max
PARAM_VALUE 1 queue 4096-ptr_max
PARAM_VALUE 1 queue->doorbell_handle 0
PARAM_VALUE 1 queue->fence_drv 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv->adev s64min-(-4096),4096-s64max
PARAM_VALUE 1 queue->fence_drv->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->fence_drv->va s64max
PARAM_VALUE 1 queue->fence_drv_lock.dep_map->name 0-255
PARAM_VALUE 1 queue->fence_drv_lock.first_waiter 0
PARAM_VALUE 1 queue->fence_drv_lock.magic 4096-ptr_max
PARAM_VALUE 1 queue->fence_drv_lock.osq.tail.counter 0
PARAM_VALUE 1 queue->fence_drv_lock.owner.counter 0
PARAM_VALUE 1 queue->fence_drv_xa.xa_flags 33554436
PARAM_VALUE 1 queue->fence_drv_xa.xa_head 0
PARAM_VALUE 1 queue->priority 0-2
PARAM_VALUE 1 queue->queue_type 0-2
PARAM_VALUE 1 queue->refcount.refcount.refs.counter 1
PARAM_VALUE 1 queue->userq_mgr 4096-ptr_max
PARAM_VALUE 1 queue->userq_mgr->adev 4096-ptr_max
PARAM_VALUE 1 queue->userq_vas.va.queue_rb 0-35184372088831
PARAM_VALUE 1 queue->userq_vas.va.rptr 0-35184372088831
PARAM_VALUE 1 queue->vm 4096-ptr_max
PARAM_VALUE 1 queue->vm->root.bo 4096-ptr_max
PARAM_VALUE 1 queue->vm->va.rb_root.rb_node 1-u64max
PARAM_VALUE 1 queue->xcp_id 0-4294967294
PARAM_VALUE 3 expected_size 4096
BUF_SIZE 1 queue 680
BUF_SIZE 1 queue->userq_mgr 760
BUF_SIZE 1 queue->vm 3584
CAPPED_DATA 0 adev->seq64.num_sem 1
DATA_SOURCE 1 queue r _kzalloc_noprof
FUZZY_MAX 1 queue->xcp_id 0
USER_DATA 1 queue->doorbell_handle 0[u]
USER_DATA 1 queue->priority 1-2[c]
USER_DATA 1 queue->queue_type 0-2[u]
USER_DATA 1 queue->userq_vas.va.queue_rb 0-35184372088831[c]
USER_DATA 1 queue->userq_vas.va.rptr 0-35184372088831[c]
USER_DATA 2 addr 0-u64max[u]
LOCK2 fpriv->vm.root.bo->tbo.base.resv