Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_gtt.c setup_scratch_page() -> map_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->cleanup 1375455998721282048,1400639761612652544,5092676789998268416
PARAM_VALUE 0 vm->clear_range 292778930203975680,1974810262910722048,8222413027290398720,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->fpriv 0,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.debug.quarantine.prev->next 4096-ptr_max
PARAM_VALUE 0 vm->i915->runtime_pm.debug.quarantine.prev->next->next 4096-ptr_max
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 1696723765703131136,3642524793593610240,5106864617978617856,5677101890526031872,6555716374174941184,7052524416665051136
PARAM_VALUE 0 vm->vma_ops.bind_vma 3390530168335085568,8401415062866325504
PARAM_VALUE 0 vm->vma_ops.unbind_vma 708504364704104448,3800825118900133888
PARAM_VALUE 1 obj 4096-ptr_max
PARAM_VALUE 1 obj->base.resv 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from->fpriv 0,4096-ptr_max
BUF_SIZE 0 vm (-1),1208
BUF_SIZE 0 vm (-1),1208
BUF_SIZE 1 obj->shares_resv_from (-1),1208
DATA_SOURCE 0 vm $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 vm->fault_attr.stacktrace_depth 0-u64max
HOST_DATA 0 vm->total 0[c]
HOST_DATA 1 obj->base.dev->mode_config.connector_ida.xa.xa_flags 67108869
HOST_DATA 1 obj->base.dev->mode_config.max_height 0-u32max
HOST_DATA 1 obj->base.dev->mode_config.max_width 0-u32max
HOST_DATA 1 obj->base.dev->mode_config.object_idr.idr_rt.xa_flags 0,4-u32max
HOST_DATA 1 obj->base.dev->mode_config.tile_idr.idr_rt.xa_flags 67108868
HOST_DATA 1 obj->base.dev->num_crtcs 2[c]
HOST_DATA 1 obj->shares_resv_from->fault_attr.stacktrace_depth 0-u64max
HOST_DATA 1 obj->shares_resv_from->total 0[c]
NO_OVERFLOW_SIMPLE 1 obj->shares_resv_from->total

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_alloc_top_pd() -> map_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->fpriv 0,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.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->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 obj 4096-ptr_max
PARAM_VALUE 1 obj->base.resv 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from 4096-ptr_max
BUF_SIZE 1 obj (-1)-s32max
BUF_SIZE 1 obj (-1)-s32max
DATA_SOURCE 0 vm $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 obj->shares_resv_from->total
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_init_scratch() -> map_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 obj 4096-ptr_max
PARAM_VALUE 1 obj->base.resv 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from->fpriv 0,4096-ptr_max
BUF_SIZE 1 obj (-1)-s32max
BUF_SIZE 1 obj (-1)-s32max
DATA_SOURCE 0 vm $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 obj->shares_resv_from->total
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_preallocate_top_level_pdp() -> map_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.first_waiter 0
PARAM_VALUE 0 vm->_resv.lock.base.magic 4096-ptr_max
PARAM_VALUE 0 vm->_resv.lock.base.owner.counter 0
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,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->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.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.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->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 obj 4096-ptr_max
PARAM_VALUE 1 obj->base.resv 4096-ptr_max
PARAM_VALUE 1 obj->shares_resv_from 4096-ptr_max
BUF_SIZE 0 vm 1208
BUF_SIZE 1 obj->shares_resv_from 1208
CAPPED_DATA 0 vm->top 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 obj->shares_resv_from->total
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen6_ppgtt.c gen6_ppgtt_init_scratch() -> map_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 obj 4096-ptr_max
BUF_SIZE 0 vm 1208
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags