Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/nouveau/dispnv04/crtc.c
- drivers/gpu/drm/nouveau/nouveau_bo.c, line 961
- drivers/gpu/drm/nouveau/nouveau_gem.c, line 602
Smatch caller information:
drivers/gpu/drm/nouveau/dispnv04/crtc.c nv04_crtc_page_flip() -> nouveau_fence_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nvbo->bo.base.resv->lock.base.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | nvbo->bo.base.resv->lock.base.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | nvbo->bo.base.resv->lock.base.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chan->cli->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | exclusive | 0 |
| PARAM_VALUE | 3 | intr | 1 |
| DATA_SOURCE | 0 | nvbo | r nouveau_gem_object |
| NO_OVERFLOW_SIMPLE | 0 | nvbo->bo.ttm->dma_ttm.sg->orig_nents | |
| LOCK2 | &cli->mutex | ||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| LOCK2 | 0 | nvbo->bo.base.resv | |
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |
drivers/gpu/drm/nouveau/dispnv04/crtc.c nv04_page_flip_emit() -> nouveau_fence_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->drm | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->drm->dev->event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chan->cli->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | chan->fence | 4096-ptr_max |
| PARAM_VALUE | 2 | exclusive | 0 |
| PARAM_VALUE | 3 | intr | 0 |
| CAPPED_DATA | 1 | chan | 1 |
| DATA_SOURCE | 0 | nvbo | $1 |
| DATA_SOURCE | 1 | chan | $0 |
| LOCK2 | &cli->mutex | ||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| HALF_LOCKED2 | new_bo->bo.base.resv | ||
| HALF_LOCKED2 | 0 | nvbo->bo.base.resv | |
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |
drivers/gpu/drm/nouveau/nouveau_gem.c validate_list() -> nouveau_fence_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nvbo | 4096-ptr_max |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | nvbo->bo.bdev->pool.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 0 | nvbo->bo.resource | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->killed.counter | 0 |
| PARAM_VALUE | 3 | intr | 1 |
| CAPPED_DATA | 1 | chan | 1 |
| CAPPED_DATA | 1 | chan->chid | 1 |
| DATA_SOURCE | 1 | chan | $0 |
| USER_DATA | 2 | exclusive | 0-1 |
| LOCK2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/nouveau/nouveau_bo.c nouveau_bo_move_m2mf() -> nouveau_fence_sync()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nvbo | 4096-ptr_max |
| PARAM_VALUE | 1 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | chan->cli->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | chan->cli->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | chan->cli->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | exclusive | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cli->mutex | ||
| HALF_LOCKED2 | bo->base.resv | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |