Defined in 1 files as a prototype:

Defined in 1 files as a member:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_ppgtt.c alloc_pd() -> (struct i915_address_space)->alloc_pt_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vm->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->top 2-255
PARAM_VALUE 1 sz 4096
BUF_SIZE 0 vm (-1),1208
BUF_SIZE 0 vm (-1),1208
CAPPED_DATA 0 vm->top 1
DATA_SOURCE 0 vm $0
FUZZY_MAX 0 vm->top 2
CONTAINER 0 -872+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vm->total
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/intel_ppgtt.c alloc_pt() -> (struct i915_address_space)->alloc_pt_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->gt->uncore->rpm->kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vm->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->pd_shift 1-255
PARAM_VALUE 1 sz 4096,65536
BUF_SIZE 0 vm (-1),1208
BUF_SIZE 0 vm (-1),1208
DATA_SOURCE 0 vm $0
DATA_SOURCE 1 sz $1
FUZZY_MAX 1 sz 4096
CONTAINER 0 -872+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 vm->total
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_alloc_top_pd() -> (struct i915_address_space)->alloc_pt_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 vm->alloc_pt_dma 7129965401120251904,7213099128087154688
PARAM_VALUE 0 vm->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 vm->allocate_va_range 447619139538841600
PARAM_VALUE 0 vm->bind_async_flags 2048
PARAM_VALUE 0 vm->bound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->bound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->cleanup 1400639761612652544
PARAM_VALUE 0 vm->clear_range 8624081147799605248
PARAM_VALUE 0 vm->foreach 1203398647122190336
PARAM_VALUE 0 vm->gt 4096-ptr_max
PARAM_VALUE 0 vm->insert_entries 3642524793593610240
PARAM_VALUE 0 vm->insert_page 1453447246128152576,3171055425550987264
PARAM_VALUE 0 vm->lmem_pt_obj_flags 0,32
PARAM_VALUE 0 vm->mm.head_node.color u64max
PARAM_VALUE 0 vm->mm.head_node.hole_size 1
PARAM_VALUE 0 vm->mm.head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.mm 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.start 1-u64max
PARAM_VALUE 0 vm->mm.head_node.subtree_max_hole 1
PARAM_VALUE 0 vm->mm.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->pte_encode 681987950473379840,1739072452464218112
PARAM_VALUE 0 vm->ref.refcount.refs.counter 1
PARAM_VALUE 0 vm->top 2-3
PARAM_VALUE 0 vm->unbound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->vma_ops.bind_vma 3390530168335085568
PARAM_VALUE 0 vm->vma_ops.unbind_vma 708504364704104448
PARAM_VALUE 1 sz 4096
DATA_SOURCE 0 vm $0
CONTAINER 0 -872+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_init_scratch() -> (struct i915_address_space)->alloc_pt_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 vm->alloc_pt_dma 7129965401120251904,7213099128087154688
PARAM_VALUE 0 vm->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 vm->allocate_va_range 447619139538841600
PARAM_VALUE 0 vm->bind_async_flags 2048
PARAM_VALUE 0 vm->bound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->bound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->cleanup 1400639761612652544
PARAM_VALUE 0 vm->clear_range 8624081147799605248
PARAM_VALUE 0 vm->fault_attr.ratelimit_state.lock.dep_map->name 0-255
PARAM_VALUE 0 vm->fault_attr.times.counter (-1)-s32max
PARAM_VALUE 0 vm->foreach 1203398647122190336
PARAM_VALUE 0 vm->fpriv 0,4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vm->gt 4096-ptr_max
PARAM_VALUE 0 vm->i915->runtime_pm.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->iommu->attach_deferred 0-1
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.runtime_status 0,2
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->insert_entries 3642524793593610240
PARAM_VALUE 0 vm->insert_page 1453447246128152576,3171055425550987264
PARAM_VALUE 0 vm->lmem_pt_obj_flags 0,32
PARAM_VALUE 0 vm->mm.head_node.color u64max
PARAM_VALUE 0 vm->mm.head_node.hole_size 1
PARAM_VALUE 0 vm->mm.head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.mm 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.start 1-u64max
PARAM_VALUE 0 vm->mm.head_node.subtree_max_hole 1
PARAM_VALUE 0 vm->mm.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->pte_encode 681987950473379840,1739072452464218112
PARAM_VALUE 0 vm->ref.refcount.refs.counter 1
PARAM_VALUE 0 vm->scratch 4096-ptr_max
PARAM_VALUE 0 vm->scratch_order 0-32
PARAM_VALUE 0 vm->top 2-3
PARAM_VALUE 0 vm->unbound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->vma_ops.bind_vma 3390530168335085568
PARAM_VALUE 0 vm->vma_ops.unbind_vma 708504364704104448
PARAM_VALUE 1 sz 4096
DATA_SOURCE 0 vm $0
CONTAINER 0 -872+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen6_ppgtt.c gen6_ppgtt_init_scratch() -> (struct i915_address_space)->alloc_pt_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->_resv.fences 0
PARAM_VALUE 0 vm->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.ctx 0
PARAM_VALUE 0 vm->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 vm->alloc_pt_dma 7129965401120251904
PARAM_VALUE 0 vm->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 vm->allocate_va_range 1060204823433621504
PARAM_VALUE 0 vm->bind_async_flags 2048
PARAM_VALUE 0 vm->bound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->bound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->cleanup 1375455998721282048
PARAM_VALUE 0 vm->clear_range 8222413027290398720
PARAM_VALUE 0 vm->fault_attr.ratelimit_state.lock.dep_map->name 0-255
PARAM_VALUE 0 vm->fault_attr.times.counter (-1)-s32max
PARAM_VALUE 0 vm->fpriv 0,4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_list.prev->next 4096-ptr_max
PARAM_VALUE 0 vm->fpriv->client->objects_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 vm->gt 4096-ptr_max
PARAM_VALUE 0 vm->i915->runtime_pm.debug.quarantine.prev 4096-ptr_max
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->iommu->attach_deferred 0-1
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.request 0-4
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.runtime_status 0,2
PARAM_VALUE 0 vm->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 vm->insert_entries 6555716374174941184
PARAM_VALUE 0 vm->lmem_pt_obj_flags 0
PARAM_VALUE 0 vm->mm.color_adjust 0
PARAM_VALUE 0 vm->mm.head_node.color u64max
PARAM_VALUE 0 vm->mm.head_node.flags 0
PARAM_VALUE 0 vm->mm.head_node.hole_size 1
PARAM_VALUE 0 vm->mm.head_node.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.mm 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.node_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.__rb_parent_color 1
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_left 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.rb_hole_size.rb_right 4096-ptr_max
PARAM_VALUE 0 vm->mm.head_node.start 1-u64max
PARAM_VALUE 0 vm->mm.head_node.subtree_max_hole 1
PARAM_VALUE 0 vm->mm.hole_stack.next 4096-ptr_max
PARAM_VALUE 0 vm->mm.hole_stack.prev 4096-ptr_max
PARAM_VALUE 0 vm->mm.scan_active 0
PARAM_VALUE 0 vm->ref.refcount.refs.counter 1
PARAM_VALUE 0 vm->scratch 4096-ptr_max
PARAM_VALUE 0 vm->scratch_order 0-32
PARAM_VALUE 0 vm->top 1
PARAM_VALUE 0 vm->unbound_list.next 4096-ptr_max
PARAM_VALUE 0 vm->unbound_list.prev 4096-ptr_max
PARAM_VALUE 0 vm->vma_ops.bind_vma 3390530168335085568
PARAM_VALUE 0 vm->vma_ops.unbind_vma 708504364704104448
PARAM_VALUE 1 sz 4096
BUF_SIZE 0 vm 1208
CONTAINER 0 -872+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/intel_gtt.c setup_scratch_page() -> (struct i915_address_space)->alloc_scratch_dma()

