Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/msm/adreno/a5xx_gpu.c
- drivers/gpu/drm/msm/adreno/a5xx_power.c, line 388
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c, line 1042
- drivers/gpu/drm/msm/adreno/adreno_gpu.c, line 659
- drivers/gpu/drm/msm/dsi/dsi_host.c, line 1315
- drivers/gpu/drm/msm/msm_fbdev.c, line 50
- drivers/gpu/drm/msm/msm_gem.c, line 1395
Smatch caller information:
drivers/gpu/drm/msm/dsi/dsi_host.c dsi_tx_buf_put_6g() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &msm_host->cmd_mutex | ||
| HALF_LOCKED2 | &panel->follower_lock | ||
| TYPE_LOCK | (struct msm_dsi_host)->cmd_mutex |
drivers/gpu/drm/msm/adreno/a5xx_power.c a5xx_gpmu_ucode_init() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 0 | obj->handle_count | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_submit_in_rb() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->resv->lock.ctx | 0 |
| CAPPED_DATA | 0 | obj->resv->fences | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &gpu->lock | ||
| HALF_LOCKED2 | &ring->submit_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct msm_gpu)->lock |
drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_ucode_check_version() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 0 | obj->handle_count | 0 |
| PARAM_VALUE | 0 | obj->lru->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| CAPPED_DATA | 0 | obj->resv->fences | 1 |
| DATA_SOURCE | 0 | obj | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_fw_create_bo() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.base.first_waiter | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.base.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.base.owner.counter | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 0 | obj->gpuva.lock.first_waiter | 0 |
| PARAM_VALUE | 0 | obj->gpuva.lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | obj->gpuva.lock.owner.counter | 0 |
| PARAM_VALUE | 0 | obj->handle_count | 0 |
| PARAM_VALUE | 0 | obj->vma_node.driver_private | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.color | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.flags | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/msm_fbdev.c msm_fbdev_fb_destroy() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | obj | r msm_framebuffer_bo |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global ®istration_lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_ucode_check_version() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->_resv.fences | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->_resv.lock.ww_class | 8825623990767841280 |
| PARAM_VALUE | 0 | obj->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->dev->gem_lru_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | obj->funcs | 5087983624411111424 |
| PARAM_VALUE | 0 | obj->handle_count | 0 |
| PARAM_VALUE | 0 | obj->lru->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv | 4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | obj->resv->lock.base.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.magic | 3736018669 |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj->vma_node.vm_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.hole_size | 0-1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.rb_hole_size.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | obj->vma_node.vm_node.subtree_max_hole | 1 |
| CAPPED_DATA | 0 | obj->resv->fences | 1 |
| DATA_SOURCE | 0 | obj | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/msm_gem.c msm_gem_kernel_put() -> msm_gem_put_vaddr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj | 1-ptr_max |
| DATA_SOURCE | 0 | obj | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &gpu->lock |