Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/msm/adreno/a5xx_gpu.c
- drivers/gpu/drm/msm/adreno/a5xx_power.c, line 365
- drivers/gpu/drm/msm/adreno/a5xx_preempt.c
- drivers/gpu/drm/msm/adreno/a6xx_gpu.c
- drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c, line 136
- drivers/gpu/drm/msm/adreno/a6xx_preempt.c
- drivers/gpu/drm/msm/adreno/adreno_gpu.c, line 651
- drivers/gpu/drm/msm/dsi/dsi_host.c, line 1247
- drivers/gpu/drm/msm/msm_gpu.c, line 979
- drivers/gpu/drm/msm/msm_ringbuffer.c, line 90
Smatch caller information:
drivers/gpu/drm/msm/dsi/dsi_host.c dsi_tx_buf_alloc_6g() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 131072 |
| PARAM_VALUE | 3 | vm | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 6279734231940386816 |
| DATA_SOURCE | 1 | size | $1 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a5xx_power.c a5xx_gpmu_ucode_init() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0,4-4294967292 |
| PARAM_VALUE | 2 | flags | 131074 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| BIT_INFO | 1 | size | 0x0,0xfffffffc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &gpu->lock | ||
| HALF_LOCKED2 | &init_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/msm/adreno/a5xx_preempt.c preempt_init_ring() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 65600 |
| PARAM_VALUE | 2 | flags | 537001984 |
| PARAM_VALUE | 4 | bo | 1291430945016594432 |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 9067058723489370112 |
| PARAM_VALUE | 5 | *iova | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a5xx_preempt.c preempt_init_ring() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | *dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | size | 64 |
| PARAM_VALUE | 2 | flags | 131072 |
| PARAM_VALUE | 3 | vm->r_obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 4 | bo | 5483753490222772224 |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 3683982757931696128 |
| PARAM_VALUE | 5 | *iova | 0 |
| CAPPED_DATA | 3 | vm | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_crashdumper_init() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 1 | size | 1048576 |
| PARAM_VALUE | 2 | flags | 131072 |
| PARAM_VALUE | 4 | bo | 5008441065698369544 |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 5008441065698369552 |
| PARAM_VALUE | 5 | *iova | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpu->lock | ||
| TYPE_LOCK | (struct msm_gpu)->lock |
drivers/gpu/drm/msm/adreno/a5xx_gpu.c a5xx_ucode_load() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | flags | 537001984 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_fw_create_bo() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | flags | 131074 |
| PARAM_VALUE | 4 | bo | 3574723030745686016 |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| DATA_SOURCE | 5 | iova | $2 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/adreno/a6xx_preempt.c a6xx_preempt_init() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 537001986 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a6xx_preempt.c preempt_init_ring() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1572864,2928640,3657728,4292608,4667392,20180992 |
| PARAM_VALUE | 2 | flags | 537001984 |
| PARAM_VALUE | 4 | bo | 6474069533465288704 |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 1031688100902264832 |
| PARAM_VALUE | 5 | *iova | 0 |
| FUZZY_MAX | 1 | size | 4292608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a6xx_preempt.c preempt_init_ring() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->mpol->refcnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | *dev->huge_mnt->mnt_sb->s_fs_info->stat_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | size | 4096 |
| PARAM_VALUE | 2 | flags | 537001986 |
| PARAM_VALUE | 3 | vm->r_obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.ctx | 0 |
| PARAM_VALUE | 4 | bo | 6474069533465288704 |
| PARAM_VALUE | 4 | *bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 1031688100902264832 |
| PARAM_VALUE | 5 | *iova | 1-u64max |
| CAPPED_DATA | 3 | vm | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/msm_gpu.c msm_gpu_init() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1808,2632,2648 |
| PARAM_VALUE | 0 | dev->mode_config.helper_private->atomic_commit_tail | 0,113,4096-ptr_max |
| PARAM_VALUE | 1 | size | 2080,8320 |
| PARAM_VALUE | 2 | flags | 0,131072-s32max |
| PARAM_VALUE | 3 | vm | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->bo_defer.first | 0 |
| PARAM_VALUE | 3 | vm->drm | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->evict.list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->evict.list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->extobj.list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->extobj.list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->flags | 0 |
| PARAM_VALUE | 3 | vm->kernel_alloc_node.flags | 0 |
| PARAM_VALUE | 3 | vm->kernel_alloc_node.gem.obj | 0 |
| PARAM_VALUE | 3 | vm->kernel_alloc_node.gem.offset | 0 |
| PARAM_VALUE | 3 | vm->kernel_alloc_node.vm | 0,4096-ptr_max |
| PARAM_VALUE | 3 | vm->kernel_alloc_node.vm_bo | 0 |
| PARAM_VALUE | 3 | vm->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 3 | vm->mm_start | 16777216 |
| PARAM_VALUE | 3 | vm->name | 1-u64max |
| PARAM_VALUE | 3 | vm->ops | 2988944362306605056 |
| PARAM_VALUE | 3 | vm->r_obj | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->rb.list.next | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->rb.list.prev | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->rb.tree.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 6629724038562320384 |
| BUF_SIZE | 3 | vm | 416 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 2 | flags | 0x20000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c a6xx_crashdumper_init() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 1 | size | 1048576 |
| PARAM_VALUE | 2 | flags | 131072 |
| PARAM_VALUE | 4 | bo | 3004401316849233928 |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 3004401316849233936 |
| PARAM_VALUE | 5 | *iova | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gpu->lock | ||
| TYPE_LOCK | (struct msm_gpu)->lock |
drivers/gpu/drm/msm/msm_ringbuffer.c msm_ringbuffer_new() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | dev->anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | dev->dev_private | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | size | 32768 |
| PARAM_VALUE | 2 | flags | 131074,537001986 |
| PARAM_VALUE | 3 | vm | 4096-ptr_max |
| PARAM_VALUE | 3 | vm->r_obj->resv->fences->max_fences | 0-4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 3 | vm->r_obj->resv->lock.base.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| BUF_SIZE | 3 | vm | 416 |
| CAPPED_DATA | 3 | vm | 1 |
| BIT_INFO | 2 | flags | 0x20002,0x3fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_ucode_load() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 2 | flags | 537001984 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 4 | *bo | 0 |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &init_lock |
drivers/gpu/drm/msm/adreno/a6xx_gpu.c a6xx_ucode_load() -> msm_gem_kernel_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648,2704,2712 |
| PARAM_VALUE | 0 | dev->huge_mnt->mnt_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 1 | size | 8192 |
| PARAM_VALUE | 2 | flags | 537001984 |
| PARAM_VALUE | 4 | bo | 4096-ptr_max |
| PARAM_VALUE | 5 | iova | 4096-ptr_max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &init_lock |