Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gt/gen6_ppgtt.c, line 341
- drivers/gpu/drm/i915/gt/intel_migrate.c, line 196
- drivers/gpu/drm/i915/i915_vma.c, line 1471
- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_migrate.c migrate_vm() -> i915_vm_lock_objects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->allocate_va_range | 1-u64max |
| PARAM_VALUE | 0 | vm->foreach | 1-u64max |
| PARAM_VALUE | 1 | ww | 4254656180525498368 |
| PARAM_VALUE | 1 | ww->contended | 0 |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.wounded | 0-1 |
| PARAM_VALUE | 1 | ww->intr | 1 |
| PARAM_VALUE | 1 | ww->obj_list.next | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | __flags | ||
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv |
drivers/gpu/drm/i915/i915_vma.c i915_vma_pin_ww() -> i915_vm_lock_objects()
| 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 | 4096-ptr_max |
| 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 | 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.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | vm | (-1),1208 |
| BUF_SIZE | 0 | vm | (-1),1208 |
| DATA_SOURCE | 1 | ww | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vm->total | |
| NO_OVERFLOW_SIMPLE | 1 | ww->contended->base.size | |
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | bo->base.resv | ||
| HALF_LOCKED2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | rpcs->base.resv | ||
| HALF_LOCKED2 | timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | vma->obj->base.resv |
drivers/gpu/drm/i915/i915_gem_gtt.c igt_ppgtt_alloc() -> i915_vm_lock_objects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->allocate_va_range | 1-u64max |
| PARAM_VALUE | 1 | ww | 2528497828003164160 |
| PARAM_VALUE | 1 | ww->contended | 0 |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.wounded | 0-1 |
| PARAM_VALUE | 1 | ww->intr | 0 |
| PARAM_VALUE | 1 | ww->obj_list.next | 4096-ptr_max |
drivers/gpu/drm/i915/i915_gem_gtt.c lowlevel_hole() -> i915_vm_lock_objects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->allocate_va_range | 1-u64max |
| PARAM_VALUE | 0 | vm->gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | vm->i915->drm.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | vm->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | ww | 4127457951580446720 |
| PARAM_VALUE | 1 | ww->contended | 0 |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ww->ctx.wounded | 0-1 |
| PARAM_VALUE | 1 | ww->intr | 0 |
| PARAM_VALUE | 1 | ww->obj_list.next | 4096-ptr_max |
| DATA_SOURCE | 0 | vm | $0 |
| HALF_LOCKED2 | ppgtt->pd->pt.base->base.resv |
drivers/gpu/drm/i915/gt/gen6_ppgtt.c gen6_ppgtt_pin() -> i915_vm_lock_objects()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | ww | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ww->obj_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ww->obj_list.prev->next->next | 4096-ptr_max |
| DATA_SOURCE | 1 | ww | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | ww->contended->base.size | |
| LOCK2 | ce->ring->vma->obj->base.resv | ||
| LOCK2 | ce->timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | __flags | ||
| HALF_LOCKED2 | ce->state->obj->base.resv | ||
| HALF_LOCKED2 | pkt->bb_vma->obj->base.resv | ||
| HALF_LOCKED2 | pkt->heci_pkt_vma->obj->base.resv | ||
| HALF_LOCKED2 | scratch->obj->base.resv |