Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c, line 181
- drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c
- drivers/gpu/drm/i915/i915_fb_pin.c, line 148
Smatch caller information:
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c i915_gem_dmabuf_attach() -> i915_gem_object_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->base.resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->obj_link.next | 159553267526410392,5253578350464016536,7921385115042738328 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ww | 5253578350464016384 |
| 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 |
| PARAM_VALUE | 1 | ww->obj_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 0 |
| DATA_SOURCE | 0 | obj | r dma_buf_to_obj |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | obj->base.resv | |
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->prime.lock |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_create_migrate() -> i915_gem_object_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_idx | 0 |
| PARAM_VALUE | 0 | obj->mm.mapping | 18379471554275704832-18379471556423188479,18446612682070032384-18446612684217516031 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region_link.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.rsgt | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->obj_link.next | 4909251368295780504,5820987673129783448 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| PARAM_VALUE | 1 | ww | 5820987673129783296 |
| 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 |
| PARAM_VALUE | 1 | ww->obj_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 0-1 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_create_region |
| DATA_SOURCE | 2 | id | $2 |
| HARD_MAX | 2 | id | 1 |
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_object.c lmem_pages_migrate_one() -> i915_gem_object_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.region->type | 1,3 |
| PARAM_VALUE | 0 | obj->obj_link.next | 4909251368295780504,5820987673129783448 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ww | 4909251368295780352 |
| 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->intr | 1 |
| PARAM_VALUE | 1 | ww->obj_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ww->obj_list.prev | 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 |
| PARAM_VALUE | 2 | id | 0 |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| DATA_SOURCE | 0 | obj | $1 |
| DATA_SOURCE | 1 | ww | $0 |
| NO_OVERFLOW_SIMPLE | 1 | ww->contended->base.size | |
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gem/i915_gem_object.c lmem_pages_migrate_one() -> i915_gem_object_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->obj_link.next | 4909251368295780504,5820987673129783448 |
| PARAM_VALUE | 0 | obj->ops->migrate | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ww | 4909251368295780352 |
| 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->intr | 1 |
| PARAM_VALUE | 1 | ww->obj_list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | ww->obj_list.prev | 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 |
| PARAM_VALUE | 2 | id | 1 |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| BUF_SIZE | 0 | obj | (-1)-s32max |
| DATA_SOURCE | 0 | obj | $1 |
| DATA_SOURCE | 1 | ww | $0 |
| NO_OVERFLOW_SIMPLE | 1 | ww->contended->base.size | |
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/i915_fb_pin.c intel_fb_pin_to_ggtt() -> i915_gem_object_migrate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | obj->base.dev->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->base.resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->obj_link.next | 460035036174889112,3890376628320120984 |
| PARAM_VALUE | 1 | ww | 460035036174888960 |
| 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 |
| PARAM_VALUE | 1 | ww->obj_list.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 1 |
| DATA_SOURCE | 0 | obj | r to_intel_bo |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | obj->base.resv | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock |