Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/i915/gem/i915_gem_lmem.c, line 107
- drivers/gpu/drm/i915/gt/gen7_renderclear.c, line 451
- drivers/gpu/drm/i915/gt/intel_lrc.c, line 1909
- drivers/gpu/drm/i915/gt/intel_renderstate.c, line 138
- drivers/gpu/drm/i915/gt/intel_ring_submission.c, line 517
- drivers/gpu/drm/i915/i915_perf.c
- drivers/gpu/drm/i915/i915_vma.c
Smatch caller information:
drivers/gpu/drm/i915/i915_vma.c __i915_vma_iounmap() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *obj->mm.tlb | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | &vm->mutex | ||
| HALF_LOCKED2 | &vma->vm->mutex | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/i915_vma.c i915_vma_pin_iomap() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_idx | 0 |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.res | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.rsgt | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| PARAM_VALUE | 0 | *obj->mm.tlb | 0-4294967295 |
| BIT_INFO | 0 | obj->flags | 0x0,0xffffffffffffffbf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &helper->lock | ||
| HALF_LOCKED2 | dpt->obj->base.resv | ||
| HALF_LOCKED2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gt/intel_renderstate.c render_state_setup() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->dma_io_tlb_pools.next->prev | 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->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.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->gvt_info->obj->vgpu->cache_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| 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 | 4077445944358031512 |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| LOCK2 | __flags | ||
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/i915_perf.c alloc_noa_wait() -> __i915_gem_object_release_map()
| 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->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->obj_link.next | 26912046190428312,2009203195910639768,6374668808669626520 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_create_internal |
| NOCHECK_CALL | |||
| LOCK2 | >->perf.lock | ||
| LOCK2 | 0 | obj->base.resv | |
| TYPE_LOCK | (struct i915_perf_gt)->lock |
drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> __i915_gem_object_release_map()
| 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->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->obj_link.next | 26912046190428312,2009203195910639768,6374668808669626520 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_create_shmem |
| NOCHECK_CALL | |||
| LOCK2 | 0 | obj->base.resv | |
| HALF_LOCKED2 | >->perf.lock | ||
| HALF_LOCKED2 | &stream->lock |
drivers/gpu/drm/i915/gem/i915_gem_lmem.c i915_gem_object_create_lmem_from_data() -> __i915_gem_object_release_map()
| 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.import_attach->dmabuf->priv->comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->base.resv->fences->max_fences | 0-4294967295 |
| 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.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| 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->cache_dirty | 0 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.mapping | 0,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->obj_link.next | 8116942592190632088 |
| PARAM_VALUE | 0 | obj->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->write_domain | 0,2-65534 |
| CAPPED_DATA | 0 | obj->base.resv->fences | 1 |
| DATA_SOURCE | 0 | obj | r i915_gem_object_create_lmem |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_lrc.c lrc_init_wa_ctx() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | obj->base.import_attach->dmabuf | 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->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->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.pages | 16,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 | 627658359970336920,5101519123401379992 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | obj->base.resv |
drivers/gpu/drm/i915/gt/intel_ring_submission.c ring_context_init_default_state() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->cache_dirty | 0 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_idx | 0 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.res | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.res->bo | 0 |
| PARAM_VALUE | 0 | obj->mm.res->bus.addr | 0 |
| PARAM_VALUE | 0 | obj->mm.res->bus.is_iomem | 0 |
| PARAM_VALUE | 0 | obj->mm.res->bus.offset | 0 |
| PARAM_VALUE | 0 | obj->mm.rsgt | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| PARAM_VALUE | 0 | obj->write_domain | 0,2-65534 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/gpu/drm/i915/gt/gen7_renderclear.c gen7_setup_clear_gpr_bb() -> __i915_gem_object_release_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->base.dev->dev->iommu->attach_deferred | 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->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.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->cache_dirty | 0 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->gvt_info->obj->vgpu->cache_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.dirty | 1 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_idx | 0 |
| PARAM_VALUE | 0 | obj->mm.get_dma_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.get_page.sg_pos | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.pages | 16,4096-ptr_max |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->mm.region->objects.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->mm.region->region_private->bdev->lru_lock.rlock.dep_map->name | 0-255 |
| 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 | 4970862321632350360 |
| PARAM_VALUE | 0 | obj->read_domains | 1,128 |
| PARAM_VALUE | 0 | obj->ttm.cached_io_rsgt | 1-u64max |
| PARAM_VALUE | 0 | obj->write_domain | 0,2-65534 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | obj->base.size | |
| HALF_LOCKED2 | engine->legacy.ring->vma->obj->base.resv | ||
| HALF_LOCKED2 | timeline->hwsp_ggtt->obj->base.resv | ||
| HALF_LOCKED2 | 0 | obj->base.resv |