Defined in 2 files as a function:
- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c, line 197 (as a function)
- drivers/gpu/drm/msm/msm_gem_submit.c, line 404 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c, line 591
- drivers/gpu/drm/msm/msm_gem_submit.c, line 785
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_submit.c msm_ioctl_gem_submit() -> submit_attach_object_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | submit | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.cb.func | 0 |
| PARAM_VALUE | 0 | submit->base.cb.node.next | 0 |
| PARAM_VALUE | 0 | submit->base.cb.node.prev | 0 |
| PARAM_VALUE | 0 | submit->base.credits | 1 |
| PARAM_VALUE | 0 | submit->base.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | submit->base.dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | submit->base.entity | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.entity->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.entity->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.entity->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->base.entity->rq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.entity->rq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->base.entity->stats | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.entity->stats->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->base.entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.finish_cb.func | 0 |
| PARAM_VALUE | 0 | submit->base.finish_cb.node.next | 0 |
| PARAM_VALUE | 0 | submit->base.finish_cb.node.prev | 0 |
| PARAM_VALUE | 0 | submit->base.karma.counter | 0 |
| PARAM_VALUE | 0 | submit->base.last_dependency | 0 |
| PARAM_VALUE | 0 | submit->base.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.queue_node.next | 0 |
| PARAM_VALUE | 0 | submit->base.s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.error | 0 |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.extern_lock | 1-u64max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.flags | 1,3,5,7 |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.ops | 8417414206815801344 |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.ops->get_driver_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.ops->get_timeline_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 0 | submit->base.s_fence->finished.seqno | 0-u32max |
| PARAM_VALUE | 0 | submit->base.s_fence->sched | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.error | 0 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.extern_lock | 1-u64max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.flags | 1,3,5,7 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.ops | 382445721953370112 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.ops->get_driver_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.ops->get_timeline_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | submit->base.s_fence->scheduled.seqno | 0-u32max |
| PARAM_VALUE | 0 | submit->base.sched | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->base.work.data.counter | 0 |
| PARAM_VALUE | 0 | submit->base.work.entry.next | 0 |
| PARAM_VALUE | 0 | submit->base.work.entry.prev | 0 |
| PARAM_VALUE | 0 | submit->base.work.func | 0 |
| PARAM_VALUE | 0 | submit->bos | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->bos_pinned | 1 |
| PARAM_VALUE | 0 | submit->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->dev->gem_lru_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | submit->dev->unplugged | 0 |
| PARAM_VALUE | 0 | submit->exec.contended | 0 |
| PARAM_VALUE | 0 | submit->exec.contended->resv->lock->base.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | submit->exec.contended->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | submit->exec.contended->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | submit->exec.contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | submit->exec.flags | 1,3 |
| PARAM_VALUE | 0 | submit->exec.ticket.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->exec.ticket.done_acquire | 1 |
| PARAM_VALUE | 0 | submit->exec.ticket.first_lock_dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->exec.ticket.ww_class->acquire_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->exec.ticket.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | submit->exec.ticket.ww_class->mutex_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->fault_dumped | 0 |
| PARAM_VALUE | 0 | submit->fence_id | 0-s32max |
| PARAM_VALUE | 0 | submit->gpu | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->has_exec | 1 |
| PARAM_VALUE | 0 | submit->hw_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->node.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->node.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->nr_bos | 0-s32max |
| PARAM_VALUE | 0 | submit->pid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->queue->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | submit->user_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->vm | 4096-ptr_max |
| BUF_SIZE | 0 | submit | 592-s32max |
| BUF_SIZE | 0 | submit | 592-s32max |
| BUF_SIZE | 0 | submit->vm | (-1),416 |
| CAPPED_DATA | 0 | submit->nr_bos | 1 |
| CAPPED_DATA | 0 | submit->queue->id | 1 |
| CAPPED_DATA | 0 | submit->vm | 1 |
| DATA_SOURCE | 0 | submit | r submit_create |
| FUZZY_MAX | 0 | submit->fence_id | 0 |
| PARAM_COMPARE | 0 | &submit->base.s_fence->finished | == $0->user_fence |
| NOCHECK_CALL | |||
| USER_DATA | 0 | submit->fence_id | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | submit->base.entity->num_sched_list | |
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c etnaviv_ioctl_gem_submit() -> submit_attach_object_fences()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | submit | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->cmdbuf.size | 8,16-131080 |
| PARAM_VALUE | 0 | submit->cmdbuf.suballoc | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->cmdbuf.vaddr | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->ctx->mmu | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->exec_state | 0-2 |
| PARAM_VALUE | 0 | submit->flags | 0-14 |
| PARAM_VALUE | 0 | submit->gpu | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->gpu->sched_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | submit->gpu->user_fences.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->mmu_context | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->nr_bos | 0-s32max |
| PARAM_VALUE | 0 | submit->nr_pmrs | 0-128 |
| PARAM_VALUE | 0 | submit->out_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->pid | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->pmrs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.cb.func | 0 |
| PARAM_VALUE | 0 | submit->sched_job.cb.node.next | 0 |
| PARAM_VALUE | 0 | submit->sched_job.cb.node.prev | 0 |
| PARAM_VALUE | 0 | submit->sched_job.credits | 1 |
| PARAM_VALUE | 0 | submit->sched_job.dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | submit->sched_job.dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | submit->sched_job.entity->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->sched_job.entity->rb_tree_node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | submit->sched_job.entity->rb_tree_node.rb_left | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->entities.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->entities.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->entities.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->rb_tree_root.rb_leftmost | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->rb_tree_root.rb_leftmost->__rb_parent_color | 1-u64max |
| PARAM_VALUE | 0 | submit->sched_job.entity->rq->rb_tree_root.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.entity->stats->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | submit->sched_job.entity->stats->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | submit->sched_job.entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.finish_cb.func | 0 |
| PARAM_VALUE | 0 | submit->sched_job.finish_cb.node.next | 0 |
| PARAM_VALUE | 0 | submit->sched_job.finish_cb.node.prev | 0 |
| PARAM_VALUE | 0 | submit->sched_job.karma.counter | 0 |
| PARAM_VALUE | 0 | submit->sched_job.last_dependency | 0 |
| PARAM_VALUE | 0 | submit->sched_job.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.queue_node.next | 0 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.extern_lock | 1-u64max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.flags | 1,3,5,7 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.ops | 8417414206815801344 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.ops->get_driver_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.ops->get_timeline_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->finished.seqno | 0-u32max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->sched | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.cb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.cb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.extern_lock | 1-u64max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.flags | 1,3,5,7 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.ops | 382445721953370112 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.ops->get_driver_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.ops->get_timeline_name | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | submit->sched_job.s_fence->scheduled.seqno | 0-u32max |
| PARAM_VALUE | 0 | submit->sched_job.sched | 4096-ptr_max |
| PARAM_VALUE | 0 | submit->sched_job.work.data.counter | 0 |
| PARAM_VALUE | 0 | submit->sched_job.work.entry.next | 0 |
| PARAM_VALUE | 0 | submit->sched_job.work.entry.prev | 0 |
| PARAM_VALUE | 0 | submit->sched_job.work.func | 0 |
| BUF_SIZE | 0 | submit | 416-4194720 |
| BUF_SIZE | 0 | submit | 416-4194720 |
| BUF_SIZE | 0 | submit->ctx | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| CAPPED_DATA | 0 | submit->mmu_context | 1 |
| CAPPED_DATA | 0 | submit->nr_bos | 1 |
| CAPPED_DATA | 0 | submit->nr_pmrs | 1 |
| DATA_SOURCE | 0 | submit | r submit_create |
| PARAM_COMPARE | 0 | submit->ctx->mmu | == $0->mmu_context |
| NOSPEC | 0 | submit->nr_pmrs | |
| MEM_ZERO | 0 | &submit->sched_job | |
| NOCHECK_CALL | |||
| USER_DATA | 0 | submit->cmdbuf.size | 8,16-131080[c] |
| USER_DATA | 0 | submit->exec_state | 0[u] |
| USER_DATA | 0 | submit->flags | 0-14[u] |
| USER_DATA | 0 | submit->nr_pmrs | 0-128[c] |
| NO_OVERFLOW_SIMPLE | 0 | submit->nr_pmrs | |
| NO_OVERFLOW_SIMPLE | 0 | submit->sched_job.entity->num_sched_list |