Type Parameter Key Value
PARAM_VALUE 0 vm 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.ww_class 8825623990767841280
PARAM_VALUE 0 vm->alloc_pt_dma 7129965401120251904,7213099128087154688
PARAM_VALUE 0 vm->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 vm->cleanup 1375455998721282048,1400639761612652544,5092676789998268416
PARAM_VALUE 0 vm->clear_range 292778930203975680,1974810262910722048,8222413027290398720,8624081147799605248
PARAM_VALUE 0 vm->gt 4096-ptr_max
PARAM_VALUE 0 vm->insert_entries 1696723765703131136,3642524793593610240,5106864617978617856,5677101890526031872,6555716374174941184,7052524416665051136
PARAM_VALUE 0 vm->resv_ref.refcount.refs.counter s32min-(-1),1-s32max
PARAM_VALUE 0 vm->vma_ops.bind_vma 3390530168335085568,8401415062866325504
PARAM_VALUE 0 vm->vma_ops.unbind_vma 708504364704104448,3800825118900133888
PARAM_VALUE 1 sz 4096,65536
BUF_SIZE 0 vm (-1),1208
BUF_SIZE 0 vm (-1),1208
DATA_SOURCE 0 vm $0
CONTAINER 0 -880+0 $(-1)
BIT_INFO 1 sz 0x0,0x11000
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 vm->total 0[c]