Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/drm_gpuvm.c
- drivers/gpu/drm/msm/msm_gem_submit.c, line 279
- drivers/gpu/drm/panthor/panthor_mmu.c
- drivers/gpu/drm/xe/xe_vm.c, line 418
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_submit.c submit_lock_objects_vmbind() -> drm_gpuvm_prepare_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | exec | 4096-ptr_max |
| 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_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 4561806713289248768 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 0-3 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| 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_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm->r_obj->_resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | exec | 4096-ptr_max |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 1-2 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.first_lock_dep_map->name | 0-255 |
| PARAM_VALUE | 1 | exec->ticket.first_lock_dep_map.cpu | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| 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_bind_job_prepare_resvs() -> drm_gpuvm_prepare_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 2237035702311317544 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 2 | num_fences | 1 |
| DATA_SOURCE | 1 | exec | $0 |
| USER_DATA | 1 | exec->max_objects | 1-131072[c] |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_prepare_mapped_bos_resvs() -> drm_gpuvm_prepare_vm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 3400833796336033832 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| 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 | 1 | exec->max_objects | 1-131072[c] |
| USER_DATA | 2 | num_fences | 1-s32max[c] |
| NO_OVERFLOW_SIMPLE | 2 | num_fences | |
| LOCK2 | global &drm_unplug_srcu |