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_ggtt.c ggtt_probe_common() -> setup_scratch_page()

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
PARAM_VALUE 0 vm->alloc_scratch_dma 7129965401120251904
PARAM_VALUE 0 vm->cleanup 5092676789998268416
PARAM_VALUE 0 vm->clear_range 292778930203975680,1974810262910722048
PARAM_VALUE 0 vm->gt 4096-ptr_max
PARAM_VALUE 0 vm->i915 4096-ptr_max
PARAM_VALUE 0 vm->insert_entries 1696723765703131136,5106864617978617856,5677101890526031872,7052524416665051136
PARAM_VALUE 0 vm->insert_page 1391314319074013184,2239979646364549120,3708987038101401600,8898731917766647808
PARAM_VALUE 0 vm->pte_decode 1862038359957028864,2807438763382362112
PARAM_VALUE 0 vm->pte_encode 344082120834441216,3075414212403625984,3379853638905171968,4455407587201318912,5521964077306191872,5784912286005702656,8562647069324820480
PARAM_VALUE 0 vm->read_entry 6204029854689480704,8523128206931886080
PARAM_VALUE 0 vm->resv_ref.refcount.refs.counter 1
PARAM_VALUE 0 vm->scratch_range 292778930203975680,3603279812580814848,7150588416689442816
PARAM_VALUE 0 vm->total 0
PARAM_VALUE 0 vm->vma_ops.bind_vma 8401415062866325504
PARAM_VALUE 0 vm->vma_ops.unbind_vma 3800825118900133888
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 vm->total 0[c]

drivers/gpu/drm/i915/gt/gen8_ppgtt.c gen8_init_scratch() -> setup_scratch_page()

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->resv_ref.refcount.refs.counter s32min-(-1),1-s32max
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
DATA_SOURCE 0 vm $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/gen6_ppgtt.c gen6_ppgtt_init_scratch() -> setup_scratch_page()

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->gt 4096-ptr_max
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->resv_ref.refcount.refs.counter s32min-(-1),1-s32max
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
BUF_SIZE 0 vm 1208
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gvt->lock
HALF_LOCKED2 __flags