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/amd/amdgpu/amdgpu_vm.c, line 2953
- drivers/gpu/drm/drm_exec.c
- drivers/gpu/drm/msm/msm_gem_vma.c, line 950
- drivers/gpu/drm/tests/drm_exec_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_lock_by_pasid() -> drm_exec_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 6320927371492024320,9176649434306199552 |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->flags | 0,2 |
| PARAM_VALUE | 0 | exec->prelocked | 0,4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| DATA_SOURCE | 0 | exec | $2 |
| HARD_MAX | 0 | exec->flags | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | root->tbo.base.resv |
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vm_close() -> drm_exec_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 3085191768004464640 |
| PARAM_VALUE | 0 | exec->flags | 0 |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| CAPPED_DATA | 1 | obj | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gpuvm->r_obj->resv | ||
| HALF_LOCKED2 | 1 | obj->resv |
drivers/gpu/drm/drm_exec.c drm_exec_prepare_obj() -> drm_exec_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 4096-ptr_max |
| PARAM_VALUE | 0 | exec->contended | 0 |
| PARAM_VALUE | 0 | exec->ticket.ww_class->acquire_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | exec->ticket.ww_class->is_wait_die | 0-s32max |
| PARAM_VALUE | 0 | exec->ticket.ww_class->mutex_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class->is_wait_die | 0-1 |
| PARAM_VALUE | 1 | obj->resv->lock.ww_class->is_wait_die | 0-1 |
| BUF_SIZE | 0 | exec | (-1),192 |
| BUF_SIZE | 0 | exec | (-1),192 |
| BUF_SIZE | 1 | obj | (-1),704 |
| BUF_SIZE | 1 | obj | (-1),704 |
| DATA_SOURCE | 0 | exec | $0 |
| DATA_SOURCE | 1 | obj | $1 |
| NOSPEC | 0 | exec->max_objects | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | exec->max_objects | 1-131072[c] |
| NO_OVERFLOW_SIMPLE | 0 | exec->contended->size | |
| HALF_LOCKED2 | &mem->lock | ||
| HALF_LOCKED2 | &mem->process_info->lock | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &process_info->lock | ||
| HALF_LOCKED2 | &queue->lock | ||
| HALF_LOCKED2 | &rdev->exclusive_lock | ||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | rbo->tbo.base.resv | ||
| HALF_LOCKED2 | 1 | obj->resv |
drivers/gpu/drm/tests/drm_exec_test.c test_duplicates() -> drm_exec_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 1122125038830383104 |
| PARAM_VALUE | 0 | exec->flags | 2 |
| PARAM_VALUE | 1 | obj | 6127625997730029568 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->dev | 0,4096-u64max |
| PARAM_VALUE | 1 | obj->dma_buf | 0 |
| PARAM_VALUE | 1 | obj->filp | 0 |
| PARAM_VALUE | 1 | obj->funcs | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru | 0 |
| PARAM_VALUE | 1 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->name | 0 |
| PARAM_VALUE | 1 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->size | 4096 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gobj.resv |
drivers/gpu/drm/tests/drm_exec_test.c test_lock_unlock() -> drm_exec_unlock_obj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | exec | 6542856621587628032 |
| PARAM_VALUE | 0 | exec->flags | 1 |
| PARAM_VALUE | 1 | obj | 8886550356395069440 |
| PARAM_VALUE | 1 | obj->_resv.lock.base.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 1 | obj->dev | 0,4096-u64max |
| PARAM_VALUE | 1 | obj->dma_buf | 0 |
| PARAM_VALUE | 1 | obj->filp | 0 |
| PARAM_VALUE | 1 | obj->funcs | 0 |
| PARAM_VALUE | 1 | obj->gpuva.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru | 0 |
| PARAM_VALUE | 1 | obj->lru_node.next | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->lru_node.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->name | 0 |
| PARAM_VALUE | 1 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 1 | obj->size | 4096 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 1 | obj->vma_node.vm_lock.owner_cpu | u32max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | gobj.resv |