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_vma.c, line 415
- drivers/gpu/drm/nouveau/nouveau_uvmm.c, line 454
- drivers/gpu/drm/xe/xe_vm.c, line 1364
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vma_new() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm | 4096-ptr_max |
| PARAM_VALUE | 1 | va | 4096-ptr_max |
| PARAM_VALUE | 1 | va->gem.obj | 0,4096-ptr_max |
| NOSPEC | 1 | va->gem.offset | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | va->gem.offset | 0-s32max[c] |
| USER_DATA | 1 | va->va.addr | 0-u64max |
drivers/gpu/drm/nouveau/nouveau_uvmm.c op_unmap_prepare_unwind() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | va | 4096-ptr_max |
| DATA_SOURCE | 1 | va | $0 |
| NOCHECK_CALL | |||
| LOCK2 | &sched->mutex | ||
| LOCK2 | &uvmm->mutex | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| TYPE_LOCK | (struct nouveau_sched)->mutex | ||
| TYPE_LOCK | (struct nouveau_uvmm)->mutex |
drivers/gpu/drm/xe/xe_vm.c xe_vm_insert_vma() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpuvm | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| LOCK2 | &vm->snap_mutex | ||
| TYPE_LOCK | (struct xe_vm)->lock | ||
| TYPE_LOCK | (struct xe_vm)->snap_mutex |
drivers/gpu/drm/drm_gpuvm.c drm_gpuva_map() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | va | 4096-ptr_max |
| DATA_SOURCE | 0 | gpuvm | $0 |
| DATA_SOURCE | 1 | va | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | va->gem.offset | 0-2097151[c] |
| USER_DATA | 1 | va->va.addr | 0-u64max[c] |
| USER_DATA | 1 | va->va.range | 0-u64max |
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex |
drivers/gpu/drm/drm_gpuvm.c drm_gpuva_remap() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | va | 4096-ptr_max |
| BUF_SIZE | 1 | va | 0,120 |
| BUF_SIZE | 1 | va | 0,120 |
| DATA_SOURCE | 1 | va | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &queue->lock |
drivers/gpu/drm/drm_gpuvm.c drm_gpuva_remap() -> drm_gpuva_insert()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | va | 4096-ptr_max |
| BUF_SIZE | 1 | va | 0,120 |
| BUF_SIZE | 1 | va | 0,120 |
| DATA_SOURCE | 1 | va | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &queue->lock |