Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/msm/msm_gem_submit.c submit_lock_objects_vmbind() -> drm_gpuvm_prepare_objects()

Type Parameter Key Value
PARAM_VALUE 0 gpuvm 4096-ptr_max
PARAM_VALUE 0 gpuvm->r_obj->_resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 gpuvm->r_obj->resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec 4096-ptr_max
PARAM_VALUE 1 exec->contended 0
PARAM_VALUE 1 exec->contended->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 1 exec->contended->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec->contended->resv->lock.ctx 0
PARAM_VALUE 1 exec->ticket.contending_lock 0,4096-ptr_max
PARAM_VALUE 1 exec->ticket.deadlock_inject_countdown 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.deadlock_inject_interval 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.wounded 0-1
PARAM_VALUE 2 num_fences 1
BUF_SIZE 1 exec 192
LOCK2 &queue->lock
TYPE_LOCK (struct msm_gpu_submitqueue)->lock

drivers/gpu/drm/xe/xe_vm.c xe_preempt_work_begin() -> drm_gpuvm_prepare_objects()

Type Parameter Key Value
PARAM_VALUE 0 gpuvm 4096-ptr_max
PARAM_VALUE 1 exec 4561806713289248768
PARAM_VALUE 1 exec->contended 0,4096-ptr_max
PARAM_VALUE 1 exec->contended->resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 exec->contended->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 1 exec->contended->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec->contended->resv->lock.ctx 0
PARAM_VALUE 1 exec->flags 0-3
PARAM_VALUE 1 exec->ticket.contending_lock 0,4096-ptr_max
PARAM_VALUE 1 exec->ticket.deadlock_inject_countdown 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.deadlock_inject_interval 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.wounded 0-1
PARAM_VALUE 2 num_fences 0
DATA_SOURCE 1 exec $0
LOCK2 &vm->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xe_vm)->lock

drivers/gpu/drm/drm_gpuvm.c drm_gpuvm_exec_lock() -> drm_gpuvm_prepare_objects()

Type Parameter Key Value
PARAM_VALUE 0 gpuvm 4096-ptr_max
PARAM_VALUE 0 gpuvm->r_obj->_resv.lock.ww_class->is_wait_die 0-1
PARAM_VALUE 0 gpuvm->r_obj->resv->fences->max_fences 0-4294967295
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 gpuvm->r_obj->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec 4096-ptr_max
PARAM_VALUE 1 exec->contended 0
PARAM_VALUE 1 exec->contended->resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 exec->contended->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 1 exec->contended->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec->contended->resv->lock.ctx 0
PARAM_VALUE 1 exec->flags 1-2
PARAM_VALUE 1 exec->ticket.contending_lock 0,4096-ptr_max
PARAM_VALUE 1 exec->ticket.deadlock_inject_countdown 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.deadlock_inject_interval 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.dep_map->name 0-255
PARAM_VALUE 1 exec->ticket.first_lock_dep_map->name 0-255
PARAM_VALUE 1 exec->ticket.wounded 0-1
PARAM_VALUE 1 exec->ticket.ww_class->acquire_name 0,4096-ptr_max
PARAM_VALUE 1 exec->ticket.ww_class->is_wait_die 0-s32max
PARAM_VALUE 1 exec->ticket.ww_class->mutex_name 0,4096-ptr_max
PARAM_VALUE 2 num_fences 0-1
BUF_SIZE 1 exec 192
HALF_LOCKED2 &ctx->val->lock
HALF_LOCKED2 &sched->mutex
HALF_LOCKED2 &uvmm->mutex
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_prepare_mapped_bos_resvs() -> drm_gpuvm_prepare_objects()

Type Parameter Key Value
PARAM_VALUE 1 exec 3400833796336033832
PARAM_VALUE 1 exec->contended 0,4096-ptr_max
PARAM_VALUE 1 exec->contended->resv->lock->base.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 1 exec->contended->resv->lock.base.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 exec->contended->resv->lock.base.first_waiter->task->blocked_on 0
PARAM_VALUE 1 exec->contended->resv->lock.base.osq.tail.counter 0-s32max
PARAM_VALUE 1 exec->contended->resv->lock.ctx 0
PARAM_VALUE 1 exec->flags 3
PARAM_VALUE 1 exec->ticket.contending_lock 0,4096-ptr_max
PARAM_VALUE 1 exec->ticket.deadlock_inject_countdown 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.deadlock_inject_interval 0-3758096380,u32max
PARAM_VALUE 1 exec->ticket.wounded 0-1
PARAM_VALUE 2 num_fences 1-u32max
CAPPED_DATA 2 num_fences 1
DATA_SOURCE 1 exec $0
DATA_SOURCE 2 num_fences $2
NOSPEC 2 num_fences
NOSPEC 2 num_fences
USER_DATA 2 num_fences 1-s32max[c]
NO_OVERFLOW_SIMPLE 2 num_fences
LOCK2 global &drm_unplug_srcu